summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-04-04 08:55:31 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-04-05 00:01:10 +0900
commitb905ac19da5d4168c06f42c21418ccdb2a5d9290 (patch)
tree246f1496e2264c83e75c28eb6e05690ecde9adf3
parent9dce646fbc187a0ca0ef0b22a0a2bdd8845689d0 (diff)
removed unused defines
-rw-r--r--dbaccess/source/ui/browser/sbagrid.cxx7
-rw-r--r--dbaccess/source/ui/control/FieldDescControl.cxx6
-rw-r--r--dbaccess/source/ui/misc/UITools.cxx6
-rw-r--r--editeng/source/outliner/outlvw.cxx9
-rw-r--r--editeng/source/uno/unonrule.cxx3
-rw-r--r--sfx2/source/doc/guisaveas.cxx2
6 files changed, 0 insertions, 33 deletions
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index 926f53dafcbe..534a1a8d4ba5 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -31,13 +31,6 @@
#include <svx/svxids.hrc>
-#define ITEMID_HORJUSTIFY SID_ATTR_ALIGN_HOR_JUSTIFY
-#define ITEMID_VERJUSTIFY SID_ATTR_ALIGN_VER_JUSTIFY
-#define ITEMID_LINEBREAK SID_ATTR_ALIGN_LINEBREAK
-#define ITEMID_MARGIN SID_ATTR_ALIGN_MARGIN
-#define ITEMID_NUMBERINFO SID_ATTR_NUMBERFORMAT_INFO
-
-
#include <svx/numinf.hxx>
#include <svx/dbaexchange.hxx>
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx
index 30a0bad60579..fc77e3f447d2 100644
--- a/dbaccess/source/ui/control/FieldDescControl.cxx
+++ b/dbaccess/source/ui/control/FieldDescControl.cxx
@@ -26,12 +26,6 @@
*
************************************************************************/
-
-#define ITEMID_HORJUSTIFY SID_ATTR_ALIGN_HOR_JUSTIFY
-#define ITEMID_VERJUSTIFY SID_ATTR_ALIGN_VER_JUSTIFY
-#define ITEMID_LINEBREAK SID_ATTR_ALIGN_LINEBREAK
-#define ITEMID_MARGIN SID_ATTR_ALIGN_MARGIN
-
#include "FieldDescControl.hxx"
#include "FieldControls.hxx"
#include <tools/diagnose_ex.h>
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index 2deb60720881..431f14285150 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -82,12 +82,6 @@
#include <svx/svxids.hrc>
-#define ITEMID_HORJUSTIFY SID_ATTR_ALIGN_HOR_JUSTIFY
-#define ITEMID_VERJUSTIFY SID_ATTR_ALIGN_VER_JUSTIFY
-#define ITEMID_LINEBREAK SID_ATTR_ALIGN_LINEBREAK
-#define ITEMID_MARGIN SID_ATTR_ALIGN_MARGIN
-#define ITEMID_NUMBERINFO SID_ATTR_NUMBERFORMAT_INFO
-
#include <svl/itempool.hxx>
#include <tools/string.hxx>
#include "dbaccess_helpid.hrc"
diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx
index a61ec1adb422..85b1b265a4d1 100644
--- a/editeng/source/outliner/outlvw.cxx
+++ b/editeng/source/outliner/outlvw.cxx
@@ -54,15 +54,6 @@
#include <svl/itemset.hxx>
#include <editeng/editstat.hxx>
-
-// Width of the border zones within which is scrolled during Drag and Drop
-#define OL_SCROLL_LRBORDERWIDTHPIX 10
-#define OL_SCROLL_TBBORDERWIDTHPIX 10
-
-// Value to the window content when scrolling during Drag and Drop
-#define OL_SCROLL_HOROFFSET 20 /* in % of VisibleSize.Width */
-#define OL_SCROLL_VEROFFSET 20 /* in % of VisibleSize.Height */
-
using namespace ::com::sun::star;
DBG_NAME(OutlinerView)
diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx
index e39bb600cd2a..45983f6e0e37 100644
--- a/editeng/source/uno/unonrule.cxx
+++ b/editeng/source/uno/unonrule.cxx
@@ -26,9 +26,6 @@
*
************************************************************************/
-
-#define PROPERTY_NONE 0
-
#include <com/sun/star/text/HoriOrientation.hpp>
#include <com/sun/star/awt/XBitmap.hpp>
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 5795c8d0b72f..2a34c89545c6 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -89,8 +89,6 @@
#include "../appl/app.hrc"
-#define DOCPROPSNUM 17
-
// flags that specify requested operation
#define EXPORT_REQUESTED 1
#define PDFEXPORT_REQUESTED 2