summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-04-28 08:20:09 +0200
committerDavid Tardon <dtardon@redhat.com>2011-04-28 08:20:09 +0200
commit42832c6da00419f200f8c6cb65e399df8e68afbe (patch)
tree59dbe60f0f891b7dc53d99bf623580b14620fc59 /svx
parent48da9c8021d06e456509bca6d3e272d87365cad4 (diff)
microoptimize this
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unodraw/unoshape.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index bb4565d57250..4e1933181c3b 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -3084,13 +3084,12 @@ uno::Sequence< beans::PropertyState > SAL_CALL SvxShape::getPropertyStates( cons
if( mpImpl->mpMaster )
{
for( sal_Int32 nIdx = 0; nIdx < nCount; nIdx++ )
- pState[nIdx] = getPropertyState( pNames[nIdx] );
-
+ pState[nIdx] = mpImpl->mpMaster->getPropertyState( pNames[nIdx] );
}
else
{
for( sal_Int32 nIdx = 0; nIdx < nCount; nIdx++ )
- pState[nIdx] = getPropertyState( pNames[nIdx] );
+ pState[nIdx] = getPropertyState_( pNames[nIdx] );
}
return aRet;