summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-09-01 16:29:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-09-02 10:58:04 +0200
commitb24eceb5178fda17fcc4b20c5286e8d27c5ae474 (patch)
tree56ececc3fcb3c1373c54da3959c3188db19944dd /sfx2
parent5226e3889155ea22465d488174a6f8720085628a (diff)
tdf#150712 limit the dialog to only a sample of the data
instead of the entire area, which makes the dialog pretty much instantaneous Change-Id: Icb08a09733ee872b67d5be00cb083139f05fba7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139214 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/viewsh.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index 4dfe4596b3ce..2e53fa583828 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -1190,7 +1190,7 @@ SdrView* SfxViewShell::GetDrawView() const
OUString SfxViewShell::GetSelectionText
(
- bool /*bCompleteWords*/ /* FALSE (default)
+ bool /*bCompleteWords*/, /* FALSE (default)
Only the actual selected text is returned.
TRUE
@@ -1199,6 +1199,7 @@ OUString SfxViewShell::GetSelectionText
these are used: white spaces and punctuation
".,;" and single and double quotes.
*/
+ bool /*bOnlyASample*/ /* used by some dialogs to avoid constructing monster strings e.g. in calc */
)
/* [Description]