diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-08 10:07:46 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-08 10:56:40 +0200 |
commit | dd7d97589bcbed22cf2dd12b574fc28baedf24af (patch) | |
tree | d6a08b002ecc3eed07ed37201c4c067f8ca23e7f /sc | |
parent | 1cb13d87b5d887718f6d81a842444b7251dc64cf (diff) |
sc tiled rendering: no need to show this dialog
And it just causes problems during unit testing.
Change-Id: Ie8524b726ae2709bab707df9b2984f07357e3059
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/viewfun2.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index 3bd854324124..dc0ef0930f06 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -85,6 +85,7 @@ #include <columnspanset.hxx> #include <rowheightcontext.hxx> #include <LibreOfficeKit/LibreOfficeKitEnums.h> +#include <comphelper/lok.hxx> #include <vector> #include <memory> @@ -1736,7 +1737,7 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem, if (nCommand == SvxSearchCmd::FIND_ALL || nCommand == SvxSearchCmd::REPLACE_ALL) { SfxViewFrame* pViewFrm = SfxViewFrame::Current(); - if (pViewFrm) + if (pViewFrm && !comphelper::LibreOfficeKit::isActive()) { pViewFrm->ShowChildWindow(sc::SearchResultsDlgWrapper::GetChildWindowId()); SfxChildWindow* pWnd = pViewFrm->GetChildWindow(sc::SearchResultsDlgWrapper::GetChildWindowId()); |