summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-01 14:52:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-01 14:52:38 +0000
commitcccae0af1a065c127f36e8341060e293acf0887f (patch)
tree10c252b1b4ab2cb2df998bd796cc3089cd12d503 /sdext
parent490d076d1650cb8db6677b7a60ea02ffb332c117 (diff)
avoid implicit cast
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/tree/style.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/tree/style.cxx b/sdext/source/pdfimport/tree/style.cxx
index 6fc191c72ab8..c4068def4307 100644
--- a/sdext/source/pdfimport/tree/style.cxx
+++ b/sdext/source/pdfimport/tree/style.cxx
@@ -210,7 +210,7 @@ void StyleContainer::impl_emitStyle( sal_Int32 nStyleId,
for( unsigned int n = 0; n < rStyle.SubStyles.size(); ++n )
impl_emitStyle( rStyle.SubStyles[n], rContext, rContainedElemVisitor );
- if( rStyle.Contents )
+ if( rStyle.Contents.getLength() )
rContext.rEmitter.write( rStyle.Contents );
if( rStyle.ContainedElement )
rStyle.ContainedElement->visitedBy( rContainedElemVisitor,