diff options
Diffstat (limited to 'sd/source/ui/remotecontrol')
-rw-r--r-- | sd/source/ui/remotecontrol/BluetoothServer.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/BufferedStreamSocket.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/ImagePreparer.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx index bd11e2ea53c3..968a7542bb57 100644 --- a/sd/source/ui/remotecontrol/BluetoothServer.cxx +++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx @@ -327,7 +327,7 @@ bluez4GetDefaultService( DBusConnection *pConnection ) else { SAL_INFO( "sdremote.bluetooth", "invalid type of reply to DefaultAdapter: '" - << (char) dbus_message_iter_get_arg_type( &it ) << "'" ); + << static_cast<char>(dbus_message_iter_get_arg_type( &it )) << "'" ); } dbus_message_unref(pMsg); return nullptr; diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx index 9a50c001842c..a79d5e390281 100644 --- a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx +++ b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx @@ -63,7 +63,7 @@ sal_Int32 BufferedStreamSocket::write( const void* pBuffer, sal_uInt32 n ) #else pBuffer, #endif - (size_t) n, 0 ); + static_cast<size_t>(n), 0 ); } void BufferedStreamSocket::close() diff --git a/sd/source/ui/remotecontrol/ImagePreparer.cxx b/sd/source/ui/remotecontrol/ImagePreparer.cxx index ffd019b0c128..199d3d434c54 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( (sal_Int32)aSlideNumber ); + aBuffer.append( static_cast<sal_Int32>(aSlideNumber) ); aBuffer.append( "\n" ); aBuffer.append( aEncodedShortString.getStr() ); @@ -183,7 +183,7 @@ void ImagePreparer::sendNotes( sal_uInt32 aSlideNumber ) aBuffer.append( "slide_notes\n" ); - aBuffer.append( (sal_Int32) aSlideNumber ); + aBuffer.append( static_cast<sal_Int32>(aSlideNumber) ); aBuffer.append( "\n" ); aBuffer.append( "<html><body>" ); |