diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-10-08 14:26:21 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-10-08 14:26:21 +0200 |
commit | 6e2f5bce80ff9008a8fcda7ad434033d46da17a3 (patch) | |
tree | 12314a7bbc0b8393fb7ff77aa589aa82e9d75fc2 /svx/source/xoutdev/xattr.cxx | |
parent | 677b93b3993e9a14416275e8bd2a64b12ad91c55 (diff) |
wrap GraphicObject in a rtl::Referencefeature/go2
Change-Id: I07842c2920202f39cae054cba866f0d02d767e61
Diffstat (limited to 'svx/source/xoutdev/xattr.cxx')
-rw-r--r-- | svx/source/xoutdev/xattr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx index e3b50dd6ccf4..6851418953a2 100644 --- a/svx/source/xoutdev/xattr.cxx +++ b/svx/source/xoutdev/xattr.cxx @@ -242,8 +242,8 @@ String NameOrIndex::CheckNamedItem( const NameOrIndex* pCheckItem, const sal_uIn { case XATTR_FILLBITMAP: { - const GraphicObject& rGraphicObjectA(((XFillBitmapItem*)pCheckItem)->GetGraphicObject()); - const GraphicObject& rGraphicObjectB(((XBitmapEntry*)pEntry)->GetGraphicObject()); + const rtl::Reference<GraphicObject> rGraphicObjectA = ((XFillBitmapItem*)pCheckItem)->GetGraphicObject(); + const rtl::Reference<GraphicObject> rGraphicObjectB = ((XBitmapEntry*)pEntry)->GetGraphicObject(); bFound = (rGraphicObjectA == rGraphicObjectB); break; |