summaryrefslogtreecommitdiffstats
path: root/tools/qa/cppunit/test_reversemap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qa/cppunit/test_reversemap.cxx')
-rw-r--r--tools/qa/cppunit/test_reversemap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qa/cppunit/test_reversemap.cxx b/tools/qa/cppunit/test_reversemap.cxx
index 7116688a843c..04ed1741d211 100644
--- a/tools/qa/cppunit/test_reversemap.cxx
+++ b/tools/qa/cppunit/test_reversemap.cxx
@@ -61,7 +61,7 @@ namespace
//Some slots are unused, so don't map to private, just set them to 'X'
sal_uInt32 const convertFlags = OSTRING_TO_OUSTRING_CVTFLAGS ^ RTL_TEXTTOUNICODE_FLAGS_UNDEFINED_MAPTOPRIVATE;
- OUString sOrigText(&aAllChars[0], aAllChars.size(), eEncoding, convertFlags);
+ OUString sOrigText(aAllChars.data(), aAllChars.size(), eEncoding, convertFlags);
sOrigText = sOrigText.replace( 0xfffd, 'X' );
//Should clearly be equal