[Libreoffice-commits] .: filter/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Oct 9 01:23:44 PDT 2012
filter/source/config/cache/filterfactory.cxx | 30 ---------------------------
filter/source/msfilter/msdffimp.cxx | 8 -------
filter/source/xsltdialog/xmlfileview.cxx | 6 -----
3 files changed, 44 deletions(-)
New commits:
commit ad181973af9be0b5bea129ef9a1976b379681e66
Author: Marcos Paulo de Souza <marcos.souza.org at gmail.com>
Date: Mon Oct 8 20:45:45 2012 -0300
Get ride of not used macros in filter
Change-Id: I7f06720c9f4614b763066bb3cf136f2464b2c7bd
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org at gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/843
Reviewed-by: Thomas Arnhold <thomas at arnhold.org>
Tested-by: Thomas Arnhold <thomas at arnhold.org>
diff --git a/filter/source/config/cache/filterfactory.cxx b/filter/source/config/cache/filterfactory.cxx
index 931b3f2..fa918f6 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: "<query>[:<param>[=<value>]]"
@@ -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 d1c6838..066c849 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 db3973d..9cf3522 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;
More information about the Libreoffice-commits
mailing list