[Libreoffice-commits] .: sdext/source
Caolán McNamara
caolan at kemper.freedesktop.org
Tue Mar 1 12:39:58 PST 2011
sdext/source/pdfimport/tree/style.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f8f0b8c6cd042cabf9440487b82557147052cf40
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Mar 1 14:52:38 2011 +0000
avoid implicit cast
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,
More information about the Libreoffice-commits
mailing list