From 6ce1090c746f8253e976124adfd912f885747ba9 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Thu, 24 Jan 2008 15:02:43 +0000 Subject: [PATCH] INTEGRATION: CWS xf02bigcleanup (1.3.4); FILE MERGED 2008/01/23 15:50:23 hbrinkm 1.3.4.1: #i85380# applied patch by pavel --- writerfilter/source/resourcemodel/WW8Analyzer.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/writerfilter/source/resourcemodel/WW8Analyzer.cxx b/writerfilter/source/resourcemodel/WW8Analyzer.cxx index 366b2242f591..2e3eda60ece6 100644 --- a/writerfilter/source/resourcemodel/WW8Analyzer.cxx +++ b/writerfilter/source/resourcemodel/WW8Analyzer.cxx @@ -4,9 +4,9 @@ * * $RCSfile: WW8Analyzer.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: vg $ $Date: 2008-01-17 14:28:52 $ + * last change: $Author: vg $ $Date: 2008-01-24 16:02:43 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -346,7 +346,7 @@ string propertysetToString(uno::Reference const & xPropSet) sal_Int32 nValue = 0; aAny >>= nValue; - snprintf(buffer, sizeof(buffer), "%ld", nValue); + snprintf(buffer, sizeof(buffer), "%" SAL_PRIdINT32, nValue); sResult += buffer; } else if (sPropType == @@ -431,7 +431,7 @@ string propertysetToString(uno::Reference const & xPropSet) awt::Point aPoint; aAny >>= aPoint; - snprintf(buffer, sizeof(buffer), "(%ld, %ld)", aPoint.X, + snprintf(buffer, sizeof(buffer), "(%" SAL_PRIdINT32 ", %" SAL_PRIdINT32 ")", aPoint.X, aPoint.Y); sResult += buffer; @@ -444,7 +444,7 @@ string propertysetToString(uno::Reference const & xPropSet) awt::Rectangle aRect; aAny >>= aRect; - snprintf(buffer, sizeof(buffer), "(%ld, %ld, %ld, %ld)", + snprintf(buffer, sizeof(buffer), "(%" SAL_PRIdINT32 ", %" SAL_PRIdINT32 ", %" SAL_PRIdINT32 ", %" SAL_PRIdINT32 ")", aRect.X, aRect.Y, aRect.Width, aRect.Height); sResult += buffer; }