summaryrefslogtreecommitdiff
path: root/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-06-17 14:19:43 +0000
committerMathias Bauer <mba@openoffice.org>2009-06-17 14:19:43 +0000
commit69ce11cb10411709fd215f994186dbf90fd3db0a (patch)
tree64f8315e9bc411e3493ffa99dcfcdd4498b37177 /sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx
parentf5e6f041da764b749c37ff7e53c5302f06d7c242 (diff)
remove code that was commented out in the patch
Diffstat (limited to 'sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx')
-rw-r--r--sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx b/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx
index 0091e44ab0c7..dc84e4bd6780 100644
--- a/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx
+++ b/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx
@@ -124,12 +124,10 @@ void SwToLayoutAnchoredObjectPosition::CalcPosition()
{
ASSERT( !bRev, "<SwToLayoutAnchoredObjectPosition::CalcPosition()> - reverse layout set." );
//Badaa: 2008-04-18 * Support for Classical Mongolian Script (SCMS) joint with Jiayanmin
- //aRelPos.X() = -nRelPosY - aObjBoundRect.Width();
if ( bVertL2R )
- aRelPos.X() = nRelPosY;
- else
- aRelPos.X() = -nRelPosY - aObjBoundRect.Width();
- //End of SCMS
+ aRelPos.X() = nRelPosY;
+ else
+ aRelPos.X() = -nRelPosY - aObjBoundRect.Width();
maOffsetToFrmAnchorPos.X() = nVertOffsetToFrmAnchorPos;
}
else
@@ -214,9 +212,7 @@ void SwToLayoutAnchoredObjectPosition::CalcPosition()
// --> OD 2004-06-17 #i26791# - determine offset to 'horizontal' frame
// anchor position, depending on layout-direction
//Badaa: 2008-04-18 * Support for Classical Mongolian Script (SCMS) joint with Jiayanmin
- //if ( bVert )
if( bVert && !bVertL2R )
- //End of SCMS
{
aRelPos.Y() = nRelPosX;