[Libreoffice-commits] core.git: sd/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Fri Dec 20 16:28:59 UTC 2019


 sd/source/ui/inc/RemoteServer.hxx                   |    2 --
 sd/source/ui/remotecontrol/BufferedStreamSocket.hxx |    1 -
 sd/source/ui/remotecontrol/Communicator.hxx         |    1 -
 sd/source/ui/remotecontrol/ZeroconfService.hxx      |    2 --
 4 files changed, 6 deletions(-)

New commits:
commit 44c025aa1ec366109163f6816ffabdc26f6cff00
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Dec 18 14:15:44 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Dec 20 17:27:45 2019 +0100

    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 at collabora.co.uk>

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;


More information about the Libreoffice-commits mailing list