[PATCH] fix bug #60700 - de-crutify ODF files

Alex Ivan (via Code Review) gerrit at gerrit.libreoffice.org
Mon Apr 15 08:57:42 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3401

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/01/3401/1

fix bug #60700 - de-crutify ODF files

Initialization of storage elements in Configuration folder is now
done in read-only mode. Modification does not affect these folders
in case of actual storage within them.
Only tested for example posted on bugzilla page.

Change-Id: Ib2b4ae1f4cab35f2c9cd1fc7081302e1231da7a4
---
M framework/source/uiconfiguration/uiconfigurationmanager.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/framework/source/uiconfiguration/uiconfigurationmanager.cxx b/framework/source/uiconfiguration/uiconfigurationmanager.cxx
index a2469e0..4366b31 100644
--- a/framework/source/uiconfiguration/uiconfigurationmanager.cxx
+++ b/framework/source/uiconfiguration/uiconfigurationmanager.cxx
@@ -540,7 +540,7 @@
     // Initialize the top-level structures with the storage data
     if ( m_xDocConfigStorage.is() )
     {
-        long nModes = m_bReadOnly ? ElementModes::READ : ElementModes::READWRITE;
+        long nModes = ElementModes::READ;
 
         // Try to access our module sub folder
         for ( sal_Int16 i = 1; i < ::com::sun::star::ui::UIElementType::COUNT;

-- 
To view, visit https://gerrit.libreoffice.org/3401
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib2b4ae1f4cab35f2c9cd1fc7081302e1231da7a4
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Alex Ivan <alexnivan at yahoo.com>



More information about the LibreOffice mailing list