summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/qe/XmlIndex.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-11-13 13:19:23 +0000
committerRüdiger Timm <rt@openoffice.org>2007-11-13 13:19:23 +0000
commitcb8c7aedb954cf80452cd1875f4c47da93c42de8 (patch)
tree9a482cd4e7fa6ee6d69798c063a35c216eb73042 /xmlhelp/source/cxxhelp/qe/XmlIndex.cxx
parent20a04ae28495c38b3e1fe5e5acbfdc7a2e9f44ef (diff)
INTEGRATION: CWS pj87 (1.17.12); FILE MERGED
2007/11/01 08:23:01 pjanik 1.17.12.1: #i83185#: Prevent warnings on unxlngx6.
Diffstat (limited to 'xmlhelp/source/cxxhelp/qe/XmlIndex.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/qe/XmlIndex.cxx6
1 files changed, 3 insertions, 3 deletions
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<sal_Int32>(microIndexOffsets_.size()) - 1 : -1;
}