diff options
Diffstat (limited to 'sw/source/ui/utlui/unotools.cxx')
-rw-r--r-- | sw/source/ui/utlui/unotools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/utlui/unotools.cxx b/sw/source/ui/utlui/unotools.cxx index d9089f7008da..98eb46ecc3a8 100644 --- a/sw/source/ui/utlui/unotools.cxx +++ b/sw/source/ui/utlui/unotools.cxx @@ -280,7 +280,7 @@ IMPL_LINK( SwOneExampleFrame, TimeoutHdl, Timer*, pTimer ) uno::Reference< container::XNameContainer > xPFamily; if( 0 == (EX_SHOW_DEFAULT_PAGE == nStyleFlags) - && (aPFamily >>= xPFamily) && sPageStyle.getLength() ) + && (aPFamily >>= xPFamily) && !sPageStyle.isEmpty() ) { uno::Any aPStyle = xPFamily->getByName( sPageStyle ); uno::Reference< style::XStyle > xPStyle; |