summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authormerttumer <mert.tumer@collabora.com>2021-04-26 08:12:11 +0300
committerMert Tumer <mert.tumer@collabora.com>2021-05-31 05:51:51 +0200
commit20c48df295e0108d907b503a5adf3c24d4242a24 (patch)
tree209c58f75f23ec6e2aba7e6138742d52d157eeeb /sfx2
parent4cb1998f2a0715aa512dbc7c7902cad16bb4fe16 (diff)
lok: Interaction handler for FilterOptions
This will enable Text Import Dialog to be executed before the document is loaded Change-Id: I263e69f0739f4971f4c4eec032ebf22ffbdeebb7 Signed-off-by: merttumer <mert.tumer@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114638 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116304
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objstor.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 29ca6d9a0fed..fd85ce09aabb 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -853,7 +853,8 @@ ErrCode SfxObjectShell::HandleFilter( SfxMedium* pMedium, SfxObjectShell const *
SfxItemSet* pSet = pMedium->GetItemSet();
const SfxStringItem* pOptions = SfxItemSet::GetItem<SfxStringItem>(pSet, SID_FILE_FILTEROPTIONS, false);
const SfxUnoAnyItem* pData = SfxItemSet::GetItem<SfxUnoAnyItem>(pSet, SID_FILTER_DATA, false);
- if ( !pData && !pOptions )
+ const bool bTiledRendering = comphelper::LibreOfficeKit::isActive();
+ if ( !pData && (bTiledRendering || !pOptions) )
{
css::uno::Reference< XMultiServiceFactory > xServiceManager = ::comphelper::getProcessServiceFactory();
css::uno::Reference< XNameAccess > xFilterCFG;