summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-18 14:15:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-20 17:27:45 +0100
commit44c025aa1ec366109163f6816ffabdc26f6cff00 (patch)
tree82389309787427a3ba7f554ec09e8bf32f4b32e6 /sd
parentf7817d988c6251fd42433c1f4886b7f8270a24ff (diff)
loplugin:duplicate-defines
the same define in 4 different files, but not actually used anywhere Change-Id: Ia50e6f357f1439d387cdd3d1f143e020500b9cd6 Reviewed-on: https://gerrit.libreoffice.org/85567 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/inc/RemoteServer.hxx2
-rw-r--r--sd/source/ui/remotecontrol/BufferedStreamSocket.hxx1
-rw-r--r--sd/source/ui/remotecontrol/Communicator.hxx1
-rw-r--r--sd/source/ui/remotecontrol/ZeroconfService.hxx2
4 files changed, 0 insertions, 6 deletions
diff --git a/sd/source/ui/inc/RemoteServer.hxx b/sd/source/ui/inc/RemoteServer.hxx
index cd8fa1a0ad24..0258eaada128 100644
--- a/sd/source/ui/inc/RemoteServer.hxx
+++ b/sd/source/ui/inc/RemoteServer.hxx
@@ -27,8 +27,6 @@ namespace com { namespace sun { namespace star { namespace uno { template <class
*/
#define PORT 1599
-#define CHARSET RTL_TEXTENCODING_UTF8
-
namespace sd
{
class Communicator;
diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.hxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.hxx
index 9144ebfcdc4a..775f3b85f001 100644
--- a/sd/source/ui/remotecontrol/BufferedStreamSocket.hxx
+++ b/sd/source/ui/remotecontrol/BufferedStreamSocket.hxx
@@ -13,7 +13,6 @@
#include <osl/socket_decl.hxx>
#include <vector>
-#define CHARSET RTL_TEXTENCODING_UTF8
#define MAX_LINE_LENGTH 20000
namespace sd
diff --git a/sd/source/ui/remotecontrol/Communicator.hxx b/sd/source/ui/remotecontrol/Communicator.hxx
index e32598912899..4026808e68ac 100644
--- a/sd/source/ui/remotecontrol/Communicator.hxx
+++ b/sd/source/ui/remotecontrol/Communicator.hxx
@@ -18,7 +18,6 @@ namespace com { namespace sun { namespace star { namespace uno { template <typen
namespace com { namespace sun { namespace star { namespace presentation { class XSlideShowController; } } } }
namespace sd { struct IBluetoothSocket; }
-#define CHARSET RTL_TEXTENCODING_UTF8
namespace sd
{
diff --git a/sd/source/ui/remotecontrol/ZeroconfService.hxx b/sd/source/ui/remotecontrol/ZeroconfService.hxx
index e6c02e26868a..e415e3f646a9 100644
--- a/sd/source/ui/remotecontrol/ZeroconfService.hxx
+++ b/sd/source/ui/remotecontrol/ZeroconfService.hxx
@@ -19,8 +19,6 @@
#define kREG_TYPE "_impressremote._tcp"
-#define CHARSET RTL_TEXTENCODING_UTF8
-
struct sockaddr_in;
typedef unsigned int uint;