diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-26 10:58:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-28 19:44:08 +0200 |
commit | ef513fd4b049b214a03fbe6e62a5ea43680a7a9b (patch) | |
tree | 82f2ce93bc8e5fde6dce8685b633c3d643c9f069 /codemaker | |
parent | 826f1bca40a01f0a249d5b6cbb7c39c11638a060 (diff) |
remove unnecessary use of OString::getStr
Change-Id: I0490efedf459190521f4339854b3394d57765fdb
Reviewed-on: https://gerrit.libreoffice.org/38058
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/codemaker/global.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx index 177230982905..7f80faec432a 100644 --- a/codemaker/source/codemaker/global.cxx +++ b/codemaker/source/codemaker/global.cxx @@ -96,13 +96,13 @@ OString createFileNameFromType( const OString& destination, if (bWithPoint) fileNameBuf.append('.'); else - fileNameBuf.append(destination.getStr(), destination.getLength()); + fileNameBuf.append(destination); if (bWithSeparator) fileNameBuf.append("/"); - fileNameBuf.append(type.getStr(), type.getLength()); - fileNameBuf.append(postfix.getStr(), postfix.getLength()); + fileNameBuf.append(type); + fileNameBuf.append(postfix); OString fileName(fileNameBuf.makeStringAndClear()); @@ -120,7 +120,7 @@ OString createFileNameFromType( const OString& destination, sal_Int32 nIndex = 0; do { - buffer.append(fileName.getToken(0, token, nIndex).getStr()); + buffer.append(fileName.getToken(0, token, nIndex)); if( nIndex == -1 ) break; |