From 766cdd869d7d983e9e171a3eae0629cb9a0206ff Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 19 Oct 2019 13:43:27 +0200 Subject: 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 --- svx/source/items/rotmodit.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit