summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-19 13:43:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-19 15:37:16 +0200
commit766cdd869d7d983e9e171a3eae0629cb9a0206ff (patch)
treec5053d68d7dae8ed036d36be63fc8049f0b6e091
parent8169c047116c0a418886d01066a21a6eb18d6549 (diff)
This code wants to add the numeric SvxRotateMode value
Things started to go wrong when a2296128ccc1c678f0a8a591c36b5546683f482d "Some removal/replacement of the String/UniString with OUString" replaced UniString::CreateFromInt32( GetValue() ) with OUString::valueOf( GetValue() ) and then 64b993e046f23baaacaff1572b7d2a816588b5ef "finish deprecation of O(U)String::valueOf()" replaced that with OUString( GetValue() ) Change-Id: Ib35bfbda3b177432b98c7e7c8a998666b125bbd4 Reviewed-on: https://gerrit.libreoffice.org/81130 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--svx/source/items/rotmodit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/items/rotmodit.cxx b/svx/source/items/rotmodit.cxx
index 8ae88d21cf66..8b378cdf5cc9 100644
--- a/svx/source/items/rotmodit.cxx
+++ b/svx/source/items/rotmodit.cxx
@@ -70,7 +70,7 @@ bool SvxRotateModeItem::GetPresentation(
[[fallthrough]]; // break; // FALL THROUGH!!!
case SfxItemPresentation::Nameless:
- rText += OUStringChar( GetValue() );
+ rText += OUString::number( GetValue() );
return true;
break;
default: ;//prevent warning