From ab35d0ab54501cb552cea56ec920d475e4bfe26f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 17 Dec 2019 15:14:49 +0200 Subject: [PATCH] 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 --- ucb/source/ucp/hierarchy/hierarchyuri.cxx | 3 ++- ucb/source/ucp/hierarchy/hierarchyuri.hxx | 4 ---- 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;