diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/dlged/dlgedobj.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx index 29aabd49a6d2..8d2b42010fdd 100644 --- a/basctl/source/dlged/dlgedobj.cxx +++ b/basctl/source/dlged/dlgedobj.cxx @@ -236,11 +236,9 @@ bool DlgEdObj::TransformControlToSdrCoordinates( DBG_ASSERT( xPSetForm.is(), "DlgEdObj::TransformControlToSdrCoordinates: no form property set!" ); if ( !xPSetForm.is() ) return false; - sal_Int32 nFormX = 0, nFormY = 0, nFormWidth, nFormHeight; + sal_Int32 nFormX = 0, nFormY = 0; xPSetForm->getPropertyValue( DLGED_PROP_POSITIONX ) >>= nFormX; xPSetForm->getPropertyValue( DLGED_PROP_POSITIONY ) >>= nFormY; - xPSetForm->getPropertyValue( DLGED_PROP_WIDTH ) >>= nFormWidth; - xPSetForm->getPropertyValue( DLGED_PROP_HEIGHT ) >>= nFormHeight; Size aFormPos( nFormX, nFormY ); // convert logic units to pixel |