summaryrefslogtreecommitdiff
path: root/forms/source/richtext/richtextvclcontrol.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 15:28:35 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 15:28:35 +0000
commit9d8980ed3c3abe23f6f9fc57fe46e174e7afcfb0 (patch)
tree4c344ab247d8b0c67780bb468371e207291e764f /forms/source/richtext/richtextvclcontrol.cxx
parent549d709431071974119fe639262284afda9dd33c (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
Diffstat (limited to 'forms/source/richtext/richtextvclcontrol.cxx')
-rw-r--r--forms/source/richtext/richtextvclcontrol.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/forms/source/richtext/richtextvclcontrol.cxx b/forms/source/richtext/richtextvclcontrol.cxx
index 66b3cfd14..367954510 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;
}