diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-06-12 07:24:00 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-06-12 07:24:00 +0000 |
commit | bef76d67219c456f7c759554c979f60693854fb4 (patch) | |
tree | 551cc3398ca69fb76199d09de15188decd7224a8 /svx/source/outliner | |
parent | e4f323969317bef9f3646112cad98bdcb5ab98bf (diff) |
INTEGRATION: CWS vcl12 (1.53.62); FILE MERGED
2003/06/06 15:44:38 mt 1.53.62.1: #109894# Bullet Position in RTL para
Diffstat (limited to 'svx/source/outliner')
-rw-r--r-- | svx/source/outliner/outliner.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/svx/source/outliner/outliner.cxx b/svx/source/outliner/outliner.cxx index 25ac4d2f49ea..c2c79eb0b9a2 100644 --- a/svx/source/outliner/outliner.cxx +++ b/svx/source/outliner/outliner.cxx @@ -2,9 +2,9 @@ * * $RCSfile: outliner.cxx,v $ * - * $Revision: 1.53 $ + * $Revision: 1.54 $ * - * last change: $Author: hr $ $Date: 2003-04-28 15:27:36 $ + * last change: $Author: rt $ $Date: 2003-06-12 08:24:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1879,8 +1879,11 @@ Rectangle Outliner::ImpCalcBulletArea( USHORT nPara, BOOL bAdjust, BOOL bReturnP { // Bei zentriert/rechtsbuendig anpassen const SvxAdjustItem& rItem = (const SvxAdjustItem&)pEditEngine->GetParaAttrib( nPara, EE_PARA_JUST ); - if ( rItem.GetAdjust() != SVX_ADJUST_LEFT ) + if ( ( !pEditEngine->IsRightToLeft( nPara ) && ( rItem.GetAdjust() != SVX_ADJUST_LEFT ) ) || + ( pEditEngine->IsRightToLeft( nPara ) && ( rItem.GetAdjust() != SVX_ADJUST_RIGHT ) ) ) + { aTopLeft.X() = pEditEngine->GetFirstLineStartX( nPara ) - nBulletWidth; + } } // Vertikal: |