summaryrefslogtreecommitdiff
path: root/svx/source/dialog/grfpage.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-02-09 06:29:15 +0000
committerOliver Specht <os@openoffice.org>2001-02-09 06:29:15 +0000
commit298bb9defc578ce4b327984ea927c44589baaf57 (patch)
tree84a86327cfb5ef7f4971932e6a4d3e474afe4c57 /svx/source/dialog/grfpage.cxx
parent91b7c594099b5be7add12fb025463e3d9792e980 (diff)
TabPage size changed
Diffstat (limited to 'svx/source/dialog/grfpage.cxx')
-rw-r--r--svx/source/dialog/grfpage.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/svx/source/dialog/grfpage.cxx b/svx/source/dialog/grfpage.cxx
index d91662ca46..5166ab1865 100644
--- a/svx/source/dialog/grfpage.cxx
+++ b/svx/source/dialog/grfpage.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: grfpage.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: pb $ $Date: 2000-10-23 09:31:05 $
+ * last change: $Author: os $ $Date: 2001-02-09 07:27:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -779,12 +779,6 @@ void SvxGrfCropPage::GraphicHasChanged( BOOL bFound )
aFld.SetValue( aFld.Normalize( aOrigSize.Height() ), eUnit );
sTemp += UniString::CreateFromAscii(" x ");
sTemp += aFld.GetText();
- long nXSize = aOrigSizeFT.GetTextWidth( sTemp );
- long nXPos = aOrigSizePB.GetPosPixel().X() + aOrigSizePB.GetSizePixel().Width()/2;
- nXPos -= (nXSize/2);
- Point aTxtPos(aOrigSizeFT.GetPosPixel());
- aTxtPos.X() = nXPos;
- aOrigSizeFT.SetPosPixel(aTxtPos);
aOrigSizeFT.SetText(sTemp);
}
aLeftFT .Enable(bFound);