diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-31 16:44:12 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-31 19:58:51 -0200 |
commit | 0a112c96fd8077a027dac88510915eb93903748b (patch) | |
tree | 190da82a604c8414687be76ac397ab2de43e84aa /vcl/source/gdi/impgraph.cxx | |
parent | 4d83e7010870fb8d74b19c28f1c4cd3fa616f514 (diff) |
Fix for fdo43460 Part LVII getLength() to isEmpty()
Part LVII
Modules
vcl (part 1)
Diffstat (limited to 'vcl/source/gdi/impgraph.cxx')
-rw-r--r-- | vcl/source/gdi/impgraph.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx index 38261b9b095e..6776037e292e 100644 --- a/vcl/source/gdi/impgraph.cxx +++ b/vcl/source/gdi/impgraph.cxx @@ -1043,7 +1043,7 @@ sal_Bool ImpGraphic::ImplReadEmbedded( SvStream& rIStm, sal_Bool bSwap ) ::utl::TempFile aTempFile; const INetURLObject aTmpURL( aTempFile.GetURL() ); - if( aTmpURL.GetMainURL( INetURLObject::NO_DECODE ).getLength() ) + if( !aTmpURL.GetMainURL( INetURLObject::NO_DECODE ).isEmpty() ) { SvStream* pOStm = NULL; try @@ -1257,7 +1257,7 @@ sal_Bool ImpGraphic::ImplSwapOut() ::utl::TempFile aTempFile; const INetURLObject aTmpURL( aTempFile.GetURL() ); - if( aTmpURL.GetMainURL( INetURLObject::NO_DECODE ).getLength() ) + if( !aTmpURL.GetMainURL( INetURLObject::NO_DECODE ).isEmpty() ) { SvStream* pOStm = NULL; try |