summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-23 13:29:32 +0200
committerNoel Grandin <noel@peralex.com>2013-11-04 08:06:10 +0200
commit0e6a2601b39cbadaff7f7506ba9e804f108060db (patch)
treeffd6bb4970f689d20087b721eb8dfd4bc86cd53f /unotest
parent457b349edbaf6d9dc747f3a631fee70e0c035bae (diff)
Convert code that calls OUString::getStr()[] to use the [] operator
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
Diffstat (limited to 'unotest')
-rw-r--r--unotest/source/cpp/filters-test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotest/source/cpp/filters-test.cxx b/unotest/source/cpp/filters-test.cxx
index a14fa6761de3..9d38a09b91d9 100644
--- a/unotest/source/cpp/filters-test.cxx
+++ b/unotest/source/cpp/filters-test.cxx
@@ -79,7 +79,7 @@ void FiltersTest::recursiveScan(filterStatus nExpected,
if ((nLastSlash != -1) && (nLastSlash+1 < sURL.getLength()))
{
//ignore .files
- if (sURL.getStr()[nLastSlash+1] == '.')
+ if (sURL[nLastSlash+1] == '.')
continue;
if (