cui/source/options/optfltr.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 8ebab95924434376e18cb6bb88e443b3454795ec
Author:     Andras Timar <[email protected]>
AuthorDate: Thu Apr 4 21:59:06 2019 +0200
Commit:     Andras Timar <[email protected]>
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 <[email protected]>
    Tested-by: Andras Timar <[email protected]>

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 )
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to