[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - cui/source
Andras Timar (via logerrit)
logerrit at kemper.freedesktop.org
Fri Apr 5 06:31:34 UTC 2019
cui/source/options/optfltr.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 8ebab95924434376e18cb6bb88e443b3454795ec
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:31:06 2019 +0200
respect read-only config item: CreateMSOLockFiles
Change-Id: I6b264a2f2e2995e880169f6224c60f023584469d
Reviewed-on: https://gerrit.libreoffice.org/70277
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
diff --git a/cui/source/options/optfltr.cxx b/cui/source/options/optfltr.cxx
index 9c3c15d71e93..cdebf8d3afd2 100644
--- a/cui/source/options/optfltr.cxx
+++ b/cui/source/options/optfltr.cxx
@@ -20,6 +20,7 @@
#include <o3tl/make_unique.hxx>
#include <unotools/moduleoptions.hxx>
#include <unotools/fltrcfg.hxx>
+#include <officecfg/Office/Common.hxx>
#include "optfltr.hxx"
#include <helpids.h>
#include <strings.hrc>
@@ -330,6 +331,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, sal_IntPtr _nType )
More information about the Libreoffice-commits
mailing list