diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-25 12:36:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-25 12:38:36 +0200 |
commit | 995296ea1d48636363a3a80068ceeb002b8bedb8 (patch) | |
tree | 75283f4eb707186eaf2a98a98a1a986e4242b8b5 /framework/inc/queries.h | |
parent | db081acb013666a84f0ae30c3c3132835d2638db (diff) |
loplugin:stringconstant: Flag more inefficiencies
Change-Id: I63f1b54cc9ef49a83800b671a60ea25df7fc2121
Diffstat (limited to 'framework/inc/queries.h')
-rw-r--r-- | framework/inc/queries.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/framework/inc/queries.h b/framework/inc/queries.h index 6311bc64a7e6..8e0abff00de1 100644 --- a/framework/inc/queries.h +++ b/framework/inc/queries.h @@ -33,16 +33,16 @@ namespace framework{ They are used by our FilterFactory or our TypeDetection to return subsets of our cached configuration. *//*-*************************************************************************************************************/ -#define BASE_QUERY_ALL DECLARE_ASCII("_query_all" ) -#define BASE_QUERY_WRITER DECLARE_ASCII("_query_Writer" ) -#define BASE_QUERY_WEB DECLARE_ASCII("_query_web" ) -#define BASE_QUERY_GLOBAL DECLARE_ASCII("_query_global" ) -#define BASE_QUERY_CHART DECLARE_ASCII("_query_chart" ) -#define BASE_QUERY_CALC DECLARE_ASCII("_query_calc" ) -#define BASE_QUERY_IMPRESS DECLARE_ASCII("_query_impress" ) -#define BASE_QUERY_DRAW DECLARE_ASCII("_query_draw" ) -#define BASE_QUERY_MATH DECLARE_ASCII("_query_math" ) -#define BASE_QUERY_GRAPHICS DECLARE_ASCII("_query_graphics") +#define BASE_QUERY_ALL "_query_all" +#define BASE_QUERY_WRITER "_query_Writer" +#define BASE_QUERY_WEB "_query_web" +#define BASE_QUERY_GLOBAL "_query_global" +#define BASE_QUERY_CHART "_query_chart" +#define BASE_QUERY_CALC "_query_calc" +#define BASE_QUERY_IMPRESS "_query_impress" +#define BASE_QUERY_DRAW "_query_draw" +#define BASE_QUERY_MATH "_query_math" +#define BASE_QUERY_GRAPHICS "_query_graphics" /*-************************************************************************************************************ @short These parameters can be used in combination with BASE_QUERY_... defines to @@ -63,17 +63,17 @@ namespace framework{ #define SEPARATOR_QUERYPARAM ((sal_Unicode)':') #define SEPARATOR_QUERYPARAMVALUE ((sal_Unicode)'=') -#define QUERYPARAM_IFLAGS DECLARE_ASCII("iflags" ) -#define QUERYPARAM_EFLAGS DECLARE_ASCII("eflags" ) -#define QUERYPARAM_SORT_PROP DECLARE_ASCII("sort_prop" ) +#define QUERYPARAM_IFLAGS "iflags" +#define QUERYPARAM_EFLAGS "eflags" +#define QUERYPARAM_SORT_PROP "sort_prop" -#define QUERYPARAM_DESCENDING DECLARE_ASCII("descending" ) -#define QUERYPARAM_USE_ORDER DECLARE_ASCII("use_order" ) -#define QUERYPARAM_DEFAULT_FIRST DECLARE_ASCII("default_first" ) -#define QUERYPARAM_CASE_SENSITIVE DECLARE_ASCII("case_sensitive" ) +#define QUERYPARAM_DESCENDING "descending" +#define QUERYPARAM_USE_ORDER "use_order" +#define QUERYPARAM_DEFAULT_FIRST "default_first" +#define QUERYPARAM_CASE_SENSITIVE "case_sensitive" -#define QUERYPARAMVALUE_SORT_PROP_NAME DECLARE_ASCII("name" ) -#define QUERYPARAMVALUE_SORT_PROP_UINAME DECLARE_ASCII("uiname" ) +#define QUERYPARAMVALUE_SORT_PROP_NAME "name" +#define QUERYPARAMVALUE_SORT_PROP_UINAME "uiname" /*-************************************************************************************************************ @short Helper class to support easy building of a query statements. |