summaryrefslogtreecommitdiff
path: root/svx/source/dialog/paragrph.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-02-09 06:18:51 +0000
committerOliver Specht <os@openoffice.org>2001-02-09 06:18:51 +0000
commit285a848de3e2910994136de84fb9642b8d48d993 (patch)
treeb6a05b189845dae0d809ba43be182f7763eb538c /svx/source/dialog/paragrph.cxx
parentd29fec819db2d4056ed9cb591c5f6ff33226c129 (diff)
TabPage size changed
Diffstat (limited to 'svx/source/dialog/paragrph.cxx')
-rw-r--r--svx/source/dialog/paragrph.cxx17
1 files changed, 2 insertions, 15 deletions
diff --git a/svx/source/dialog/paragrph.cxx b/svx/source/dialog/paragrph.cxx
index 8e63cd9dd591..0bfa99d796d9 100644
--- a/svx/source/dialog/paragrph.cxx
+++ b/svx/source/dialog/paragrph.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: paragrph.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: os $ $Date: 2001-01-17 16:13:25 $
+ * last change: $Author: os $ $Date: 2001-02-09 07:18:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -973,19 +973,6 @@ void SvxStdParagraphTabPage::EnableRegisterMode()
{
aRegisterCB.Show();
aRegisterGB.Show();
- Size aExWinSz = aExampleWin.GetOutputSizePixel();
- Size aExFrmSz = aExampleFrm.GetOutputSizePixel();
- Size aRegSz = aRegisterGB.GetOutputSizePixel();
- long nWinDiff = aExFrmSz.Height() - aExWinSz.Height();
- long nYOffset = aExampleFrm.GetPosPixel().Y();
-
- aExFrmSz.Height() = aDistFrm.GetPosPixel().Y() + aDistFrm.GetSizePixel().Height() - nYOffset;
- aExWinSz.Height() = aExFrmSz.Height() - nWinDiff;
-
- aExampleWin.SetOutputSizePixel(aExWinSz);
- aExampleFrm.SetOutputSizePixel(aExFrmSz);
- aExampleWin.OutputSizeChanged();
-
}
/*-----------------16.01.97 19.54-------------------