summaryrefslogtreecommitdiff
path: root/automation
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-12 10:17:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-12 11:51:11 +0100
commit58ee09b87b11a6a6b56a06f772214e8835810bd3 (patch)
tree3dba493131b4b9fd670057b8df826bfbbb41fe23 /automation
parent7bd0fb7d7c0926575d8a7ec5ea2e4a7867f9f8dd (diff)
ByteString, shrink api
Diffstat (limited to 'automation')
-rw-r--r--automation/source/testtool/objtest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/automation/source/testtool/objtest.cxx b/automation/source/testtool/objtest.cxx
index 5fb34f0406c7..78a2928bd8ff 100644
--- a/automation/source/testtool/objtest.cxx
+++ b/automation/source/testtool/objtest.cxx
@@ -445,8 +445,8 @@ void TestToolObj::LoadIniFile() // Laden der IniEinstellungen, die d
if (i >= 0)
{
sPath = sPath.copy(0, i);
- ByteString bsPath( sPath.getStr(), sPath.getLength(),
- RTL_TEXTENCODING_UTF8 );
+ ByteString bsPath( rtl::OUStringToOString(sPath,
+ RTL_TEXTENCODING_UTF8) );
aConf.SetGroup( "OOoProgramDir" );
String aOPD;