summaryrefslogtreecommitdiffstats
path: root/rsc/source/res/rscrange.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-01-04 15:00:02 +0000
committerOliver Bolte <obo@openoffice.org>2008-01-04 15:00:02 +0000
commit82f437f32576de2ee0fb1c185054a7d38df6073a (patch)
tree70d159a0228e07a4f8a8534bdda7791594421499 /rsc/source/res/rscrange.cxx
parentINTEGRATION: CWS rsclangvar (1.8.44); FILE MERGED (diff)
downloadcore-82f437f32576de2ee0fb1c185054a7d38df6073a.tar.gz
core-82f437f32576de2ee0fb1c185054a7d38df6073a.zip
INTEGRATION: CWS rsclangvar (1.9.44); FILE MERGED
2007/10/25 10:56:22 pl 1.9.44.1: #i82968# fix a warning (thanks pjanik)
Diffstat (limited to 'rsc/source/res/rscrange.cxx')
-rw-r--r--rsc/source/res/rscrange.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/rsc/source/res/rscrange.cxx b/rsc/source/res/rscrange.cxx
index 2efb32274985..f4f03a563ddf 100644
--- a/rsc/source/res/rscrange.cxx
+++ b/rsc/source/res/rscrange.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: rscrange.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 16:02:48 $
+ * last change: $Author: obo $ $Date: 2008-01-04 16:00:02 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -428,7 +428,7 @@ void RscLongRange::WriteSrc( const RSCINST & rInst, FILE * fOutput,
{
INT32 lVal;
GetNumber( rInst, &lVal );
- fprintf( fOutput, "%ld", lVal );
+ fprintf( fOutput, "%d", static_cast<int>(lVal) );
}
/*************************************************************************