summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoshap4.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-14 12:10:39 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-14 12:11:48 -0200
commitdc04d67e94d9302278fc049d6617b62fe461ac66 (patch)
tree3dc4e0e5ee4406483cc1bc8c7bb690a1b2c6efe9 /svx/source/unodraw/unoshap4.cxx
parentc447d9ba8c7d40670c59a9ec9d45f32a36c1efcd (diff)
Fix for fdo43460 Part XXXVIII getLength() to isEmpty()
Part XXXVIII Modules svx
Diffstat (limited to 'svx/source/unodraw/unoshap4.cxx')
-rw-r--r--svx/source/unodraw/unoshap4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index ad517c25a17e..ea2d969961c3 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -422,7 +422,7 @@ bool SvxOle2Shape::getPropertyValueImpl( const ::rtl::OUString& rName, const Sfx
if( pOle )
{
aPersistName = pOle->GetPersistName();
- if( aPersistName.getLength() )
+ if( !aPersistName.isEmpty() )
{
::comphelper::IEmbeddedHelper *pPersist = mpObj->GetModel()->GetPersist();
if( (NULL == pPersist) || !pPersist->getEmbeddedObjectContainer().HasEmbeddedObject( pOle->GetPersistName() ) )
@@ -612,7 +612,7 @@ const SvGlobalName SvxOle2Shape::GetClassName_Impl(rtl::OUString& rHexCLSID)
}
}
- if (!rHexCLSID.getLength())
+ if (rHexCLSID.isEmpty())
{
uno::Reference < embed::XEmbeddedObject > xObj( pOle2Obj->GetObjRef() );
if ( xObj.is() )