From 64b993e046f23baaacaff1572b7d2a816588b5ef Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Wed, 21 Aug 2013 15:07:31 +0200 Subject: finish deprecation of O(U)String::valueOf() Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2 --- sd/source/ui/annotations/annotationmanager.cxx | 2 +- sd/source/ui/annotations/annotationtag.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sd/source/ui/annotations') diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx index 099b860df468..a74608c806a0 100644 --- a/sd/source/ui/annotations/annotationmanager.cxx +++ b/sd/source/ui/annotations/annotationmanager.cxx @@ -1039,7 +1039,7 @@ void AnnotationManagerImpl::ExecuteAnnotationContextMenu( Reference< XAnnotation if( pMenu->IsItemEnabled( nId ) ) { OUString sSlotURL( "slot:" ); - sSlotURL += OUString::valueOf( sal_Int32( nId )); + sSlotURL += OUString::number( nId); Image aImage( GetImage( xFrame, sSlotURL, false ) ); if( !!aImage ) diff --git a/sd/source/ui/annotations/annotationtag.cxx b/sd/source/ui/annotations/annotationtag.cxx index d60c467535d1..7ee5715c34e6 100644 --- a/sd/source/ui/annotations/annotationtag.cxx +++ b/sd/source/ui/annotations/annotationtag.cxx @@ -589,7 +589,7 @@ BitmapEx AnnotationTag::CreateAnnotationBitmap( bool bSelected ) OUString sAuthor( getInitials( mxAnnotation->getAuthor() ) ); sAuthor += OUString( sal_Unicode( ' ' ) ); - sAuthor += OUString::valueOf( (sal_Int32)mnIndex ); + sAuthor += OUString::number( mnIndex ); aVDev.SetFont( mrFont ); -- cgit