diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 14:52:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 14:52:38 +0000 |
commit | cccae0af1a065c127f36e8341060e293acf0887f (patch) | |
tree | 10c252b1b4ab2cb2df998bd796cc3089cd12d503 /sdext | |
parent | Remove "using namespace ::rtl" (diff) | |
download | core-cccae0af1a065c127f36e8341060e293acf0887f.tar.gz core-cccae0af1a065c127f36e8341060e293acf0887f.zip |
avoid implicit cast
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/tree/style.cxx | 2 |
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, |