summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-17 15:14:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-18 08:27:22 +0100
commitab35d0ab54501cb552cea56ec920d475e4bfe26f (patch)
tree25297306944fc3e72bb323c92e74ff7ae1655aee
parent642e33e53f965d8f85d55f092809c4c5c23bba5d (diff)
loplugin:duplicate-defines
not used outside the .cxxx file, so move them there Change-Id: I1043d58bfa849c67a572d53c4cc60fc7e227d508 Reviewed-on: https://gerrit.libreoffice.org/85337 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--ucb/source/ucp/hierarchy/hierarchyuri.cxx3
-rw-r--r--ucb/source/ucp/hierarchy/hierarchyuri.hxx4
2 files changed, 2 insertions, 5 deletions
diff --git a/ucb/source/ucp/hierarchy/hierarchyuri.cxx b/ucb/source/ucp/hierarchy/hierarchyuri.cxx
index 0c1a187504be..8cb26e0f70b1 100644
--- a/ucb/source/ucp/hierarchy/hierarchyuri.cxx
+++ b/ucb/source/ucp/hierarchy/hierarchyuri.cxx
@@ -28,7 +28,8 @@
using namespace hierarchy_ucp;
-
+#define HIERARCHY_URL_SCHEME "vnd.sun.star.hier"
+#define HIERARCHY_URL_SCHEME_LENGTH 17
#define DEFAULT_DATA_SOURCE_SERVICE \
"com.sun.star.ucb.DefaultHierarchyDataSource"
diff --git a/ucb/source/ucp/hierarchy/hierarchyuri.hxx b/ucb/source/ucp/hierarchy/hierarchyuri.hxx
index 12973a9c3326..bf282d508f4f 100644
--- a/ucb/source/ucp/hierarchy/hierarchyuri.hxx
+++ b/ucb/source/ucp/hierarchy/hierarchyuri.hxx
@@ -25,10 +25,6 @@
namespace hierarchy_ucp {
-#define HIERARCHY_URL_SCHEME "vnd.sun.star.hier"
-#define HIERARCHY_URL_SCHEME_LENGTH 17
-
-
class HierarchyUri
{
mutable OUString m_aUri;