ucb/source/ucp/hierarchy/hierarchyuri.cxx | 3 ++- ucb/source/ucp/hierarchy/hierarchyuri.hxx | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-)
New commits: commit ab35d0ab54501cb552cea56ec920d475e4bfe26f Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Tue Dec 17 15:14:49 2019 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Dec 18 08:27:22 2019 +0100 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.gran...@collabora.co.uk> 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits