sw/qa/extras/ooxmltok/ooxmltok.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1eb52e99b1bb20616d91142e71f6e535bb8eb13f Author: LuboÅ¡ LuÅák <l.lu...@suse.cz> Date: Tue Jun 19 12:12:23 2012 +0200 treat for tinderbox with obsolete gcc and -Werror *sigh* diff --git a/sw/qa/extras/ooxmltok/ooxmltok.cxx b/sw/qa/extras/ooxmltok/ooxmltok.cxx index 2282b47..792b1db 100644 --- a/sw/qa/extras/ooxmltok/ooxmltok.cxx +++ b/sw/qa/extras/ooxmltok/ooxmltok.cxx @@ -522,7 +522,7 @@ xray ThisComponent.StyleFamilies.PageStyles.Default.Width uno::Reference<uno::XInterface> defaultStyle; pageStyles->getByName("Default") >>= defaultStyle; uno::Reference<beans::XPropertySet> styleProperties( defaultStyle, uno::UNO_QUERY ); - sal_Int32 width; + sal_Int32 width = 0; styleProperties->getPropertyValue( "Width" ) >>= width; CPPUNIT_ASSERT( pos.X > width / 2 ); }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits