summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells/drwtxtex.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-09-16 06:54:11 +0000
committerOliver Specht <os@openoffice.org>2002-09-16 06:54:11 +0000
commitd694e1c510ff8ed5c44db27b43d996a2d45b193f (patch)
tree8e04974334e8fb018ac4871dba4a45df73ccab9c /sw/source/ui/shells/drwtxtex.cxx
parentc51f71ea07458c6405e2ec9490457dbafdc2e378 (diff)
#103288# optimization error corrected
Diffstat (limited to 'sw/source/ui/shells/drwtxtex.cxx')
-rw-r--r--sw/source/ui/shells/drwtxtex.cxx20
1 files changed, 14 insertions, 6 deletions
diff --git a/sw/source/ui/shells/drwtxtex.cxx b/sw/source/ui/shells/drwtxtex.cxx
index abf00a9f73ed..7b27d1f5cb81 100644
--- a/sw/source/ui/shells/drwtxtex.cxx
+++ b/sw/source/ui/shells/drwtxtex.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: drwtxtex.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: os $ $Date: 2002-09-10 13:07:36 $
+ * last change: $Author: os $ $Date: 2002-09-16 07:54:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -295,10 +295,18 @@ void SwDrawTextShell::Execute( SfxRequest &rReq )
case SID_ATTR_CHAR_SCALEWIDTH: nEEWhich = EE_CHAR_FONTWIDTH; break;
case SID_ATTR_CHAR_AUTOKERN : nEEWhich = EE_CHAR_PAIRKERNING; break;
case SID_ATTR_CHAR_ESCAPEMENT: nEEWhich = EE_CHAR_ESCAPEMENT; break;
- case SID_ATTR_PARA_ADJUST_LEFT: nEEWhich = EE_PARA_JUST; break;
- case SID_ATTR_PARA_ADJUST_CENTER: nEEWhich = SVX_ADJUST_CENTER, EE_PARA_JUST; break;
- case SID_ATTR_PARA_ADJUST_RIGHT: nEEWhich = SVX_ADJUST_RIGHT;break;
- case SID_ATTR_PARA_ADJUST_BLOCK: nEEWhich = EE_PARA_JUST; break;
+ case SID_ATTR_PARA_ADJUST_LEFT:
+ aNewAttr.Put(SvxAdjustItem(SVX_ADJUST_LEFT, EE_PARA_JUST));
+ break;
+ case SID_ATTR_PARA_ADJUST_CENTER:
+ aNewAttr.Put(SvxAdjustItem(SVX_ADJUST_CENTER, EE_PARA_JUST));
+ break;
+ case SID_ATTR_PARA_ADJUST_RIGHT:
+ aNewAttr.Put(SvxAdjustItem(SVX_ADJUST_RIGHT, EE_PARA_JUST));
+ break;
+ case SID_ATTR_PARA_ADJUST_BLOCK:
+ aNewAttr.Put(SvxAdjustItem(SVX_ADJUST_BLOCK, EE_PARA_JUST));
+ break;
case SID_ATTR_PARA_LINESPACE_10:
{