summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 13:46:42 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 13:46:42 +0000
commit957d349c47d2543c561c6b8b1895ac8c6c9100ba (patch)
treeab2b09ed45ad471ddc15ae9aaa780a8f7d1e27f6 /svx/source
parentad94ca6a0a26fa34548f5730dbd22edc64df72eb (diff)
INTEGRATION: CWS pchfix04 (1.56.74); FILE MERGED
2007/02/05 12:13:59 os 1.56.74.1: #i73604# usage of ITEMID_* removed
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/editeng/svxacorr.cxx15
1 files changed, 5 insertions, 10 deletions
diff --git a/svx/source/editeng/svxacorr.cxx b/svx/source/editeng/svxacorr.cxx
index 861c48365381..d1cb60a56c4b 100644
--- a/svx/source/editeng/svxacorr.cxx
+++ b/svx/source/editeng/svxacorr.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: svxacorr.cxx,v $
*
- * $Revision: 1.56 $
+ * $Revision: 1.57 $
*
- * last change: $Author: ihi $ $Date: 2006-12-19 18:03:23 $
+ * last change: $Author: kz $ $Date: 2007-05-10 14:46:42 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -36,11 +36,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_svx.hxx"
-#define ITEMID_UNDERLINE 0
-#define ITEMID_WEIGHT 0
-#define ITEMID_ESCAPEMENT 0
-#define ITEMID_CHARSETCOLOR 0
-#define ITEMID_COLOR 0
#ifndef _COM_SUN_STAR_IO_XSTREAM_HPP_
#include <com/sun/star/io/XStream.hpp>
@@ -643,7 +638,7 @@ BOOL SvxAutoCorrect::FnChgOrdinalNumber(
if( bChg ) // dann setze mal das Escapement Attribut
{
SvxEscapementItem aSvxEscapementItem( DFLT_ESC_AUTO_SUPER,
- DFLT_ESC_PROP );
+ DFLT_ESC_PROP, SID_ATTR_CHAR_ESCAPEMENT );
rDoc.SetAttr( nEndPos - 2, nEndPos,
SID_ATTR_CHAR_ESCAPEMENT,
aSvxEscapementItem);
@@ -820,14 +815,14 @@ BOOL SvxAutoCorrect::FnChgWeightUnderl( SvxAutoCorrDoc& rDoc, const String& rTxt
// das gefunde und am Ende stehende Zeichen loeschen
if( '*' == cInsChar ) // Fett
{
- SvxWeightItem aSvxWeightItem( WEIGHT_BOLD );
+ SvxWeightItem aSvxWeightItem( WEIGHT_BOLD, SID_ATTR_CHAR_WEIGHT );
rDoc.SetAttr( nFndPos + 1, nEndPos,
SID_ATTR_CHAR_WEIGHT,
aSvxWeightItem);
}
else // unterstrichen
{
- SvxUnderlineItem aSvxUnderlineItem( UNDERLINE_SINGLE );
+ SvxUnderlineItem aSvxUnderlineItem( UNDERLINE_SINGLE, SID_ATTR_CHAR_UNDERLINE );
rDoc.SetAttr( nFndPos + 1, nEndPos,
SID_ATTR_CHAR_UNDERLINE,
aSvxUnderlineItem);