summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-22 19:35:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-22 19:36:51 +0100
commit25442edcad1b0a2284cfaac6e5ed2bc17fb55478 (patch)
tree8094361cfcd726873f2a3666bef21c8394247c00 /sd/source
parentee5443b8daef4196150fd7e4e98e8ed8ffec219f (diff)
loplugin:cstylecast (MACOSX)
Change-Id: I8a2785e90dae7edacb6dfb3e4362e5fb6a981b0e
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index 93180f21c42c..72ca12843385 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -467,7 +467,7 @@ sal_Int32 OSXBluetoothWrapper::readLine( OString& aLine )
std::ostringstream s;
if (mBuffer.size() > 0)
{
- for (unsigned char *p = (unsigned char *) &mBuffer.front(); p != (unsigned char *) &mBuffer.front() + mBuffer.size(); p++)
+ for (unsigned char *p = reinterpret_cast<unsigned char *>(&mBuffer.front()); p != reinterpret_cast<unsigned char *>(&mBuffer.front()) + mBuffer.size(); p++)
{
if (*p == '\n')
s << "\\n";