diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-25 21:59:48 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-25 21:59:48 -0200 |
commit | 3dbb89e5a39e7811d2fc0c1fbad012c3d565396b (patch) | |
tree | c30b07e879ad20c5bded2291296f9633c273ab5e /xmloff/source/style/FillStyleContext.cxx | |
parent | 4228c5542b57b43064bbefb3cc79c4eb51e059d6 (diff) |
Fix for fdo43460 Part XLVIII getLength() to isEmpty()
Part XLVIII
Modules
xmloff (part 2)
Diffstat (limited to 'xmloff/source/style/FillStyleContext.cxx')
-rw-r--r-- | xmloff/source/style/FillStyleContext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/FillStyleContext.cxx b/xmloff/source/style/FillStyleContext.cxx index 9f1947ac992a..03f54e5328c3 100644 --- a/xmloff/source/style/FillStyleContext.cxx +++ b/xmloff/source/style/FillStyleContext.cxx @@ -164,7 +164,7 @@ SvXMLImportContext* XMLBitmapStyleContext::CreateChildContext( sal_uInt16 nPrefi { OUString sURL; maAny >>= sURL; - if( !sURL.getLength() && !mxBase64Stream.is() ) + if( sURL.isEmpty() && !mxBase64Stream.is() ) { mxBase64Stream = GetImport().GetStreamForGraphicObjectURLFromBase64(); if( mxBase64Stream.is() ) @@ -186,7 +186,7 @@ void XMLBitmapStyleContext::EndElement() OUString sURL; maAny >>= sURL; - if( !sURL.getLength() && mxBase64Stream.is() ) + if( sURL.isEmpty() && mxBase64Stream.is() ) { sURL = GetImport().ResolveGraphicObjectURLFromBase64( mxBase64Stream ); mxBase64Stream = 0; |