summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 15:56:45 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 15:56:45 +0000
commit41971dd733764a047beb159893a81623aaa7fc30 (patch)
tree943b378faf684c6322d7878462f902fe2f602b11 /sc
parent37785046e192ca4bc5d58e1a2b3d504ef54afaf4 (diff)
INTEGRATION: CWS pchfix04 (1.16.22); FILE MERGED
2007/02/05 08:35:31 os 1.16.22.1: #i73604# usage of ITEMID_* removed
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/drawfunc/drtxtob2.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/sc/source/ui/drawfunc/drtxtob2.cxx b/sc/source/ui/drawfunc/drtxtob2.cxx
index b023ba97b696..b9c2b6c55894 100644
--- a/sc/source/ui/drawfunc/drtxtob2.cxx
+++ b/sc/source/ui/drawfunc/drtxtob2.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: drtxtob2.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: ihi $ $Date: 2006-11-14 15:50:11 $
+ * last change: $Author: kz $ $Date: 2007-05-10 16:56:45 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -122,7 +122,10 @@ void __EXPORT ScDrawTextObjectBar::ExecuteGlobal( SfxRequest &rReq )
case SID_TEXTDIRECTION_TOP_TO_BOTTOM:
{
SfxItemSet aAttr( pView->GetModel()->GetItemPool(), SDRATTR_TEXTDIRECTION, SDRATTR_TEXTDIRECTION, 0 );
- aAttr.Put( SvxWritingModeItem( nSlot == SID_TEXTDIRECTION_LEFT_TO_RIGHT ? com::sun::star::text::WritingMode_LR_TB : com::sun::star::text::WritingMode_TB_RL ) );
+ aAttr.Put( SvxWritingModeItem(
+ nSlot == SID_TEXTDIRECTION_LEFT_TO_RIGHT ?
+ com::sun::star::text::WritingMode_LR_TB : com::sun::star::text::WritingMode_TB_RL,
+ ATTR_WRITINGDIR ) );
pView->SetAttributes( aAttr );
pViewData->GetScDrawView()->InvalidateDrawTextAttrs(); // Bidi slots may be disabled
rReq.Done( aAttr );
@@ -287,7 +290,7 @@ void ScDrawTextObjectBar::GetFormTextState(SfxItemSet& rSet)
if ( pDocSh )
{
- const SfxPoolItem* pItem = pDocSh->GetItem( ITEMID_COLOR_TABLE );
+ const SfxPoolItem* pItem = pDocSh->GetItem( SID_COLOR_TABLE );
XColorTable* pColorTable = NULL;
if ( pItem )