diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-05-10 15:28:35 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-05-10 15:28:35 +0000 |
commit | 38ef51dd0aff4a3c8954a7f84a948cbce0c7c811 (patch) | |
tree | 4dd76edc56d17ca55891ccf889bdc979db1d46a4 | |
parent | c56b25252b92fb4d8c1832a27a8672b6610b26aa (diff) |
INTEGRATION: CWS pchfix04 (1.8.22); FILE MERGED
2007/02/05 08:44:07 os 1.8.22.1: #i73604# usage of ITEMID_* removed
-rw-r--r-- | forms/source/richtext/richtextvclcontrol.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/forms/source/richtext/richtextvclcontrol.cxx b/forms/source/richtext/richtextvclcontrol.cxx index 66b3cfd1484d..367954510ae9 100644 --- a/forms/source/richtext/richtextvclcontrol.cxx +++ b/forms/source/richtext/richtextvclcontrol.cxx @@ -4,9 +4,9 @@ * * $RCSfile: richtextvclcontrol.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: obo $ $Date: 2006-10-12 11:14:51 $ + * last change: $Author: kz $ $Date: 2007-05-10 16:28:35 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -84,11 +84,9 @@ #include <svx/eeitem.hxx> #endif -#define ITEMID_FONT EE_CHAR_FONTINFO #ifndef _SVX_FONTITEM_HXX #include <svx/fontitem.hxx> #endif -#define ITEMID_FONTHEIGHT EE_CHAR_FONTHEIGHT #ifndef _SVX_FHGTITEM_HXX #include <svx/fhgtitem.hxx> #endif @@ -242,7 +240,7 @@ namespace frm //-------------------------------------------------------------------- SfxPoolItem* RichTextControl::convertFontHeight( sal_uInt32 _nUnoFontHeight ) { - SvxFontHeightItem* pItem = new SvxFontHeightItem( _nUnoFontHeight ); + SvxFontHeightItem* pItem = new SvxFontHeightItem( _nUnoFontHeight, 100, EE_CHAR_FONTHEIGHT ); pItem->SetProp( 100, SFX_MAPUNIT_POINT ); return pItem; } |