summaryrefslogtreecommitdiff
path: root/filter/source/msfilter/msdffimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/msfilter/msdffimp.cxx')
-rw-r--r--filter/source/msfilter/msdffimp.cxx13
1 files changed, 4 insertions, 9 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index aadcd588eb1b..790feaa96be0 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -452,7 +452,6 @@ void SvxMSDffManager::SolveSolver( const SvxMSDffSolverContainer& rSolver )
}
if ( pO )
{
- Any aAny;
SdrGluePoint aGluePoint;
Reference< XShape > aXShape( pO->getUnoShape(), UNO_QUERY );
Reference< XShape > aXConnector( pPtr->pCObj->getUnoShape(), UNO_QUERY );
@@ -749,20 +748,16 @@ void SvxMSDffManager::SolveSolver( const SvxMSDffSolverContainer& rSolver )
if ( nN )
{
OUString aPropName( "EndShape" );
- aAny <<= aXShape;
- SetPropValue( aAny, xPropSet, aPropName, true );
+ SetPropValue( Any(aXShape), xPropSet, aPropName, true );
aPropName = "EndGluePointIndex";
- aAny <<= nId;
- SetPropValue( aAny, xPropSet, aPropName, true );
+ SetPropValue( Any(nId), xPropSet, aPropName, true );
}
else
{
OUString aPropName( "StartShape" );
- aAny <<= aXShape;
- SetPropValue( aAny, xPropSet, aPropName, true );
+ SetPropValue( Any(aXShape), xPropSet, aPropName, true );
aPropName = "StartGluePointIndex";
- aAny <<= nId;
- SetPropValue( aAny, xPropSet, aPropName, true );
+ SetPropValue( Any(nId), xPropSet, aPropName, true );
}
// Not sure what this is good for, repaint or broadcast of object change.