From 63bcb139b941a2eff1b5ad367046bca067e7d1f8 Mon Sep 17 00:00:00 2001 From: Jean-Noël Rouvignac Date: Sun, 20 Jan 2013 13:55:09 +0100 Subject: Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák Tested-by: Luboš Luňák --- sd/source/ui/dlg/copydlg.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sd/source/ui/dlg/copydlg.cxx') diff --git a/sd/source/ui/dlg/copydlg.cxx b/sd/source/ui/dlg/copydlg.cxx index 7fc0c58e55a9..5edfc96452ab 100644 --- a/sd/source/ui/dlg/copydlg.cxx +++ b/sd/source/ui/dlg/copydlg.cxx @@ -124,22 +124,22 @@ CopyDlg::~CopyDlg() { String& rStr = GetExtraData(); - rStr = OUString::valueOf(static_cast(maNumFldCopies.GetValue())); + rStr = OUString::number(maNumFldCopies.GetValue()); rStr.Append( TOKEN ); - rStr += OUString::valueOf(static_cast(maMtrFldMoveX.GetValue())); + rStr += OUString::number(maMtrFldMoveX.GetValue()); rStr.Append( TOKEN ); - rStr += OUString::valueOf(static_cast(maMtrFldMoveY.GetValue())); + rStr += OUString::number(maMtrFldMoveY.GetValue()); rStr.Append( TOKEN ); - rStr += OUString::valueOf(static_cast(maMtrFldAngle.GetValue())); + rStr += OUString::number(maMtrFldAngle.GetValue()); rStr.Append( TOKEN ); - rStr += OUString::valueOf(static_cast(maMtrFldWidth.GetValue())); + rStr += OUString::number(maMtrFldWidth.GetValue()); rStr.Append( TOKEN ); - rStr += OUString::valueOf(static_cast(maMtrFldHeight.GetValue())); + rStr += OUString::number(maMtrFldHeight.GetValue()); rStr.Append( TOKEN ); rStr += OUString::valueOf( (long)maLbStartColor.GetSelectEntryColor().GetColor() ); -- cgit