From 45ec1d9b56cec41596f806ebf845ebfcd30c9f46 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 23 Dec 2014 09:47:48 +0200 Subject: brute-force find-and-remove of unused #define constants. Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb --- ucb/source/ucp/file/filerror.hxx | 2 -- ucb/source/ucp/gio/gio_content.hxx | 1 - ucb/source/ucp/gio/gio_provider.hxx | 1 - ucb/source/ucp/hierarchy/hierarchyprovider.hxx | 1 - ucb/source/ucp/package/pkgprovider.hxx | 1 - ucb/source/ucp/tdoc/tdoc_provider.hxx | 1 - 6 files changed, 7 deletions(-) (limited to 'ucb') diff --git a/ucb/source/ucp/file/filerror.hxx b/ucb/source/ucp/file/filerror.hxx index 7e08a495dbda..a31de1b790bf 100644 --- a/ucb/source/ucp/file/filerror.hxx +++ b/ucb/source/ucp/file/filerror.hxx @@ -23,7 +23,6 @@ namespace fileaccess { // Error codes used to deliver the resulting exceptions -#define LOWEST_FREE_ERROR 72 #define TASKHANDLER_NO_ERROR 0 #define TASKHANDLER_UNSUPPORTED_COMMAND 1 @@ -53,7 +52,6 @@ namespace fileaccess { #define TASKHANDLING_NONAMESET_INSERT_COMMAND 23 #define TASKHANDLING_NOCONTENTTYPE_INSERT_COMMAND 24 -#define TASKHANDLING_ANYOTHER_WRITE 25 // not used #define TASKHANDLING_NO_OPEN_FILE_FOR_OVERWRITE 26 #define TASKHANDLING_NO_OPEN_FILE_FOR_WRITE 27 #define TASKHANDLING_NOTCONNECTED_FOR_WRITE 28 diff --git a/ucb/source/ucp/gio/gio_content.hxx b/ucb/source/ucp/gio/gio_content.hxx index ac42a66bd3c7..4b1c7d0bc8d0 100644 --- a/ucb/source/ucp/gio/gio_content.hxx +++ b/ucb/source/ucp/gio/gio_content.hxx @@ -49,7 +49,6 @@ namespace ucbhelper namespace gio { -#define GIO_CONTENT_SERVICE_NAME "com.sun.star.ucb.GIOContent" #define GIO_FILE_TYPE "application/vnd.sun.staroffice.gio-file" #define GIO_FOLDER_TYPE "application/vnd.sun.staroffice.gio-folder" diff --git a/ucb/source/ucp/gio/gio_provider.hxx b/ucb/source/ucp/gio/gio_provider.hxx index 569ba113f181..1d6a0932b932 100644 --- a/ucb/source/ucp/gio/gio_provider.hxx +++ b/ucb/source/ucp/gio/gio_provider.hxx @@ -23,7 +23,6 @@ #include #include -#define GIO_CONTENT_PROVIDER_SERVICE_NAME "com.sun.star.ucb.GIOContentProvider" namespace gio { diff --git a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx index 29e465d5cdec..dec90befbe79 100644 --- a/ucb/source/ucp/hierarchy/hierarchyprovider.hxx +++ b/ucb/source/ucp/hierarchy/hierarchyprovider.hxx @@ -39,7 +39,6 @@ namespace hierarchy_ucp { #define HIERARCHY_CONTENT_PROVIDER_SERVICE_NAME \ "com.sun.star.ucb.HierarchyContentProvider" -#define HIERARCHY_CONTENT_PROVIDER_SERVICE_NAME_LENGTH 41 #define HIERARCHY_URL_SCHEME \ "vnd.sun.star.hier" diff --git a/ucb/source/ucp/package/pkgprovider.hxx b/ucb/source/ucp/package/pkgprovider.hxx index 14213abc3d66..6fc6a70ba5ea 100644 --- a/ucb/source/ucp/package/pkgprovider.hxx +++ b/ucb/source/ucp/package/pkgprovider.hxx @@ -35,7 +35,6 @@ namespace package_ucp { // create instances of the provider. #define PACKAGE_CONTENT_PROVIDER_SERVICE_NAME \ "com.sun.star.ucb.PackageContentProvider" -#define PACKAGE_CONTENT_PROVIDER_SERVICE_NAME_LENGTH 39 // UCB Content Type. #define PACKAGE_FOLDER_CONTENT_TYPE \ diff --git a/ucb/source/ucp/tdoc/tdoc_provider.hxx b/ucb/source/ucp/tdoc/tdoc_provider.hxx index 0bbf31854b47..e8855497c356 100644 --- a/ucb/source/ucp/tdoc/tdoc_provider.hxx +++ b/ucb/source/ucp/tdoc/tdoc_provider.hxx @@ -42,7 +42,6 @@ namespace tdoc_ucp { #define TDOC_CONTENT_PROVIDER_SERVICE_NAME \ "com.sun.star.ucb.TransientDocumentsContentProvider" -#define TDOC_CONTENT_PROVIDER_SERVICE_NAME_LENGTH 50 #define TDOC_ROOT_CONTENT_TYPE \ "application/" TDOC_URL_SCHEME "-root" -- cgit