summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-04-20 01:56:39 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-04-20 01:57:32 +0900
commitac7f7b04627c9ee8321b1696fa609d9632763b8b (patch)
treeda501b977939ab6758d9db029579865de0159c3f /cui
parent3f7c2623633ccce76cb5523d9dc2a268226b34ab (diff)
removed unused defines
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx1
-rw-r--r--cui/source/dialogs/cuigaldlg.cxx7
-rw-r--r--cui/source/dialogs/cuiimapwnd.cxx2
-rw-r--r--cui/source/dialogs/linkdlg.cxx5
-rw-r--r--cui/source/inc/scriptdlg.hxx6
5 files changed, 0 insertions, 21 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index fe1e39d86774..200cd398da7f 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -79,7 +79,6 @@ using namespace ::com::sun::star::linguistic2;
using ::rtl::OUString;
-#define C2U(cChar) ::rtl::OUString::createFromAscii(cChar)
// struct SpellDialog_Impl ---------------------------------------------
struct SpellDialog_Impl
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index fd80ad33f3fd..9c14228b9d52 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -73,13 +73,6 @@ using namespace ::com::sun::star::ucb;
using namespace ::com::sun::star::ui::dialogs;
using namespace ::com::sun::star::uno;
-
-// -----------
-// - Defines -
-// -----------
-
-#define MAXPATH 1024
-
// ----------------
// - SearchThread -
// ----------------
diff --git a/cui/source/dialogs/cuiimapwnd.cxx b/cui/source/dialogs/cuiimapwnd.cxx
index f04dc998bedd..bdaef5fc86c6 100644
--- a/cui/source/dialogs/cuiimapwnd.cxx
+++ b/cui/source/dialogs/cuiimapwnd.cxx
@@ -53,8 +53,6 @@
#include <sot/formats.hxx>
-#define TRANSCOL Color( COL_WHITE )
-
/*************************************************************************
|*
|* URLDlg
diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx
index 11c714af8d76..b61e7213079b 100644
--- a/cui/source/dialogs/linkdlg.cxx
+++ b/cui/source/dialogs/linkdlg.cxx
@@ -53,11 +53,6 @@
#include <svl/svstdarr.hxx>
-#define MAX_FILENAME 18
-#define MAX_LINKNAME 18
-#define MAX_TYPENAME 15
-#define MAX_UPDATENAME 10
-
#define FILEOBJECT ( OBJECT_CLIENT_FILE & ~OBJECT_CLIENT_SO )
using namespace sfx2;
diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx
index 394f28987e37..c3470638a225 100644
--- a/cui/source/inc/scriptdlg.hxx
+++ b/cui/source/inc/scriptdlg.hxx
@@ -51,12 +51,6 @@
#define OBJTYPE_SCRIPTCONTAINER 3L
#define OBJTYPE_SFROOT 4L
-#define BROWSEMODE_MODULES 0x01
-#define BROWSEMODE_SUBS 0x02
-#define BROWSEMODE_OBJS 0x04
-#define BROWSEMODE_PROPS 0x08
-#define BROWSEMODE_SUBOBJS 0x10
-
#define INPUTMODE_NEWLIB 1
#define INPUTMODE_NEWMACRO 2
#define INPUTMODE_RENAME 3