diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-09 11:57:52 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-10 23:08:01 -0200 |
commit | f19d269ab4286b2e2e9f579bc4705daf4f6756ab (patch) | |
tree | 72a42c0a91e1f78b2ae3240c975b00b4dddc8035 /sdext/source/pdfimport/tree/style.cxx | |
parent | Fix for fdo43460 Part XXXI getLength() to isEmpty() (diff) | |
download | core-f19d269ab4286b2e2e9f579bc4705daf4f6756ab.tar.gz core-f19d269ab4286b2e2e9f579bc4705daf4f6756ab.zip |
Fix for fdo43460 Part XXXII getLength() to isEmpty()
Part XXXII
Modules
sdext
Diffstat (limited to 'sdext/source/pdfimport/tree/style.cxx')
-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 3fd8175a82c1..d917f91031ac 100644 --- a/sdext/source/pdfimport/tree/style.cxx +++ b/sdext/source/pdfimport/tree/style.cxx @@ -208,7 +208,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.getLength() ) + if( !rStyle.Contents.isEmpty() ) rContext.rEmitter.write( rStyle.Contents ); if( rStyle.ContainedElement ) rStyle.ContainedElement->visitedBy( rContainedElemVisitor, |