diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-17 15:14:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-18 08:27:22 +0100 |
commit | ab35d0ab54501cb552cea56ec920d475e4bfe26f (patch) | |
tree | 25297306944fc3e72bb323c92e74ff7ae1655aee /ucb | |
parent | 642e33e53f965d8f85d55f092809c4c5c23bba5d (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>
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/hierarchy/hierarchyuri.cxx | 3 | ||||
-rw-r--r-- | 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; |