Kaydet (Commit) b0275d35 authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS tl21 (1.26.282); FILE MERGED

2006/06/12 14:30:59 tl 1.26.282.1: #i66167# font size problem when pasting (importing rtf) from sw to sd fixed
üst 8482074d
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: rtfitem.cxx,v $ * $RCSfile: rtfitem.cxx,v $
* *
* $Revision: 1.27 $ * $Revision: 1.28 $
* *
* last change: $Author: hr $ $Date: 2006-06-19 16:49:21 $ * last change: $Author: obo $ $Date: 2006-07-14 08:44:41 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -779,8 +779,12 @@ SET_FONTALIGNMENT: ...@@ -779,8 +779,12 @@ SET_FONTALIGNMENT:
nTokenValue = 240; nTokenValue = 240;
else else
nTokenValue *= 10; nTokenValue *= 10;
if( IsCalcValue() ) // #i66167#
CalcValue(); // for the SwRTFParser 'IsCalcValue' will be false and for the EditRTFParser
// the converiosn takes now place in EditRTFParser since for other reasons
// the wrong MapUnit might still be use there
// if( IsCalcValue() )
// CalcValue();
SvxFontHeightItem aTmpItem( SvxFontHeightItem aTmpItem(
(const USHORT)nTokenValue, 100, (const USHORT)nTokenValue, 100,
SID_ATTR_CHAR_FONTHEIGHT ); SID_ATTR_CHAR_FONTHEIGHT );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment