[Libreoffice-commits] .: sfx2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jan 14 05:12:24 PST 2013


 sfx2/source/doc/objstor.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3495f4817b80c3fc9846ed2bddfc492d39f01679
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jan 14 14:11:53 2013 +0100

    Work around "may be used uninitialized" warnings
    
    Change-Id: Ib31ebaf6a6117689737705921a7af558257e8cd1

diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index d646e5f..059bf5b 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -2873,8 +2873,8 @@ sal_uInt16 SfxObjectShell::GetHiddenInformationState( sal_uInt16 nStates )
 sal_Int16 SfxObjectShell::QueryHiddenInformation( HiddenWarningFact eFact, Window* pParent )
 {
     sal_Int16 nRet = RET_YES;
-    sal_uInt16 nResId = 0;
-    SvtSecurityOptions::EOption eOption;
+    sal_uInt16 nResId = sal_uInt16();
+    SvtSecurityOptions::EOption eOption = SvtSecurityOptions::EOption();
 
     switch ( eFact )
     {


More information about the Libreoffice-commits mailing list