[Libreoffice-commits] core.git: cui/source
Andras Timar (via logerrit)
logerrit at kemper.freedesktop.org
Fri Apr 5 06:28:59 UTC 2019
cui/source/options/optfltr.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 56971d434bf2242e436f6d671221fa80d1d2895a
Author: Andras Timar <andras.timar at collabora.com>
AuthorDate: Thu Apr 4 21:59:06 2019 +0200
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Fri Apr 5 08:28:34 2019 +0200
respect read-only config item: CreateMSOLockFiles
Change-Id: I6b264a2f2e2995e880169f6224c60f023584469d
Reviewed-on: https://gerrit.libreoffice.org/70270
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar at collabora.com>
diff --git a/cui/source/options/optfltr.cxx b/cui/source/options/optfltr.cxx
index f29c14c78837..b97adf52cbbe 100644
--- a/cui/source/options/optfltr.cxx
+++ b/cui/source/options/optfltr.cxx
@@ -19,6 +19,7 @@
#include <unotools/moduleoptions.hxx>
#include <unotools/fltrcfg.hxx>
+#include <officecfg/Office/Common.hxx>
#include "optfltr.hxx"
#include <strings.hrc>
#include <dialmgr.hxx>
@@ -328,6 +329,7 @@ void OfaMSFilterTabPage2::Reset( const SfxItemSet* )
aMSOLockFileCB->Check(rOpt.IsMSOLockFileCreationIsEnabled());
aMSOLockFileCB->SaveValue();
+ aMSOLockFileCB->Enable(!officecfg::Office::Common::Filter::Microsoft::Import::CreateMSOLockFiles::isReadOnly());
}
void OfaMSFilterTabPage2::InsertEntry( const OUString& _rTxt, MSFltrPg2_CheckBoxEntries _nType )
More information about the Libreoffice-commits
mailing list