diff options
author | Oliver Specht <os@openoffice.org> | 2001-06-26 08:15:27 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2001-06-26 08:15:27 +0000 |
commit | d4c855afae0969faf2e41ac96800eff08257ed21 (patch) | |
tree | ef99955e43713907408f7a7d31c69ca7b1d786ea /svx/source/dialog/chardlg.cxx | |
parent | 2a7b57a5a759725db5c3f8aeb4bbee9b77d6b7ed (diff) |
#985# Character escapement: keep proportional height value also if escapement is zero
Diffstat (limited to 'svx/source/dialog/chardlg.cxx')
-rw-r--r-- | svx/source/dialog/chardlg.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/svx/source/dialog/chardlg.cxx b/svx/source/dialog/chardlg.cxx index 2505784daae4..582b3bee5075 100644 --- a/svx/source/dialog/chardlg.cxx +++ b/svx/source/dialog/chardlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: chardlg.cxx,v $ * - * $Revision: 1.49 $ + * $Revision: 1.50 $ * - * last change: $Author: tl $ $Date: 2001-06-21 09:54:57 $ + * last change: $Author: os $ $Date: 2001-06-26 09:15:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2614,7 +2614,6 @@ void SvxCharPositionPage::Reset( const SfxItemSet& rSet ) m_aHighLowEdit.Disable(); } m_aHighLowEdit.SetValue( m_aHighLowEdit.Normalize( nFac * nEsc ) ); - m_aFontSizeEdit.SetValue( m_aFontSizeEdit.Normalize( nEscProp ) ); } else { @@ -2622,6 +2621,8 @@ void SvxCharPositionPage::Reset( const SfxItemSet& rSet ) m_aHighLowRB.Check( TRUE ); PositionHdl_Impl( NULL ); } + //the height has to be set after the handler is called to keep the value also if the escapement is zero + m_aFontSizeEdit.SetValue( m_aFontSizeEdit.Normalize( nEscProp ) ); } else { |