summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-06-19 12:12:23 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-06-19 12:12:23 +0200
commit1eb52e99b1bb20616d91142e71f6e535bb8eb13f (patch)
tree6b5d1250b41bdc9f8b6832c9285659ee5a5def6f
parentdd4ce342c22290311c62f91981e0bb74984e52ea (diff)
treat for tinderbox with obsolete gcc and -Werror *sigh*
-rw-r--r--sw/qa/extras/ooxmltok/ooxmltok.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/ooxmltok/ooxmltok.cxx b/sw/qa/extras/ooxmltok/ooxmltok.cxx
index 2282b47aed6d..792b1dbd6668 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 );
}