[Libreoffice-commits] .: cui/source

Cédric Bosdonnat cbosdo at kemper.freedesktop.org
Wed Jun 1 06:21:33 PDT 2011


 cui/source/options/optsave.cxx |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

New commits:
commit 5abaa2f7390a542b9478cb5ad5b0d0a3b1a22c56
Author: Jean-Baptiste Faure <jbf.faure at orange.fr>
Date:   Wed Jun 1 13:14:49 2011 +0200

    fix for bug fdo 36519
    
    Use human readable format name instead of internal filter names in Load/save options UI

diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx
index c0719b4..c0dd83a 100644
--- a/cui/source/options/optsave.cxx
+++ b/cui/source/options/optsave.cxx
@@ -558,20 +558,13 @@ IMPL_LINK( SfxSaveTabPage, AutoClickHdl_Impl, CheckBox *, pBox )
 OUString lcl_ExtracUIName(const Sequence<PropertyValue> rProperties)
 {
     OUString sRet;
-    sal_Int32 nFlags;
     const PropertyValue* pProperties = rProperties.getConstArray();
     for(int nProp = 0; nProp < rProperties.getLength(); nProp++)
     {
         if(!pProperties[nProp].Name.compareToAscii("UIName"))
         {
             pProperties[nProp].Value >>= sRet;
-        }
-        else if(!pProperties[nProp].Name.compareToAscii("Flags"))
-        {
-            if ( pProperties[nProp].Value >>= nFlags )
-            {
-                nFlags &= 0x100;
-            }
+            break;
         }
         else if(!pProperties[nProp].Name.compareToAscii("Name"))
         {


More information about the Libreoffice-commits mailing list