diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-02-18 21:26:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-18 21:26:40 +0000 |
commit | 926be1c961728855c612af2bb7b5d302c7de4441 (patch) | |
tree | 584701dfb8682def187009aa351a0098e5099a54 /comphelper/qa | |
parent | Try and protect the Indic grapheme/cell skipping with a unit test. (diff) | |
download | core-926be1c961728855c612af2bb7b5d302c7de4441.tar.gz core-926be1c961728855c612af2bb7b5d302c7de4441.zip |
tidy this up and be consistent
Diffstat (limited to 'comphelper/qa')
-rw-r--r-- | comphelper/qa/string/makefile.mk | 2 | ||||
-rw-r--r-- | comphelper/qa/string/test_string.cxx | 4 | ||||
-rw-r--r-- | comphelper/qa/weakbag/makefile.mk | 2 |
3 files changed, 4 insertions, 4 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; diff --git a/comphelper/qa/weakbag/makefile.mk b/comphelper/qa/weakbag/makefile.mk index 606373c34b85..fdba94838a56 100644 --- a/comphelper/qa/weakbag/makefile.mk +++ b/comphelper/qa/weakbag/makefile.mk @@ -27,7 +27,7 @@ PRJ := ..$/.. PRJNAME := comphelper -TARGET := qa +TARGET := qa_weakbag ENABLE_EXCEPTIONS := TRUE |