From ad181973af9be0b5bea129ef9a1976b379681e66 Mon Sep 17 00:00:00 2001 From: Marcos Paulo de Souza Date: Mon, 8 Oct 2012 20:45:45 -0300 Subject: Get ride of not used macros in filter Change-Id: I7f06720c9f4614b763066bb3cf136f2464b2c7bd Signed-off-by: Marcos Paulo de Souza Reviewed-on: https://gerrit.libreoffice.org/843 Reviewed-by: Thomas Arnhold Tested-by: Thomas Arnhold --- filter/source/config/cache/filterfactory.cxx | 30 ---------------------------- filter/source/msfilter/msdffimp.cxx | 8 -------- filter/source/xsltdialog/xmlfileview.cxx | 6 ------ 3 files changed, 44 deletions(-) (limited to 'filter') diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx index 931b3f28df31..fa918f683060 100644 --- a/filter/source/config/cache/filterfactory.cxx +++ b/filter/source/config/cache/filterfactory.cxx @@ -35,20 +35,6 @@ namespace filter{ namespace css = ::com::sun::star; -/** @short can be used to query for filters related to its application module. - */ -#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" - -//_______________________________________________ - /** @short define all possible parts of a filter query. @descr syntax: "[:[=]]" @@ -64,22 +50,6 @@ namespace css = ::com::sun::star; default_first set default filter on top of return list false case_sensitive compare "sort_prop" case sensitive false */ -#define SEPERATOR_QUERYPARAM ((sal_Unicode)':') -#define SEPERATOR_QUERYPARAMVALUE ((sal_Unicode)'=') - -#define QUERYPARAM_IFLAGS ::rtl::OUString( "iflags" ) -#define QUERYPARAM_EFLAGS ::rtl::OUString( "eflags" ) -#define QUERYPARAM_SORT_PROP ::rtl::OUString( "sort_prop" ) - -#define QUERYPARAM_DESCENDING ::rtl::OUString( "descending" ) -#define QUERYPARAM_USE_ORDER ::rtl::OUString( "use_order" ) -#define QUERYPARAM_DEFAULT_FIRST ::rtl::OUString( "default_first" ) -#define QUERYPARAM_CASE_SENSITIVE ::rtl::OUString( "case_sensitive" ) - -#define QUERYPARAMVALUE_SORT_PROP_NAME ::rtl::OUString( "name" ) -#define QUERYPARAMVALUE_SORT_PROP_UINAME ::rtl::OUString( "uiname" ) - - FilterFactory::FilterFactory(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR) { diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index d1c68387aef3..066c84922569 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -222,14 +222,6 @@ SvStream& operator>>( SvStream& rIn, DffRecordHeader& rRec ) return rIn; } -// measurements dashed lines -#define LLEN_MIDDLE (450) -#define LLEN_SPACE_MIDDLE (360) -#define LLEN_LONG (LLEN_MIDDLE * 2) -#define LLEN_SPACE_LONG (LLEN_SPACE_MIDDLE + 20) -#define LLEN_POINT (LLEN_MIDDLE / 4) -#define LLEN_SPACE_POINT (LLEN_SPACE_MIDDLE / 4) - SvStream& operator>>( SvStream& rIn, DffPropSet& rRec ) { rRec.InitializePropSet(); diff --git a/filter/source/xsltdialog/xmlfileview.cxx b/filter/source/xsltdialog/xmlfileview.cxx index db3973d7f8cb..9cf3522902bf 100644 --- a/filter/source/xsltdialog/xmlfileview.cxx +++ b/filter/source/xsltdialog/xmlfileview.cxx @@ -55,12 +55,6 @@ using namespace com::sun::star::xml::sax; using ::rtl::OUString; - -#define MAX_SYNTAX_HIGHLIGHT 20 -#define MAX_HIGHLIGHTTIME 200 -#define SYNTAX_HIGHLIGHT_TIMEOUT 200 - - struct SwTextPortion { sal_uInt16 nLine; -- cgit