[Libreoffice-commits] .: binfilter/bf_sw

Caolán McNamara caolan at kemper.freedesktop.org
Mon May 23 07:53:34 PDT 2011


 binfilter/bf_sw/source/ui/config/sw_usrpref.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 987174e9fd9f905611af1f698414c3c4d0e4cd11
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon May 23 15:53:29 2011 +0100

    WaE: more warnings are errors on older compilers

diff --git a/binfilter/bf_sw/source/ui/config/sw_usrpref.cxx b/binfilter/bf_sw/source/ui/config/sw_usrpref.cxx
index fea231d..df71706 100644
--- a/binfilter/bf_sw/source/ui/config/sw_usrpref.cxx
+++ b/binfilter/bf_sw/source/ui/config/sw_usrpref.cxx
@@ -488,7 +488,9 @@ using ::rtl::OUString;
 /*?*/ 				switch(nProp)
 /*?*/ 				{
 /*?*/ 					case  0:
-/*?*/ 						sal_Int32 nSet; pValues[nProp] >>= nSet; rParent.SetRetoucheColor(nSet);
+/*?*/ 						sal_Int32 nSet(0);
+/*?*/ 						pValues[nProp] >>= nSet;
+/*?*/ 						rParent.SetRetoucheColor(nSet);
 /*?*/ 					break;// "Color",
 /*?*/ 				}
 /*N*/ 			}


More information about the Libreoffice-commits mailing list