diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 15:07:31 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 15:10:35 +0200 |
commit | 64b993e046f23baaacaff1572b7d2a816588b5ef (patch) | |
tree | 237dce36a1d4787d168a0520839f6aab22500487 /sd/source/ui/remotecontrol/Listener.cxx | |
parent | 75f41baab6ce75786a91fe461835ee16a23ec18e (diff) |
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
Diffstat (limited to 'sd/source/ui/remotecontrol/Listener.cxx')
-rw-r--r-- | sd/source/ui/remotecontrol/Listener.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/remotecontrol/Listener.cxx b/sd/source/ui/remotecontrol/Listener.cxx index d28a526c86c8..be0c9cee6c7c 100644 --- a/sd/source/ui/remotecontrol/Listener.cxx +++ b/sd/source/ui/remotecontrol/Listener.cxx @@ -46,8 +46,8 @@ void Listener::init( const css::uno::Reference< css::presentation::XSlideShowCon sal_Int32 aCurrentSlide = aController->getCurrentSlideIndex(); OStringBuffer aBuffer; aBuffer.append( "slideshow_started\n" ) - .append( OString::valueOf( aSlides ) ).append("\n") - .append( OString::valueOf( aCurrentSlide ) ).append( "\n\n" ); + .append( OString::number( aSlides ) ).append("\n") + .append( OString::number( aCurrentSlide ) ).append( "\n\n" ); pTransmitter->addMessage( aBuffer.makeStringAndClear(), Transmitter::PRIORITY_HIGH ); @@ -114,7 +114,7 @@ void SAL_CALL Listener::slideTransitionStarted (void) sal_Int32 aSlide = mController->getCurrentSlideIndex(); OStringBuffer aBuilder( "slide_updated\n" ); - aBuilder.append( OString::valueOf( aSlide ) ); + aBuilder.append( OString::number( aSlide ) ); aBuilder.append( "\n\n" ); if ( pTransmitter ) |