summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-05-11 22:22:20 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-05-11 22:27:57 +0900
commitbe0c5bd426db05c1dae1b63263e7fac61ec09494 (patch)
tree7e4437839a719fc74ed2cd0b23eee70db90ecc37 /svtools
parent193872bcdfc3f988463a4ff62e25a4f31d81469d (diff)
removed unused defines
Change-Id: Icc2ed1499615728bd8dce1b34e64095fcd5d78b9
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/config/apearcfg.cxx1
-rw-r--r--svtools/source/config/miscopt.cxx3
-rw-r--r--svtools/source/config/test/test.cxx3
-rw-r--r--svtools/source/contnr/imivctl1.cxx1
-rw-r--r--svtools/source/contnr/svlbitm.cxx2
-rw-r--r--svtools/source/control/ctrlbox.cxx3
-rw-r--r--svtools/source/control/roadmap.cxx1
7 files changed, 0 insertions, 14 deletions
diff --git a/svtools/source/config/apearcfg.cxx b/svtools/source/config/apearcfg.cxx
index 0847ad020cd8..0f6c7921ecc1 100644
--- a/svtools/source/config/apearcfg.cxx
+++ b/svtools/source/config/apearcfg.cxx
@@ -36,7 +36,6 @@
#include <rtl/logfile.hxx>
#include <sal/macros.h>
-#define DEFAULT_LOOKNFEEL 0
#define DEFAULT_DRAGMODE 2
#define DEFAULT_SNAPMODE 0
#define DEFAULT_SCALEFACTOR 100
diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx
index f43a7c8c0020..51d2ee7917cc 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -51,7 +51,6 @@ using namespace ::com::sun::star;
#define ASCII_STR(s) OUString( RTL_CONSTASCII_USTRINGPARAM(s) )
#define ROOTNODE_MISC ASCII_STR("Office.Common/Misc")
-#define DEFAULT_PLUGINSENABLED sal_True;
#define PROPERTYNAME_PLUGINSENABLED ASCII_STR("PluginsEnabled")
#define PROPERTYHANDLE_PLUGINSENABLED 0
@@ -76,8 +75,6 @@ using namespace ::com::sun::star;
#define PROPERTYNAME_EXPERIMENTALMODE ASCII_STR("ExperimentalMode")
#define PROPERTYHANDLE_EXPERIMENTALMODE 10
-#define PROPERTYCOUNT 11
-
#define VCL_TOOLBOX_STYLE_FLAT ((sal_uInt16)0x0004) // from <vcl/toolbox.hxx>
class SvtMiscOptions_Impl : public ConfigItem
diff --git a/svtools/source/config/test/test.cxx b/svtools/source/config/test/test.cxx
index bfc48bf8159b..2a63be2f1945 100644
--- a/svtools/source/config/test/test.cxx
+++ b/svtools/source/config/test/test.cxx
@@ -96,9 +96,6 @@ using namespace ::com::sun::star::registry ;
#define ASCII( STEXT ) OUString( RTL_CONSTASCII_USTRINGPARAM( STEXT ))
-#define SERVICENAME_SIMPLEREGISTRY OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.registry.SimpleRegistry" ))
-#define SERVICENAME_NESTEDREGISTRY OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.registry.NestedRegistry" ))
-
//_________________________________________________________________________________________________________________
// declarations
//_________________________________________________________________________________________________________________
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index 7f7eae49683a..48e8b10eec4b 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -46,7 +46,6 @@
#include <algorithm>
#include <memory>
-#define DD_SCROLL_PIXEL 24
#define IMPICNVIEW_ACC_RETURN 1
#define IMPICNVIEW_ACC_ESCAPE 2
diff --git a/svtools/source/contnr/svlbitm.cxx b/svtools/source/contnr/svlbitm.cxx
index a4cbfc010427..ba1ee4b93ce0 100644
--- a/svtools/source/contnr/svlbitm.cxx
+++ b/svtools/source/contnr/svlbitm.cxx
@@ -36,8 +36,6 @@
#include <vcl/sound.hxx>
#include <vcl/salnativewidgets.hxx>
-#define TABOFFS_NOT_VALID -2000000
-
struct SvLBoxButtonData_Impl
{
SvLBoxEntry* pEntry;
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 9c5ddb9a9310..5029aa75d272 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -62,9 +62,6 @@
#define GAPTOEXTRAPREVIEW 10
#define MAXPREVIEWWIDTH 120
-#define TWIPS_TO_PT100(val) (val * 5)
-#define PT100_TO_TWIPS(val) (val / 5)
-
#define FONTNAMEBOXMRUENTRIESFILE "/user/config/fontnameboxmruentries"
using namespace ::com::sun::star;
diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx
index 60c58530d111..b2e06ddfcff2 100644
--- a/svtools/source/control/roadmap.cxx
+++ b/svtools/source/control/roadmap.cxx
@@ -43,7 +43,6 @@
#define ROADMAP_INDENT_Y 27
#define ROADMAP_ITEM_DISTANCE_Y 6
#define RMINCOMPLETE -1
-#define NADDITEM 1
//.........................................................................
namespace svt