summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/unomodel.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-08 09:52:25 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-10 23:08:01 -0200
commitdb08c1ac5ed566fbec4d2ce8345ed483fa8bf9ab (patch)
treebc321e6f2f15c95b3bba78f1e2f8514f0eeb894a /sd/source/ui/unoidl/unomodel.cxx
parent5e7d38fe5b8115fe4860fe3e8a77d298cf67391b (diff)
Fix for fdo43460 Part XXXI getLength() to isEmpty()
Part XXXI Modules sd
Diffstat (limited to 'sd/source/ui/unoidl/unomodel.cxx')
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 16ab6f2f8796..a061d4fd20eb 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -1645,7 +1645,7 @@ void ImplPDFExportShapeInteraction( uno::Reference< drawing::XShape > xShape, Sd
{
rtl::OUString aBookmark;
xShapePropSet->getPropertyValue( sBookmark ) >>= aBookmark;
- if( aBookmark.getLength() )
+ if( !aBookmark.isEmpty() )
{
switch( eCa )
{
@@ -2337,7 +2337,7 @@ uno::Any SAL_CALL SdDrawPagesAccess::getByName( const OUString& aName ) throw(co
if( NULL == mpModel )
throw lang::DisposedException();
- if( aName.getLength() != 0 )
+ if( !aName.isEmpty() )
{
const sal_uInt16 nCount = mpModel->mpDoc->GetSdPageCount( PK_STANDARD );
sal_uInt16 nPage;