summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-04-10 06:50:53 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-04-10 06:53:35 +0900
commite194f5bda1c7cb218f649d316122513f571c5180 (patch)
tree93e84fd98e1d28d951557e99c2ebc46d7b194069 /sfx2
parente5c6f53714335360c360e99b851da64bd2ccf74f (diff)
removed unused defines
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/impldde.cxx3
-rw-r--r--sfx2/source/appl/sfxhelp.cxx3
-rw-r--r--sfx2/source/bastyp/frmhtml.cxx3
-rw-r--r--sfx2/source/bastyp/progress.cxx8
-rw-r--r--sfx2/source/doc/docfile.cxx3
-rw-r--r--sfx2/source/doc/doctempl.cxx2
-rw-r--r--sfx2/source/doc/docvor.cxx1
-rw-r--r--sfx2/source/doc/frmdescr.cxx2
-rw-r--r--sfx2/source/doc/oleprops.cxx1
9 files changed, 0 insertions, 26 deletions
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 <svl/svdde.hxx>
#include <sot/formats.hxx>
-#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 <sfx2/fcontnr.hxx>
#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 <comphelper/processfactory.hxx>
#include <svl/svstdarr.hxx>
-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