dbaccess/source/ui/browser/sbagrid.cxx | 7 ------- dbaccess/source/ui/control/FieldDescControl.cxx | 6 ------ dbaccess/source/ui/misc/UITools.cxx | 6 ------ editeng/source/outliner/outlvw.cxx | 9 --------- editeng/source/uno/unonrule.cxx | 3 --- sfx2/source/doc/guisaveas.cxx | 2 -- 6 files changed, 33 deletions(-)
New commits: commit b905ac19da5d4168c06f42c21418ccdb2a5d9290 Author: Takeshi Abe <t...@fixedpoint.jp> Date: Wed Apr 4 08:55:31 2012 +0900 removed unused defines diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx index 926f53d..534a1a8 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 30a0bad..fc77e3f 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 2deb607..431f142 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 a61ec1a..85b1b26 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 e39bb60..45983f6 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 5795c8d..2a34c89 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 _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits