diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 03:28:02 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 03:28:02 +0000 |
commit | 18e5e898d778c2d7f11a26f378cd076e3c96e714 (patch) | |
tree | dfd23996cd696095227adb0442066aa8820972c9 /sal | |
parent | 4c6eb86ec50034a9929c0c3c6225a1b717291934 (diff) |
INTEGRATION: CWS warnings01 (1.3.136); FILE MERGED
2005/09/23 01:24:05 sb 1.3.136.2: RESYNC: (1.3-1.4); FILE MERGED
2005/09/14 15:19:08 sb 1.3.136.1: #i53898# Made code warning-free.
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/rtl/uri/rtl_testuri.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sal/qa/rtl/uri/rtl_testuri.cxx b/sal/qa/rtl/uri/rtl_testuri.cxx index dfd8c0ceb287..ab7f06652337 100644 --- a/sal/qa/rtl/uri/rtl_testuri.cxx +++ b/sal/qa/rtl/uri/rtl_testuri.cxx @@ -4,9 +4,9 @@ * * $RCSfile: rtl_testuri.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-09-08 15:53:57 $ + * last change: $Author: hr $ $Date: 2006-06-20 04:28:02 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -43,6 +43,7 @@ #include "cppunit/simpleheader.hxx" +#include <cstddef> #include <stdio.h> namespace { @@ -361,7 +362,8 @@ void Test::test_Uri() { { "http!://a/b/c/d;p?q", "g", 0 }, { "http:b/c/d;p?q", "g:h", "g:h" }, { "http:b/c/d;p?q", "g", 0 } }; - for (int i = 0; i < sizeof aRelToAbsTest / sizeof (RelToAbsTest); ++i) { + for (std::size_t i = 0; i < sizeof aRelToAbsTest / sizeof (RelToAbsTest); ++i) + { rtl::OUString aAbs; bool bMalformed = false; try { |