diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/remotecontrol/BluetoothServer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx index 8366c49bb9a1..1062e1c9b697 100644 --- a/sd/source/ui/remotecontrol/BluetoothServer.cxx +++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx @@ -146,7 +146,7 @@ sal_Int32 OSXBluetoothWrapper::readLine( rtl::OString& aLine ) { if (*p == '\n') s << "\\n"; - else if (*p < ' ' || (*p >= 0x7F && *p <= 0xFF)) + else if (*p < ' ' || *p >= 0x7F) s << "\\0x" << std::hex << std::setw(2) << std::setfill('0') << (int) *p << std::setfill(' ') << std::setw(1) << std::dec; else s << *p; |