summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/app/apphdl.cxx2
-rw-r--r--sw/source/ui/config/uinums.cxx1
-rw-r--r--sw/source/ui/index/swuiidxmrk.cxx1
-rw-r--r--sw/source/ui/misc/swruler.cxx2
-rw-r--r--sw/source/ui/shells/basesh.cxx1
-rw-r--r--sw/source/ui/shells/slotadd.cxx1
-rw-r--r--sw/source/ui/shells/textsh.cxx7
-rw-r--r--sw/source/ui/uiview/view0.cxx10
-rw-r--r--sw/source/ui/vba/vbaapplication.cxx10
-rw-r--r--sw/source/ui/web/wtextsh.cxx4
-rw-r--r--sw/source/ui/web/wview.cxx10
11 files changed, 0 insertions, 49 deletions
diff --git a/sw/source/ui/app/apphdl.cxx b/sw/source/ui/app/apphdl.cxx
index c456d72e2c6c..cefbc1435064 100644
--- a/sw/source/ui/app/apphdl.cxx
+++ b/sw/source/ui/app/apphdl.cxx
@@ -107,8 +107,6 @@ using namespace ::com::sun::star;
// here are the SlotID's being included
// see Idl-file
#define SwModule
-#define ViewSettings
-#define PrintSettings
#include <sfx2/msg.hxx>
#include "swslots.hxx"
#include <cfgid.h>
diff --git a/sw/source/ui/config/uinums.cxx b/sw/source/ui/config/uinums.cxx
index 8e416d74c4c1..b9207bb3cf7f 100644
--- a/sw/source/ui/config/uinums.cxx
+++ b/sw/source/ui/config/uinums.cxx
@@ -43,7 +43,6 @@ using namespace ::com::sun::star;
#define VERSION_30B ((sal_uInt16)250)
#define VERSION_31B ((sal_uInt16)326)
#define VERSION_40A ((sal_uInt16)364)
-#define VERSION_50A ((sal_uInt16)373)
#define VERSION_53A ((sal_uInt16)596)
#define ACT_NUM_VERSION VERSION_53A
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index f9831bc717e3..f0069317db12 100644
--- a/sw/source/ui/index/swuiidxmrk.cxx
+++ b/sw/source/ui/index/swuiidxmrk.cxx
@@ -64,7 +64,6 @@
#define POS_CONTENT 0
#define POS_INDEX 1
-#define POS_USER 2
static sal_uInt16 nTypePos = 1; // TOX_INDEX as standard
static sal_uInt16 nKey1Pos = USHRT_MAX;
diff --git a/sw/source/ui/misc/swruler.cxx b/sw/source/ui/misc/swruler.cxx
index 47508fffb587..a41fc0bcf5d3 100644
--- a/sw/source/ui/misc/swruler.cxx
+++ b/sw/source/ui/misc/swruler.cxx
@@ -30,10 +30,8 @@
#define CONTROL_LEFT_OFFSET 6
#define CONTROL_RIGHT_OFFSET 3
#define CONTROL_TOP_OFFSET 4
-#define CONTROL_BOTTOM_OFFSET 4
#define CONTROL_TRIANGLE_WIDTH 4
-#define CONTROL_TRIANGLE_HEIGHT 7
#define CONTROL_TRIANGLE_PAD 3
// Constructor
diff --git a/sw/source/ui/shells/basesh.cxx b/sw/source/ui/shells/basesh.cxx
index 3123b4fa53db..c36def954fff 100644
--- a/sw/source/ui/shells/basesh.cxx
+++ b/sw/source/ui/shells/basesh.cxx
@@ -123,7 +123,6 @@ static sal_uInt8 nHeaderPos;
static sal_uInt8 nFooterPos;
#define SwBaseShell
-#define Shadow
#include <sfx2/msg.hxx>
#include "swslots.hxx"
diff --git a/sw/source/ui/shells/slotadd.cxx b/sw/source/ui/shells/slotadd.cxx
index a8c365f92798..b05002af8604 100644
--- a/sw/source/ui/shells/slotadd.cxx
+++ b/sw/source/ui/shells/slotadd.cxx
@@ -125,7 +125,6 @@
#define SvxDrawToolItem SfxAllEnumItem
#define SvxDrawAlignItem SfxAllEnumItem
-#define SvxDrawBezierItem SfxAllEnumItem
#define avmedia_MediaItem ::avmedia::MediaItem
#define SFX_TYPEMAP
diff --git a/sw/source/ui/shells/textsh.cxx b/sw/source/ui/shells/textsh.cxx
index 26f6e02963bf..b106ceb1fdea 100644
--- a/sw/source/ui/shells/textsh.cxx
+++ b/sw/source/ui/shells/textsh.cxx
@@ -17,9 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
-
-#define _SW_FRMVALID_HXX
#include <hintids.hxx>
#include <comphelper/string.hxx>
#include <svl/globalnameitem.hxx>
@@ -99,10 +96,6 @@
#include <chartins.hxx>
#define SwTextShell
-#define Paragraph
-#define HyphenZone
-#define TextFont
-#define DropCap
#include <sfx2/msg.hxx>
#include <swslots.hxx>
#include <SwRewriter.hxx>
diff --git a/sw/source/ui/uiview/view0.cxx b/sw/source/ui/uiview/view0.cxx
index 4a82653125a0..d43bece4d415 100644
--- a/sw/source/ui/uiview/view0.cxx
+++ b/sw/source/ui/uiview/view0.cxx
@@ -54,18 +54,9 @@
#include "wview.hxx"
#include "shells.hrc"
-#define OLEObjects
#define SwView
-#define Frames
-#define Graphics
-#define Tables
-#define Controls
#define GlobalContents
#define Text
-#define Frame
-#define Graphic
-#define Object
-#define Draw
#define TextDrawText
#define TextInTable
#define ListInText
@@ -73,7 +64,6 @@
#define WebTextInTable
#define WebListInText
#define WebListInTable
-#define TextPage
#include <sfx2/msg.hxx>
#include "swslots.hxx"
#include <PostItMgr.hxx>
diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx
index 918b11efe1d4..88cf4786edb0 100644
--- a/sw/source/ui/vba/vbaapplication.cxx
+++ b/sw/source/ui/vba/vbaapplication.cxx
@@ -44,16 +44,6 @@ using ::com::sun::star::uno::UNO_QUERY_THROW;
using ::com::sun::star::uno::UNO_QUERY;
using ::rtl::OUString;
-// #TODO is this defined somewhere else?
-#if ( defined UNX )
-#define FILE_PATH_SEPERATOR "/"
-#else // windows
-#define FILE_PATH_SEPERATOR "\\"
-#endif
-
-#define EXCELVERSION "11.0"
-
-
SwVbaApplication::SwVbaApplication( uno::Reference<uno::XComponentContext >& xContext ): SwVbaApplication_BASE( xContext )
{
}
diff --git a/sw/source/ui/web/wtextsh.cxx b/sw/source/ui/web/wtextsh.cxx
index d433a6e9965b..00ce8a75a814 100644
--- a/sw/source/ui/web/wtextsh.cxx
+++ b/sw/source/ui/web/wtextsh.cxx
@@ -38,10 +38,6 @@
// STATIC DATA
#define SwWebTextShell
-#define Paragraph
-#define HyphenZone
-#define TextFont
-#define DropCap
#include <sfx2/msg.hxx>
#include "swslots.hxx"
diff --git a/sw/source/ui/web/wview.cxx b/sw/source/ui/web/wview.cxx
index 072d92aa89ed..68df58e95b88 100644
--- a/sw/source/ui/web/wview.cxx
+++ b/sw/source/ui/web/wview.cxx
@@ -59,20 +59,10 @@
#include <shells.hrc>
#define SwWebView
-#define Frames
-#define Graphics
-#define OLEObjects
-#define Controls
#define Text
-#define Frame
-#define Graphic
-#define Object
-#define Draw
-#define DrawText
#define TextInTable
#define ListInText
#define ListInTable
-#define Page
#include <swslots.hxx>