summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-26 10:18:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-27 09:36:53 +0100
commitaa753f01ba4631614bb88ee7d3a3e6b222208b3e (patch)
treec8b168e8e0619c387d30f206848ec30ca7238a00 /editeng
parent2ea2860ba56231d989c5e1b8f87392921bc2a8db (diff)
-Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editundo.cxx3
-rw-r--r--editeng/source/editeng/eehtml.cxx3
-rw-r--r--editeng/source/items/flditem.cxx1
-rw-r--r--editeng/source/items/numitem.cxx2
-rw-r--r--editeng/source/items/svxfont.cxx3
-rw-r--r--editeng/source/misc/unolingu.cxx2
6 files changed, 0 insertions, 14 deletions
diff --git a/editeng/source/editeng/editundo.cxx b/editeng/source/editeng/editundo.cxx
index 22e00661d625..4e7b5fb02e26 100644
--- a/editeng/source/editeng/editundo.cxx
+++ b/editeng/source/editeng/editundo.cxx
@@ -28,9 +28,6 @@
DBG_NAME( EditUndo )
-#define NO_UNDO 0xFFFF
-#define GROUP_NOTFOUND 0xFFFF
-
static void lcl_DoSetSelection( EditView* pView, sal_uInt16 nPara )
{
EPaM aEPaM( nPara, 0 );
diff --git a/editeng/source/editeng/eehtml.cxx b/editeng/source/editeng/eehtml.cxx
index 24780099c2a9..dacf258e0e0e 100644
--- a/editeng/source/editeng/eehtml.cxx
+++ b/editeng/source/editeng/eehtml.cxx
@@ -36,9 +36,6 @@
#include "editeng/editeng.hxx"
-#define ACTION_INSERTTEXT 1
-#define ACTION_INSERTPARABRK 2
-
#define STYLE_PRE 101
EditHTMLParser::EditHTMLParser( SvStream& rIn, const String& rBaseURL, SvKeyValueIterator* pHTTPHeaderAttrs )
diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx
index c4ab4c557a90..83dee76661e2 100644
--- a/editeng/source/items/flditem.cxx
+++ b/editeng/source/items/flditem.cxx
@@ -22,7 +22,6 @@
#include <svl/zforlist.hxx>
#include <tools/urlobj.hxx>
-#define _SVX_FLDITEM_CXX
#include <unotools/localfilehelper.hxx>
#include <editeng/flditem.hxx>
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 9a71ec5e140a..719d93950032 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -47,8 +47,6 @@
#define DEF_WRITER_LSPACE 500 //Standard Indentation
#define DEF_DRAW_LSPACE 800 //Standard Indentation
-#define NUMITEM_VERSION_01 0x01
-#define NUMITEM_VERSION_02 0x02
#define NUMITEM_VERSION_03 0x03
#define NUMITEM_VERSION_04 0x04
diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx
index 0c943c7827b8..837c0325fba2 100644
--- a/editeng/source/items/svxfont.cxx
+++ b/editeng/source/items/svxfont.cxx
@@ -28,9 +28,6 @@
#include <editeng/svxfont.hxx>
#include <editeng/escapementitem.hxx>
-// Minimum: Percentage of kernel
-#define MINKERNPERCENT 5
-
#ifndef REDUCEDSVXFONT
const sal_Unicode CH_BLANK = sal_Unicode(' '); // ' ' Space character
static sal_Char const sDoubleSpace[] = " ";
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index c87d162ad2c7..e5b95169f076 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -65,8 +65,6 @@ using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::linguistic2;
-#define CSS com::sun::star
-
static uno::Reference< XLinguServiceManager2 > GetLngSvcMgr_Impl()
{
uno::Reference< XComponentContext > xContext = comphelper::getProcessComponentContext();