summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-01-31 16:03:46 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-01-31 21:38:58 -0500
commitc5bb73cae7c172ad0f02f8c67dd57b53337f1d78 (patch)
tree67e2cfeb43b6c1803b766039fe49dfb1f438c07c /sd
parent90413af046d22d1ea7376da4856846744049d613 (diff)
Get the whole thing to build after the method sig change in SdrObject.
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/drawdoc2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx
index 35fe4e9154b3..59a73d023db6 100644
--- a/sd/source/core/drawdoc2.cxx
+++ b/sd/source/core/drawdoc2.cxx
@@ -111,7 +111,7 @@ SdrObject* SdDrawDocument::GetObj(const String& rObjName) const
{
pObj = aIter.Next();
- if( ( rObjName == pObj->GetName() ) ||
+ if( ( pObj->GetName().equals(rObjName) ) ||
( SdrInventor == pObj->GetObjInventor() &&
OBJ_OLE2 == pObj->GetObjIdentifier() &&
rObjName == static_cast< SdrOle2Obj* >( pObj )->GetPersistName() ) )
@@ -138,7 +138,7 @@ SdrObject* SdDrawDocument::GetObj(const String& rObjName) const
{
pObj = aIter.Next();
- if( ( rObjName == pObj->GetName() ) ||
+ if( ( pObj->GetName().equals(rObjName) ) ||
( SdrInventor == pObj->GetObjInventor() &&
OBJ_OLE2 == pObj->GetObjIdentifier() &&
rObjName == static_cast< SdrOle2Obj* >( pObj )->GetPersistName() ) )