[Libreoffice-commits] .: 2 commits - shell/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Nov 5 08:26:27 PDT 2010


 shell/source/backends/gconfbe/gconfaccess.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fa42616b7c5e03ff9967afd826a2da5e95e855c9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Nov 5 15:25:06 2010 +0000

    rhbz#649824# this key name is wrong

diff --git a/shell/source/backends/gconfbe/gconfaccess.cxx b/shell/source/backends/gconfbe/gconfaccess.cxx
index 95d2472..ff906fe 100644
--- a/shell/source/backends/gconfbe/gconfaccess.cxx
+++ b/shell/source/backends/gconfbe/gconfaccess.cxx
@@ -765,7 +765,7 @@ ConfigurationValue const ConfigurationValues[] =
     {
         SETTING_REMOVE_PERSONAL_INFO,
         "/apps/openoffice/lockdown/remove_personal_info_on_save",
-        "Scripting/RemovePersonalInfoOnSaving",
+        "RemovePersonalInfoOnSaving",
         sal_False,
         SETTINGS_LAST
     },
commit 8b7db3f150605d5894c5fc21dc7d8d221f48109d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Nov 5 15:19:36 2010 +0000

    fix possible uninitialized value

diff --git a/shell/source/backends/gconfbe/gconfaccess.cxx b/shell/source/backends/gconfbe/gconfaccess.cxx
index 506c5c2..95d2472 100644
--- a/shell/source/backends/gconfbe/gconfaccess.cxx
+++ b/shell/source/backends/gconfbe/gconfaccess.cxx
@@ -322,7 +322,7 @@ uno::Any translateToOOo( const ConfigurationValue aValue, GConfValue *aGconfValu
         case SETTING_FONT_ANTI_ALIASING_MIN_PIXEL:
         case SETTING_SYMBOL_SET:
         {
-            sal_Int32 nShortValue;
+            sal_Int32 nShortValue(0);
             uno::Any aOriginalValue = makeAnyOfGconfValue( aGconfValue );
             aOriginalValue >>= nShortValue;
             return uno::makeAny( (sal_Int16) nShortValue );


More information about the Libreoffice-commits mailing list