diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-05-21 21:43:58 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-05-21 22:08:18 +0900 |
commit | 5f2ef2b270a70f3ad486012976e95d1192e04c2d (patch) | |
tree | 78f6007bbceb5e766fa3860e96e517f7433248b4 | |
parent | 01dc468f3d153b218762be392990b888186c444e (diff) |
removed unused #defines
Change-Id: I2aeba0342e46c3a4bd50f49b8a43ebb125269dfa
-rw-r--r-- | connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx | 7 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/queryorder.cxx | 5 | ||||
-rw-r--r-- | filter/source/msfilter/svdfppt.cxx | 6 | ||||
-rw-r--r-- | sd/source/filter/eppt/epptso.cxx | 5 | ||||
-rw-r--r-- | stoc/source/javavm/jvmargs.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/docrecovery.cxx | 4 |
6 files changed, 0 insertions, 29 deletions
diff --git a/connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx b/connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx index e27ab3481e9e..320bca05e6eb 100644 --- a/connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx +++ b/connectivity/source/drivers/hsqldb/StorageNativeOutputStream.cxx @@ -60,13 +60,6 @@ using namespace ::com::sun::star::io; using namespace ::com::sun::star::lang; using namespace ::connectivity::hsqldb; -#define OUSTR(x) ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(x) ) -/*****************************************************************************/ -/* exception macros */ - -#define ThrowException(env, type, msg) { \ - env->ThrowNew(env->FindClass(type), msg); } - // ----------------------------------------------------------------------------- /* * Class: com_sun_star_sdbcx_comp_hsqldb_StorageNativeOutputStream diff --git a/dbaccess/source/ui/dlg/queryorder.cxx b/dbaccess/source/ui/dlg/queryorder.cxx index 0f8a89c0f8cf..95a35a4614f8 100644 --- a/dbaccess/source/ui/dlg/queryorder.cxx +++ b/dbaccess/source/ui/dlg/queryorder.cxx @@ -153,11 +153,6 @@ DlgOrderCrit::DlgOrderCrit( Window * pParent, } //------------------------------------------------------------------------------ - -#define LbText(x) ((x).GetSelectEntry()) -#define LbPos(x) ((x).GetSelectEntryPos()) - -//------------------------------------------------------------------------------ DlgOrderCrit::~DlgOrderCrit() { DBG_DTOR(DlgOrderCrit,NULL); diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 0501d4a0aaa2..8e24fcf489c9 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -139,15 +139,9 @@ #define PPT_COLSCHEME_A_H_GESICHERT (0x08000007) #define ANSI_CHARSET 0 -#define DEFAULT_CHARSET 1 #define SYMBOL_CHARSET 2 -#define SHIFTJIS_CHARSET 128 -#define HANGEUL_CHARSET 129 -#define CHINESEBIG5_CHARSET 136 -#define OEM_CHARSET 255 /* Font Families */ -#define FF_DONTCARE 0x00 #define FF_ROMAN 0x10 #define FF_SWISS 0x20 #define FF_MODERN 0x30 diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index 36dda36b1ab6..70cf9a420e2b 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -94,12 +94,7 @@ using namespace ::com::sun::star; //////////////////////////////////////////////////////////////////////////////////////////////////// #define ANSI_CHARSET 0 -#define DEFAULT_CHARSET 1 #define SYMBOL_CHARSET 2 -#define SHIFTJIS_CHARSET 128 -#define HANGEUL_CHARSET 129 -#define CHINESEBIG5_CHARSET 136 -#define OEM_CHARSET 255 //////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/stoc/source/javavm/jvmargs.cxx b/stoc/source/javavm/jvmargs.cxx index 0855cff773ac..60bb0bd54ff2 100644 --- a/stoc/source/javavm/jvmargs.cxx +++ b/stoc/source/javavm/jvmargs.cxx @@ -31,8 +31,6 @@ #include <rtl/ustring.hxx> -#define OUSTR(x) rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( x )) - using ::rtl::OUString; namespace stoc_javavm { diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index 7bae88b9100e..0ead6fa9755c 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -2010,12 +2010,8 @@ void BrokenRecoveryDialog::impl_askForSavePath() } #if defined(WNT) -#define CHKFILE "crashdat.chk" -#define STKFILE "crashdat.stk" #define PRVFILE "crashdat.prv" #else -#define CHKFILE ".crash_report_checksum" -#define STKFILE ".crash_report_frames" #define PRVFILE ".crash_report_preview" #endif |