summaryrefslogtreecommitdiff
path: root/linguistic/source
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-05-25 11:25:45 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-05-25 11:25:45 +0000
commit5637bef23198328b9190b9b2fd7259632d48d620 (patch)
tree15e2e559af010458bfe2655d76a9b523090980e1 /linguistic/source
parent2adb243afb307be1c06b2e43f57a3414bf7a327d (diff)
INTEGRATION: CWS tl32 (1.4.8); FILE MERGED
2007/01/29 14:45:53 tl 1.4.8.2: RESYNC: (1.4-1.5); FILE MERGED 2006/10/26 11:26:03 tl 1.4.8.1: #140479# make linguistic warning-free
Diffstat (limited to 'linguistic/source')
-rw-r--r--linguistic/source/supplang.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/linguistic/source/supplang.cxx b/linguistic/source/supplang.cxx
index 8e305918a62c..2e3b76767438 100644
--- a/linguistic/source/supplang.cxx
+++ b/linguistic/source/supplang.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: supplang.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: hr $ $Date: 2007-01-02 15:04:40 $
+ * last change: $Author: vg $ $Date: 2007-05-25 12:25:45 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -217,7 +217,7 @@ const Sequence< INT16 > SuppLanguages::GetLanguages() const
USHORT nCnt = 0;
for (INT32 i = 0; i < nLen; ++i)
{
- INT16 nLanguage = aLanguages.GetObjectKey( i );
+ INT16 nLanguage = sal::static_int_cast< INT16 >(aLanguages.GetObjectKey( i ));
if (HasLanguage( nLanguage ))
pRes[ nCnt++ ] = nLanguage;
}