[Libreoffice-commits] core.git: svx/source
David Tardon
dtardon at redhat.com
Mon Jul 15 03:25:42 PDT 2013
svx/source/unodraw/unoshape.cxx | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
New commits:
commit d3d95afe5856ef06659d61c3572c7682e5a03766
Author: David Tardon <dtardon at redhat.com>
Date: Mon Jul 15 12:23:40 2013 +0200
fdo#57631 fix collection of property states
Change-Id: I607518da26c9430916d922b8e36143cc6dd76f25
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 4c1628b..68267c7 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -3030,16 +3030,8 @@ uno::Sequence< beans::PropertyState > SAL_CALL SvxShape::getPropertyStates( cons
uno::Sequence< beans::PropertyState > aRet( nCount );
beans::PropertyState* pState = aRet.getArray();
- if( mpImpl->mpMaster )
- {
- for( sal_Int32 nIdx = 0; nIdx < nCount; nIdx++ )
- pState[nIdx] = mpImpl->mpMaster->getPropertyState( pNames[nIdx] );
- }
- else
- {
- for( sal_Int32 nIdx = 0; nIdx < nCount; nIdx++ )
- pState[nIdx] = _getPropertyState( pNames[nIdx] );
- }
+ for( sal_Int32 nIdx = 0; nIdx < nCount; nIdx++ )
+ pState[nIdx] = getPropertyState( pNames[nIdx] );
return aRet;
}
More information about the Libreoffice-commits
mailing list