diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-09-01 16:29:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-09-02 10:58:04 +0200 |
commit | b24eceb5178fda17fcc4b20c5286e8d27c5ae474 (patch) | |
tree | 56ececc3fcb3c1373c54da3959c3188db19944dd /sd/source | |
parent | 5226e3889155ea22465d488174a6f8720085628a (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 'sd/source')
-rw-r--r-- | sd/source/ui/inc/ViewShellBase.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/view/ViewShellBase.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/inc/ViewShellBase.hxx b/sd/source/ui/inc/ViewShellBase.hxx index d7f37ba974df..eab26ec8a1ba 100644 --- a/sd/source/ui/inc/ViewShellBase.hxx +++ b/sd/source/ui/inc/ViewShellBase.hxx @@ -108,7 +108,7 @@ public: void GetState (SfxItemSet& rSet); /* override these from SfxViewShell */ - virtual OUString GetSelectionText(bool = false) override; + virtual OUString GetSelectionText(bool = false, bool bOnlyASample = false) override; virtual bool HasSelection(bool = true ) const override; SvBorder GetBorder (bool bOuterResize); diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx index b4f581dda9ac..7eea42b1aefd 100644 --- a/sd/source/ui/view/ViewShellBase.cxx +++ b/sd/source/ui/view/ViewShellBase.cxx @@ -441,7 +441,7 @@ void ViewShellBase::InitializeFramework() { } -OUString ViewShellBase::GetSelectionText(bool bCompleteWords) +OUString ViewShellBase::GetSelectionText(bool bCompleteWords, bool /*bOnlyASample*/) { std::shared_ptr<ViewShell> const pMainShell(GetMainViewShell()); DrawViewShell *const pDrawViewShell( |