summaryrefslogtreecommitdiffstats
path: root/rsc/source/res/rscrange.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-01-26 16:55:31 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-01-26 16:55:31 +0000
commitf6e6ea55c3f3b9620961fbb749c1d2be7497acf9 (patch)
tree8dc236b77530d3db7cb2c7d41666b35ab339a24c /rsc/source/res/rscrange.cxx
parentINTEGRATION: CWS aw034 (1.4.50); FILE MERGED (diff)
downloadcore-f6e6ea55c3f3b9620961fbb749c1d2be7497acf9.tar.gz
core-f6e6ea55c3f3b9620961fbb749c1d2be7497acf9.zip
INTEGRATION: CWS vcl47 (1.5.12); FILE MERGED
2005/11/22 10:25:31 pl 1.5.12.1: #i57682# use correct format in fprintf
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 c437e0f30118..5eeb713e0bc4 100644
--- a/rsc/source/res/rscrange.cxx
+++ b/rsc/source/res/rscrange.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: rscrange.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 13:56:37 $
+ * last change: $Author: hr $ $Date: 2006-01-26 17:55:31 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -212,7 +212,7 @@ RSCINST RscRange::Create( RSCINST * pInst, const RSCINST & rDflt,
void RscRange::WriteSrc( const RSCINST & rInst, FILE * fOutput,
RscTypCont *, sal_uInt32, const char * )
{
- fprintf( fOutput, "%ld", ((RscRangeInst *)rInst.pData)->nValue + nMin );
+ fprintf( fOutput, "%ld", long( ((RscRangeInst *)rInst.pData)->nValue + nMin ) );
}
/*************************************************************************