diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-03-14 20:43:13 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-03-16 15:17:59 +0100 |
commit | bc2740dd91cef7b91eb140fefd38bd05d0dede15 (patch) | |
tree | dbd31f58b3001da1e57fc6d1ebe2914b8317d2cf /sw/source/core/unocore/unodraw.cxx | |
parent | 883cb9eadc48bbe6b7028226fa193c47f0346fca (diff) |
unocore: dont use 'shortcut' that is longer than the original
Change-Id: I0bc66003528b6603ce46325176973d72dcbac2ac
Diffstat (limited to 'sw/source/core/unocore/unodraw.cxx')
-rw-r--r-- | sw/source/core/unocore/unodraw.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index cc83db110ed4..375e8c6eee1c 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -283,7 +283,7 @@ uno::Reference< uno::XInterface > SwFmDrawPage::GetInterface( SdrObject* pObj if( pObj ) { SwFrmFmt* pFmt = ::FindFrmFmt( pObj ); - SwXShape* pxShape = SwIterator<SwXShape,SwFmt>::FirstElement( *pFmt ); + SwXShape* pxShape = SwIterator<SwXShape,SwFmt>( *pFmt ).First(); if(pxShape) { xShape = *(cppu::OWeakObject*)pxShape; |