diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-26 10:18:14 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-27 09:36:53 +0100 |
commit | aa753f01ba4631614bb88ee7d3a3e6b222208b3e (patch) | |
tree | c8b168e8e0619c387d30f206848ec30ca7238a00 /svx/source | |
parent | 2ea2860ba56231d989c5e1b8f87392921bc2a8db (diff) |
-Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/dialog/framelinkarray.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/srchdlg.cxx | 3 | ||||
-rw-r--r-- | svx/source/sdr/contact/viewcontactofgraphic.cxx | 4 | ||||
-rw-r--r-- | svx/source/svdraw/svdattr.cxx | 6 | ||||
-rw-r--r-- | svx/source/svdraw/svdtext.cxx | 3 | ||||
-rw-r--r-- | svx/source/table/svdotable.cxx | 4 |
6 files changed, 0 insertions, 22 deletions
diff --git a/svx/source/dialog/framelinkarray.cxx b/svx/source/dialog/framelinkarray.cxx index 285ede4014c0..d82b959d686a 100644 --- a/svx/source/dialog/framelinkarray.cxx +++ b/svx/source/dialog/framelinkarray.cxx @@ -305,7 +305,6 @@ MergedCellIterator& MergedCellIterator::operator++() #define DBG_FRAME_CHECK_COL( col, funcname ) DBG_FRAME_CHECK( (col) < GetColCount(), funcname, "invalid column index" ) #define DBG_FRAME_CHECK_ROW( row, funcname ) DBG_FRAME_CHECK( (row) < GetRowCount(), funcname, "invalid row index" ) #define DBG_FRAME_CHECK_COLROW( col, row, funcname ) DBG_FRAME_CHECK( ((col) < GetColCount()) && ((row) < GetRowCount()), funcname, "invalid cell index" ) -#define DBG_FRAME_CHECK_INDEX( index, funcname ) DBG_FRAME_CHECK( (index) < GetCellCount(), funcname, "invalid cell index" ) #define DBG_FRAME_CHECK_COL_1( col, funcname ) DBG_FRAME_CHECK( (col) <= GetColCount(), funcname, "invalid column index" ) #define DBG_FRAME_CHECK_ROW_1( row, funcname ) DBG_FRAME_CHECK( (row) <= GetRowCount(), funcname, "invalid row index" ) @@ -1269,7 +1268,6 @@ void Array::DrawArray( OutputDevice& rDev, const Color* pForceColor ) const #undef DBG_FRAME_CHECK_ROW_1 #undef DBG_FRAME_CHECK_COL_1 -#undef DBG_FRAME_CHECK_INDEX #undef DBG_FRAME_CHECK_COLROW #undef DBG_FRAME_CHECK_ROW #undef DBG_FRAME_CHECK_COL diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index 5ef415f8a526..3d5a1fdce671 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -54,9 +54,6 @@ #include <svx/svxitems.hrc> #include "srchdlg.hrc" - -#define ITEMID_SETITEM 0 - #include <svl/srchitem.hxx> #include <svx/pageitem.hxx> #include "srchctrl.hxx" diff --git a/svx/source/sdr/contact/viewcontactofgraphic.cxx b/svx/source/sdr/contact/viewcontactofgraphic.cxx index 6897df78b92a..421a32bcee41 100644 --- a/svx/source/sdr/contact/viewcontactofgraphic.cxx +++ b/svx/source/sdr/contact/viewcontactofgraphic.cxx @@ -23,10 +23,6 @@ #include <svx/sdr/primitive2d/sdrattributecreator.hxx> #include <svl/itemset.hxx> -#ifndef ITEMID_GRF_CROP -#define ITEMID_GRF_CROP 0 -#endif - #include <svx/sdgcpitm.hxx> #include <svx/sdr/contact/displayinfo.hxx> #include <svx/sdr/contact/viewobjectcontact.hxx> diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx index 550e599ecebc..d11fea1ed665 100644 --- a/svx/source/svdraw/svdattr.cxx +++ b/svx/source/svdraw/svdattr.cxx @@ -59,14 +59,8 @@ #include <svx/xlineit0.hxx> #include <svx/svx3ditems.hxx> -#define ITEMID_BOX SDRATTR_TABLE_BORDER -#define ITEMID_BOXINFO SDRATTR_TABLE_BORDER_INNER #include "editeng/boxitem.hxx" - -#define ITEMID_SHADOW SDRATTR_TABLE_BORDER_SHADOW #include "editeng/shaditem.hxx" - -#define ITEMID_LINE 0 #include "editeng/lineitem.hxx" using namespace ::rtl; diff --git a/svx/source/svdraw/svdtext.cxx b/svx/source/svdraw/svdtext.cxx index 563573e282ca..c3365460d045 100644 --- a/svx/source/svdraw/svdtext.cxx +++ b/svx/source/svdraw/svdtext.cxx @@ -17,9 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - -#define ITEMID_FONTHEIGHT EE_CHAR_FONTHEIGHT - #include "svx/svdotext.hxx" #include "svx/svdetc.hxx" #include "editeng/outlobj.hxx" diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index d6f68a7f5dd9..7c368f557cb8 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -17,10 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - -#define ITEMID_BOX SDRATTR_TABLE_BORDER -#define ITEMID_BOXINFO SDRATTR_TABLE_BORDER_INNER - #include <com/sun/star/style/XStyleFamiliesSupplier.hpp> #include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/container/XNameAccess.hpp> |