From cb8c7aedb954cf80452cd1875f4c47da93c42de8 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Tue, 13 Nov 2007 13:19:23 +0000 Subject: INTEGRATION: CWS pj87 (1.17.12); FILE MERGED 2007/11/01 08:23:01 pjanik 1.17.12.1: #i83185#: Prevent warnings on unxlngx6. --- xmlhelp/source/cxxhelp/qe/XmlIndex.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xmlhelp/source/cxxhelp') diff --git a/xmlhelp/source/cxxhelp/qe/XmlIndex.cxx b/xmlhelp/source/cxxhelp/qe/XmlIndex.cxx index 89045f237697..d554c68d57f0 100644 --- a/xmlhelp/source/cxxhelp/qe/XmlIndex.cxx +++ b/xmlhelp/source/cxxhelp/qe/XmlIndex.cxx @@ -4,9 +4,9 @@ * * $RCSfile: XmlIndex.cxx,v $ * - * $Revision: 1.17 $ + * $Revision: 1.18 $ * - * last change: $Author: hr $ $Date: 2007-08-03 09:57:10 $ + * last change: $Author: rt $ $Date: 2007-11-13 14:19:23 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -338,7 +338,7 @@ XmlIndex::~XmlIndex() void XmlIndex::reset() { - maxDocNumberInCache_ = ( allInCache_ ? ( microIndexOffsets_.size() - 1 ) : sal_Int32( -1 ) ); + maxDocNumberInCache_ = allInCache_ ? static_cast(microIndexOffsets_.size()) - 1 : -1; } -- cgit