summaryrefslogtreecommitdiff
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
commitf8f0b8c6cd042cabf9440487b82557147052cf40 (patch)
tree964e8b5bd9abd853edf7f90a7bbb5ecc189e3a92
parent976bcec5839bf78268cfc335007529be441ff739 (diff)
avoid implicit cast
-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 7ec096b..f6c294b 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,