diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-01-31 16:03:46 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-01-31 21:38:58 -0500 |
commit | c5bb73cae7c172ad0f02f8c67dd57b53337f1d78 (patch) | |
tree | 67e2cfeb43b6c1803b766039fe49dfb1f438c07c /sd | |
parent | 90413af046d22d1ea7376da4856846744049d613 (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.cxx | 4 |
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() ) ) |