summaryrefslogtreecommitdiff
path: root/cui/source/options
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-04-22 05:07:37 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-04-22 05:08:37 +0900
commit2ce52cbb18e8083dc14c6701a2dab8ca32b81967 (patch)
tree6570a2f5a7d3a8c1555f20643b54299453524a50 /cui/source/options
parentbcb4defef7c9147a94ef19a51a18715449d3572d (diff)
removed unused defines
Diffstat (limited to 'cui/source/options')
-rw-r--r--cui/source/options/cuisrchdlg.cxx2
-rw-r--r--cui/source/options/fontsubs.cxx4
-rw-r--r--cui/source/options/optfltr.cxx3
-rw-r--r--cui/source/options/optgdlg.cxx4
-rw-r--r--cui/source/options/optgdlg.hxx1
-rw-r--r--cui/source/options/optinet2.hxx13
-rw-r--r--cui/source/options/optlingu.cxx5
-rw-r--r--cui/source/options/optmemory.cxx2
-rw-r--r--cui/source/options/optmemory.hxx1
-rw-r--r--cui/source/options/optpath.cxx1
10 files changed, 0 insertions, 36 deletions
diff --git a/cui/source/options/cuisrchdlg.cxx b/cui/source/options/cuisrchdlg.cxx
index 742223041dce..aba0b5ba288e 100644
--- a/cui/source/options/cuisrchdlg.cxx
+++ b/cui/source/options/cuisrchdlg.cxx
@@ -47,8 +47,6 @@
#include <cuires.hrc>
-#define ITEMID_SETITEM 0
-
#include <svl/srchitem.hxx>
#include <svx/pageitem.hxx>
#include <dialmgr.hxx>
diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx
index 06462872f338..d59c5eeb3739 100644
--- a/cui/source/options/fontsubs.cxx
+++ b/cui/source/options/fontsubs.cxx
@@ -46,10 +46,6 @@
/* */
/*********************************************************************/
-#define CBCOL_FIRST 0
-#define CBCOL_SECOND 1
-#define CBCOL_BOTH 2
-
SvxFontSubstTabPage::SvxFontSubstTabPage( Window* pParent,
const SfxItemSet& rSet ) :
SfxTabPage(pParent, CUI_RES(RID_SVX_FONT_SUBSTITUTION), rSet),
diff --git a/cui/source/options/optfltr.cxx b/cui/source/options/optfltr.cxx
index 8a3edd6977f2..27c7347701f3 100644
--- a/cui/source/options/optfltr.cxx
+++ b/cui/source/options/optfltr.cxx
@@ -43,9 +43,6 @@ enum MSFltrPg2_CheckBoxEntries {
InvalidCBEntry
};
-#define CBCOL_FIRST 0
-#define CBCOL_SECOND 1
-
// -----------------------------------------------------------------------
OfaMSFilterTabPage::OfaMSFilterTabPage(Window* pParent, const SfxItemSet& rSet)
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index aacdd564aa4e..ea17472c27f7 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -98,8 +98,6 @@
#include <svtools/apearcfg.hxx>
#include <svtools/optionsdrawinglayer.hxx>
-#define CONFIG_LANGUAGES "OfficeLanguages"
-
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
@@ -111,8 +109,6 @@ using ::rtl::OUString;
#define C2U(cChar) OUString::createFromAscii(cChar)
-#define MAX_PROGRAM_ENTRIES 3
-
// class OfaMiscTabPage --------------------------------------------------
int OfaMiscTabPage::DeactivatePage( SfxItemSet* pSet_ )
diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx
index 817cf46622d2..e4c6672789d6 100644
--- a/cui/source/options/optgdlg.hxx
+++ b/cui/source/options/optgdlg.hxx
@@ -34,7 +34,6 @@
#include <sfx2/tabdlg.hxx>
#include <svx/langbox.hxx>
#include <readonlyimage.hxx>
-#define FOLDERWEBVIEW_DEFAULTFILE "folder.so"
// predeclarations
class CanvasSettings;
diff --git a/cui/source/options/optinet2.hxx b/cui/source/options/optinet2.hxx
index 05550057c71b..ac0d42512ff8 100644
--- a/cui/source/options/optinet2.hxx
+++ b/cui/source/options/optinet2.hxx
@@ -47,12 +47,6 @@ class HeaderBar;
class SfxFilter;
-#ifndef SV_NODIALOG
-#define PROXY_CONTROLS 23
-#define CACHE_CONTROLS 20
-
-#define TYPE_CONTROLS 18
-
namespace svx {
class SecurityOptionsDialog;
}
@@ -228,13 +222,6 @@ public:
};
-#endif
-
-#ifdef WNT
-#else
-#define HELPER_PAGE_COMPLETE
-#endif
-
struct SvxEMailTabPage_Impl;
class SvxEMailTabPage : public SfxTabPage
{
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index 7e2cb756d832..e433c44e11a9 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -90,7 +90,6 @@ using namespace ::com::sun::star::beans;
namespace css = com::sun::star;
#define C2U(cChar) OUString::createFromAscii(cChar)
-#define SVX_MAX_USERDICTS 20
#define CBCOL_FIRST 0
#define CBCOL_SECOND 1
#define CBCOL_BOTH 2
@@ -1068,10 +1067,6 @@ void SvxLinguData_Impl::Reconfigure( const OUString &rDisplayName, sal_Bool bEna
// class SvxLinguTabPage -------------------------------------------------
-#define CBCOL_FIRST 0
-#define CBCOL_SECOND 1
-#define CBCOL_BOTH 2
-
SvxLinguTabPage::SvxLinguTabPage( Window* pParent,
const SfxItemSet& rSet ):
diff --git a/cui/source/options/optmemory.cxx b/cui/source/options/optmemory.cxx
index 05b3211c2276..c247c30f0064 100644
--- a/cui/source/options/optmemory.cxx
+++ b/cui/source/options/optmemory.cxx
@@ -69,8 +69,6 @@
#include "helpid.hrc"
#include <dialmgr.hxx>
-#define CONFIG_LANGUAGES "OfficeLanguages"
-
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
diff --git a/cui/source/options/optmemory.hxx b/cui/source/options/optmemory.hxx
index 65b9a1431006..60da400f44ce 100644
--- a/cui/source/options/optmemory.hxx
+++ b/cui/source/options/optmemory.hxx
@@ -34,7 +34,6 @@
#include <vcl/fixed.hxx>
#include <sfx2/tabdlg.hxx>
#include <svx/langbox.hxx>
-#define FOLDERWEBVIEW_DEFAULTFILE "folder.so"
// class OfaMiscTabPage --------------------------------------------------
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index f1f4d863f868..63593c0d93ba 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -81,7 +81,6 @@ using namespace svx;
#define POSTFIX_INTERNAL String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "_internal" ) )
#define POSTFIX_USER String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "_user" ) )
#define POSTFIX_WRITABLE String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "_writable" ) )
-#define POSTFIX_READONLY String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "_readonly" ) )
#define VAR_ONE String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "%1" ) )
#define IODLG_CONFIGNAME String(DEFINE_CONST_UNICODE("FilePicker_Save"))