Kaydet (Commit) 1eb52e99 authored tarafından Luboš Luňák's avatar Luboš Luňák

treat for tinderbox with obsolete gcc and -Werror *sigh*

üst dd4ce342
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment