diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-02-18 11:59:03 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-02-18 11:59:41 +0200 |
commit | 21bec368ad670e368d4b5cadae1c07962710f115 (patch) | |
tree | 155c318a542825faf8e9e96547bf000c71b70ad2 /sd/source/ui/remotecontrol | |
parent | 730cff74c04dc6ec2cfc9cf9dcec172392f50616 (diff) |
WaE: comparison is always true due to limited range of data type
Change-Id: Id88e1d8a29972ca9384ddc905697d7d32d94cc35
Diffstat (limited to 'sd/source/ui/remotecontrol')
-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; |