summaryrefslogtreecommitdiff
path: root/svx/source/dialog/framelinkarray.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-05-06 11:10:58 +0000
committerKurt Zenker <kz@openoffice.org>2008-05-06 11:10:58 +0000
commitc08423de890cb0d4099526c4712e1ea7f4095327 (patch)
tree5b5dc8c8953d5a8ec4d0411ec34a936e9edf34df /svx/source/dialog/framelinkarray.cxx
parentc3600eeae5c9b2dd927833f1612c615c4828735c (diff)
INTEGRATION: CWS os112 (1.7.230); FILE MERGED
2008/03/10 08:43:07 os 1.7.230.1: #i73707# RTL auto formatting
Diffstat (limited to 'svx/source/dialog/framelinkarray.cxx')
-rw-r--r--svx/source/dialog/framelinkarray.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/svx/source/dialog/framelinkarray.cxx b/svx/source/dialog/framelinkarray.cxx
index 9fe517742936..713d959febb0 100644
--- a/svx/source/dialog/framelinkarray.cxx
+++ b/svx/source/dialog/framelinkarray.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: framelinkarray.cxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
* This file is part of OpenOffice.org.
*
@@ -406,9 +406,11 @@ size_t Array::GetRowFromIndex( size_t nCellIndex ) const
return mxImpl->mnWidth ? (nCellIndex / mxImpl->mnWidth) : 0;
}
-size_t Array::GetCellIndex( size_t nCol, size_t nRow ) const
+size_t Array::GetCellIndex( size_t nCol, size_t nRow, bool bRTL ) const
{
DBG_FRAME_CHECK_COLROW( nCol, nRow, "GetCellIndex" );
+ if (bRTL)
+ nCol = mxImpl->GetMirrorCol(nCol);
return mxImpl->GetIndex( nCol, nRow );
}