summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Martens <ama@openoffice.org>2002-02-15 13:46:19 +0000
committerAndreas Martens <ama@openoffice.org>2002-02-15 13:46:19 +0000
commit19b80fc014a3cffcad8d1fdc16e4a460542f71b6 (patch)
tree2d9b892160226ce1ef39512b3f63b01313e44b12
parentdfa6483c6bd1ba54e5e22521d179e7f371b80229 (diff)
Fix #96678#: Cursor selection in CTL environment
-rw-r--r--sw/source/core/text/itrcrsr.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx
index dc69ef34a0b9..f6aeb0c9312a 100644
--- a/sw/source/core/text/itrcrsr.cxx
+++ b/sw/source/core/text/itrcrsr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: itrcrsr.cxx,v $
*
- * $Revision: 1.40 $
+ * $Revision: 1.41 $
*
- * last change: $Author: fme $ $Date: 2002-02-07 11:18:13 $
+ * last change: $Author: ama $ $Date: 2002-02-15 14:46:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -532,14 +532,14 @@ void SwTxtCursor::_GetCharRect( SwRect* pOrig, const xub_StrLen nOfst,
if( ((SwMultiPortion*)pPor)->HasRotation() )
{
if( ((SwMultiPortion*)pPor)->IsRevers() )
- pCMS->p2Lines->nMultiType = 1;
+ pCMS->p2Lines->nMultiType = MT_ROT_270;
else
- pCMS->p2Lines->nMultiType = 0;
+ pCMS->p2Lines->nMultiType = MT_ROT_90;
}
else if( ((SwMultiPortion*)pPor)->IsDouble() )
- pCMS->p2Lines->nMultiType = 2;
+ pCMS->p2Lines->nMultiType = MT_TWOLINE;
else
- pCMS->p2Lines->nMultiType = 3;
+ pCMS->p2Lines->nMultiType = MT_RUBY;
SwTwips nTmpWidth = pPor->Width();
if( nSpaceAdd )
nTmpWidth += pPor->CalcSpacing(nSpaceAdd, aInf);