summaryrefslogtreecommitdiffstats
path: root/svtools/source/control/scriptedtext.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 14:12:44 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 14:12:44 +0000
commit8b5ad73ecd58450db356ae2d443e9727f4240db6 (patch)
treecd16b46825a904541aa0d572540cd110ed9d4c93 /svtools/source/control/scriptedtext.cxx
parentINTEGRATION: CWS sb59 (1.6.62); FILE MERGED (diff)
downloadcore-8b5ad73ecd58450db356ae2d443e9727f4240db6.tar.gz
core-8b5ad73ecd58450db356ae2d443e9727f4240db6.zip
INTEGRATION: CWS sb59 (1.4.64); FILE MERGED
2006/07/25 08:52:54 sb 1.4.64.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'svtools/source/control/scriptedtext.cxx')
-rw-r--r--svtools/source/control/scriptedtext.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/control/scriptedtext.cxx b/svtools/source/control/scriptedtext.cxx
index 6acd93bfa56e..7f0d41bfb28f 100644
--- a/svtools/source/control/scriptedtext.cxx
+++ b/svtools/source/control/scriptedtext.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: scriptedtext.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 14:40:25 $
+ * last change: $Author: obo $ $Date: 2006-10-12 15:12:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -258,7 +258,7 @@ void SvtScriptedTextHelper_Impl::CalculateBreaks( const uno::Reference< i18n::XB
nScript = i18n::ScriptType::LATIN;
while( (nScript != i18n::ScriptType::WEAK) && (nCharIx == nNextCharIx) )
{
- nNextCharIx = mrOutDevice.HasGlyphs( GetFont( nScript ), maText, nCharIx, nNextPos - nCharIx );
+ nNextCharIx = mrOutDevice.HasGlyphs( GetFont( nScript ), maText, sal::static_int_cast< USHORT >(nCharIx), sal::static_int_cast< USHORT >(nNextPos - nCharIx) );
if( nCharIx == nNextCharIx )
++nScript;
}