summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/codemaker/global.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx
index bfe77c452af8..d6c5a0fae942 100644
--- a/codemaker/source/codemaker/global.cxx
+++ b/codemaker/source/codemaker/global.cxx
@@ -87,10 +87,10 @@ OString createFileNameFromType( const OString& destination,
length += prefix.getLength() + type.getLength() + postfix.getLength();
sal_Bool withSeparator = sal_False;
- if (destination.getStr()[destination.getLength()] != '\\' &&
- destination.getStr()[destination.getLength()] != '/' &&
- type.getStr()[0] != '\\' &&
- type.getStr()[0] != '/')
+ if (destination[destination.getLength()] != '\\' &&
+ destination[destination.getLength()] != '/' &&
+ type[0] != '\\' &&
+ type[0] != '/')
{
length++;
withSeparator = sal_True;