From e194f5bda1c7cb218f649d316122513f571c5180 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Tue, 10 Apr 2012 06:50:53 +0900 Subject: removed unused defines --- sfx2/source/appl/impldde.cxx | 3 --- sfx2/source/appl/sfxhelp.cxx | 3 --- sfx2/source/bastyp/frmhtml.cxx | 3 --- sfx2/source/bastyp/progress.cxx | 8 -------- sfx2/source/doc/docfile.cxx | 3 --- sfx2/source/doc/doctempl.cxx | 2 -- sfx2/source/doc/docvor.cxx | 1 - sfx2/source/doc/frmdescr.cxx | 2 -- sfx2/source/doc/oleprops.cxx | 1 - 9 files changed, 26 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/appl/impldde.cxx b/sfx2/source/appl/impldde.cxx index ee4c3dbf8fdb..9184f57d92e3 100644 --- a/sfx2/source/appl/impldde.cxx +++ b/sfx2/source/appl/impldde.cxx @@ -54,9 +54,6 @@ #include #include -#define DDELINK_COLD 0 -#define DDELINK_HOT 1 - #define DDELINK_ERROR_APP 1 #define DDELINK_ERROR_DATA 2 #define DDELINK_ERROR_LINK 3 diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 80a8f881925b..1335e1fb0fa3 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -86,9 +86,6 @@ using namespace ::com::sun::star::frame; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::system; -#define ERROR_TAG String( DEFINE_CONST_UNICODE("Error: ") ) -#define PATH_TAG String( DEFINE_CONST_UNICODE("\nPath: ") ) - class NoHelpErrorBox : public ErrorBox { public: diff --git a/sfx2/source/bastyp/frmhtml.cxx b/sfx2/source/bastyp/frmhtml.cxx index d8b9e1826ef5..dc24e354102d 100644 --- a/sfx2/source/bastyp/frmhtml.cxx +++ b/sfx2/source/bastyp/frmhtml.cxx @@ -40,9 +40,6 @@ #include #include "sfxtypes.hxx" -#define SFX_HTMLFRMSIZE_REL 0x0001 -#define SFX_HTMLFRMSIZE_PERCENT 0x0002 - static sal_Char const sHTML_SC_yes[] = "YES"; static sal_Char const sHTML_SC_no[] = "NO"; static sal_Char const sHTML_SC_auto[] = "AUTO"; diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx index 22025a60e1d5..f31b125c25da 100644 --- a/sfx2/source/bastyp/progress.cxx +++ b/sfx2/source/bastyp/progress.cxx @@ -82,17 +82,9 @@ struct SfxProgress_Impl //======================================================================== -#define TIMEOUT_PROGRESS 5L /* 10th s */ -#define MAXPERCENT_PROGRESS 33 - -#define TIMEOUT_RESCHEDULE 10L /* 10th s */ -#define MAXPERCENT_RESCHEDULE 50 - #define Progress #include "sfxslots.hxx" -#define aTypeLibInfo aProgressTypeLibImpl - //======================================================================== extern sal_uInt32 Get10ThSec(); diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 2dc357275737..0f30aab012b7 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -137,9 +137,6 @@ using namespace ::com::sun::star::io; #include "sfxacldetect.hxx" #include "officecfg/Office/Common.hxx" -#define MAX_REDIRECT 5 - - //========================================================== namespace { diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index e2733a6484ae..9d3230d3d9ab 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -106,8 +106,6 @@ using ::std::advance; //======================================================================== -// #define DONT_USE_HIERARCHY - #define TITLE "Title" #define IS_FOLDER "IsFolder" #define PROPERTY_TYPE "TypeDescription" diff --git a/sfx2/source/doc/docvor.cxx b/sfx2/source/doc/docvor.cxx index 00a0037f6007..e9ee57d4497b 100644 --- a/sfx2/source/doc/docvor.cxx +++ b/sfx2/source/doc/docvor.cxx @@ -73,7 +73,6 @@ #include #include -static const char cDelim = ':'; sal_Bool SfxOrganizeListBox_Impl::bDropMoveOk = sal_True; using namespace ::com::sun::star; diff --git a/sfx2/source/doc/frmdescr.cxx b/sfx2/source/doc/frmdescr.cxx index 760869ffe58b..e4f73a21749f 100644 --- a/sfx2/source/doc/frmdescr.cxx +++ b/sfx2/source/doc/frmdescr.cxx @@ -37,8 +37,6 @@ DBG_NAME(SfxFrameDescriptor); -#define VERSION (sal_uInt16) 3 - struct SfxFrameDescriptor_Impl { Wallpaper* pWallpaper; diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx index cab4f0a53ec4..6a8cf4676b89 100644 --- a/sfx2/source/doc/oleprops.cxx +++ b/sfx2/source/doc/oleprops.cxx @@ -40,7 +40,6 @@ // ============================================================================ -#define VERSION 11 #define STREAM_BUFFER_SIZE 2048 // usings -- cgit v1.2.3