summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-11-09 00:12:13 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-11-09 00:12:33 +0900
commit93732fe182ddda10a982962a60d88c5cefc149d3 (patch)
tree2b39cacf6f4d83f165218e1e28a6ad78d9313357
parent35118036bd63a823fefd88c471a319e564d138d3 (diff)
removed unused macros/constants
-rw-r--r--svtools/source/brwbox/datwin.hxx1
-rw-r--r--svtools/source/contnr/treelist.cxx3
-rw-r--r--svtools/source/graphic/grfmgr.cxx3
-rw-r--r--svtools/source/uno/toolboxcontroller.cxx1
-rw-r--r--svtools/source/uno/unoiface.cxx1
5 files changed, 0 insertions, 9 deletions
diff --git a/svtools/source/brwbox/datwin.hxx b/svtools/source/brwbox/datwin.hxx
index 1aeb06b6a085..e910f4421b57 100644
--- a/svtools/source/brwbox/datwin.hxx
+++ b/svtools/source/brwbox/datwin.hxx
@@ -39,7 +39,6 @@
//===================================================================
#define MIN_COLUMNWIDTH 2
-#define DRAG_CRITICAL 4
typedef ::std::vector< Rectangle* > RectangleList;
diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx
index 0b00dc3e15e9..8a0b93c0b00a 100644
--- a/svtools/source/contnr/treelist.cxx
+++ b/svtools/source/contnr/treelist.cxx
@@ -28,9 +28,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_svtools.hxx"
-
-#define _TREELIST_CXX
-
#include <svtools/treelist.hxx>
diff --git a/svtools/source/graphic/grfmgr.cxx b/svtools/source/graphic/grfmgr.cxx
index 613fd3d64858..9e55109cde27 100644
--- a/svtools/source/graphic/grfmgr.cxx
+++ b/svtools/source/graphic/grfmgr.cxx
@@ -50,9 +50,6 @@
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
-#define WATERMARK_LUM_OFFSET 50
-#define WATERMARK_CON_OFFSET -70
-
using com::sun::star::uno::Reference;
using com::sun::star::uno::XInterface;
using com::sun::star::uno::UNO_QUERY;
diff --git a/svtools/source/uno/toolboxcontroller.cxx b/svtools/source/uno/toolboxcontroller.cxx
index 110a9d3f4ce5..a1bb23c47758 100644
--- a/svtools/source/uno/toolboxcontroller.cxx
+++ b/svtools/source/uno/toolboxcontroller.cxx
@@ -43,7 +43,6 @@
//shizhobo
#include <com/sun/star/beans/PropertyAttribute.hpp>
const int TOOLBARCONTROLLER_PROPHANDLE_SUPPORTSVISIABLE = 1;
-const int TOOLBARCONTROLLER_PROPCOUNT = 1;
const rtl::OUString TOOLBARCONTROLLER_PROPNAME_SUPPORTSVISIABLE( RTL_CONSTASCII_USTRINGPARAM( "SupportsVisiable" ));
//end
diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx
index 4bc5cae12cb6..c0d737bc35ac 100644
--- a/svtools/source/uno/unoiface.cxx
+++ b/svtools/source/uno/unoiface.cxx
@@ -29,7 +29,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_svtools.hxx"
-#define _SVT_UNOIFACE_CXX
#include <tools/debug.hxx>
#include <vcl/svapp.hxx>
#include <svtools/svmedit.hxx>