[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - sw/source

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Thu Jul 20 11:34:19 UTC 2017


 sw/source/uibase/utlui/unotools.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 14f9bb560cc1ebf588683bcf2297ab44cb8993eb
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date:   Tue Jul 18 16:09:05 2017 +0200

    tdf#109188 Always load documents read-only in SwOneExampleFrame
    
    Should be no problem since 38a3743e0c5d52f9386f74097fd512d3133fbbe3
    
    Change-Id: I0ce47bc2bdaa900559a16baf25305066977caa6d
    Reviewed-on: https://gerrit.libreoffice.org/40140
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Reviewed-on: https://gerrit.libreoffice.org/40213

diff --git a/sw/source/uibase/utlui/unotools.cxx b/sw/source/uibase/utlui/unotools.cxx
index 636039a3c0c2..429a8033298d 100644
--- a/sw/source/uibase/utlui/unotools.cxx
+++ b/sw/source/uibase/utlui/unotools.cxx
@@ -143,7 +143,7 @@ void SwOneExampleFrame::CreateControl()
         pValues[1].Name = "Referer";
         pValues[1].Value <<= OUString("private:user");
         pValues[2].Name = "ReadOnly";
-        pValues[2].Value <<= (sTempURL != cFactory);
+        pValues[2].Value <<= (true);
         uno::Any aArgs(aSeq);
 
         xPrSet->setPropertyValue( "LoaderArguments", aArgs );


More information about the Libreoffice-commits mailing list