summaryrefslogtreecommitdiff
path: root/comphelper/qa/string
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-02-18 21:26:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-02-18 21:26:40 +0000
commit926be1c961728855c612af2bb7b5d302c7de4441 (patch)
tree584701dfb8682def187009aa351a0098e5099a54 /comphelper/qa/string
parente8f92e54b9058a96ad2e0955e4c8c8e6ebb7ee64 (diff)
tidy this up and be consistent
Diffstat (limited to 'comphelper/qa/string')
-rw-r--r--comphelper/qa/string/makefile.mk2
-rw-r--r--comphelper/qa/string/test_string.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/comphelper/qa/string/makefile.mk b/comphelper/qa/string/makefile.mk
index 7a74454c9212..fb7ce8ae23ab 100644
--- a/comphelper/qa/string/makefile.mk
+++ b/comphelper/qa/string/makefile.mk
@@ -27,7 +27,7 @@
PRJ := ..$/..
PRJNAME := comphelper
-TARGET := qa
+TARGET := qa_string
ENABLE_EXCEPTIONS := TRUE
diff --git a/comphelper/qa/string/test_string.cxx b/comphelper/qa/string/test_string.cxx
index 2f92b8190d15..58fa60a151e7 100644
--- a/comphelper/qa/string/test_string.cxx
+++ b/comphelper/qa/string/test_string.cxx
@@ -200,7 +200,7 @@ public:
const lang::Locale&, sal_Int16 CharType ) throw(uno::RuntimeException)
{
const sal_Unicode *pStr = rText.getStr()+nStartPos;
- for (sal_Int16 nI = nStartPos; nI < rText.getLength(); ++nI)
+ for (sal_Int32 nI = nStartPos; nI < rText.getLength(); ++nI)
{
if (CharType == i18n::CharType::DECIMAL_DIGIT_NUMBER && !IS_DIGIT(*pStr))
return nI;
@@ -216,7 +216,7 @@ public:
const lang::Locale&, sal_Int16 CharType ) throw(uno::RuntimeException)
{
const sal_Unicode *pStr = rText.getStr()+nStartPos;
- for (sal_Int16 nI = nStartPos; nI < rText.getLength(); ++nI)
+ for (sal_Int32 nI = nStartPos; nI < rText.getLength(); ++nI)
{
if (CharType == i18n::CharType::DECIMAL_DIGIT_NUMBER && IS_DIGIT(*pStr))
return nI;