summaryrefslogtreecommitdiff
path: root/unodevtools/source/skeletonmaker/javatypemaker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unodevtools/source/skeletonmaker/javatypemaker.cxx')
-rw-r--r--unodevtools/source/skeletonmaker/javatypemaker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unodevtools/source/skeletonmaker/javatypemaker.cxx b/unodevtools/source/skeletonmaker/javatypemaker.cxx
index ea373dac520e..be65870b56ad 100644
--- a/unodevtools/source/skeletonmaker/javatypemaker.cxx
+++ b/unodevtools/source/skeletonmaker/javatypemaker.cxx
@@ -331,7 +331,7 @@ static void printSetPropertyMixinBody(
do
{
OString s(fieldtype.getToken(0, '<', nPos));
- OString t{ "((" + s.copy(s.lastIndexOf('/')+1) + ")" };
+ OString t{ OString::Concat("((") + s.subView(s.lastIndexOf('/')+1) + ")" };
if ( t == "((Optional)" ) {
optional=true;