summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-05-31 09:33:19 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-05-31 09:33:19 +0000
commit42f2634e36cea55a2b2db8f446f97385d0239703 (patch)
tree58f5696e04ec127ba5e8f9df47101b8b5670229d /starmath/inc
parent672612996cae28b26a3a379e4e2e94b775d1b17a (diff)
#i10000# TL: cast nRID to USHORT to avoid warning.
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/smmod.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/inc/smmod.hxx b/starmath/inc/smmod.hxx
index f5e51ce267dc..bf978d41923a 100644
--- a/starmath/inc/smmod.hxx
+++ b/starmath/inc/smmod.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: smmod.hxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: rt $ $Date: 2007-05-31 10:02:39 $
+ * last change: $Author: rt $ $Date: 2007-05-31 10:33:19 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -90,7 +90,7 @@ class SmNamesArray : public Resource
public:
SmNamesArray( LanguageType nLang, int nRID ) :
Resource( SmResId(RID_LOCALIZED_NAMES) ),
- aNamesAry (SmResId(nRID)),
+ aNamesAry (SmResId( static_cast < USHORT > ( nRID ))),
nLanguage (nLang)
{
FreeResource();