summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/remotecontrol/ImagePreparer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/remotecontrol/ImagePreparer.cxx')
-rw-r--r--sd/source/ui/remotecontrol/ImagePreparer.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/sd/source/ui/remotecontrol/ImagePreparer.cxx b/sd/source/ui/remotecontrol/ImagePreparer.cxx
index dd50f1f3516a..c765ca6a0c9a 100644
--- a/sd/source/ui/remotecontrol/ImagePreparer.cxx
+++ b/sd/source/ui/remotecontrol/ImagePreparer.cxx
@@ -98,7 +98,7 @@ void ImagePreparer::sendPreview( sal_uInt32 aSlideNumber )
aBuffer.append( "slide_preview\n" );
- aBuffer.append( OString::number( aSlideNumber ).getStr() );
+ aBuffer.append( (sal_Int32)aSlideNumber );
aBuffer.append( "\n" );
aBuffer.append( aEncodedShortString.getStr() );
@@ -175,12 +175,6 @@ void ImagePreparer::sendNotes( sal_uInt32 aSlideNumber )
if ( aNotes.isEmpty() )
return;
-// OUStringBuffer aStrBuffer;
-// ::sax::Converter::encodeBase64( aStrBuffer, aTemp );
-
-// OString aNotes = OUStringToOString(
-// aStrBuffer.makeStringAndClear(), RTL_TEXTENCODING_UTF8 );
-
if ( !xController->isRunning() )
return;
@@ -189,7 +183,7 @@ void ImagePreparer::sendNotes( sal_uInt32 aSlideNumber )
aBuffer.append( "slide_notes\n" );
- aBuffer.append( OString::number( aSlideNumber ).getStr() );
+ aBuffer.append( (sal_Int32) aSlideNumber );
aBuffer.append( "\n" );
aBuffer.append( "<html><body>" );