summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-05-09 23:27:45 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-05-09 23:28:36 +0900
commitd7f5dcbc413b4bf89a70fc25a20533323840b63c (patch)
tree27014a595f52621b6c8b2a214b49303f4429581f /svtools
parentf4cd393736505f2426c64740c156543a481dd41d (diff)
removed unused defines
Change-Id: Ife6ba8104a3af79aa5d62509755b9d2c58d98e3a
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/filedlg2.cxx11
-rw-r--r--svtools/source/edit/texteng.cxx4
-rw-r--r--svtools/source/filter/FilterConfigCache.cxx5
-rw-r--r--svtools/source/filter/ixbm/xbmread.cxx2
-rw-r--r--svtools/source/filter/wmf/winmtf.cxx2
-rw-r--r--svtools/source/graphic/grfmgr2.cxx1
-rw-r--r--svtools/source/svrtf/svparser.cxx8
-rw-r--r--svtools/source/uno/treecontrolpeer.cxx2
8 files changed, 0 insertions, 35 deletions
diff --git a/svtools/source/dialogs/filedlg2.cxx b/svtools/source/dialogs/filedlg2.cxx
index d16f65aebfc9..2b7425541841 100644
--- a/svtools/source/dialogs/filedlg2.cxx
+++ b/svtools/source/dialogs/filedlg2.cxx
@@ -52,17 +52,6 @@ using namespace com::sun::star::uno;
typedef ::std::vector< UniString* > UniStringList;
-#define STD_BTN_WIDTH 80
-#define STD_BTN_HEIGHT 26
-
-#ifndef UNX
- #define ALLFILES "*.*"
-#else
- #define ALLFILES "*"
-#endif
-// #define STD_BTN_WIDTH 90
-// #define STD_BTN_HEIGHT 35
-
#define INITCONTROL( p, ControlClass, nBits, aPos, aSize, aTitel, rHelpId ) \
p = new ControlClass( GetPathDialog(), WinBits( nBits ) ); \
p->SetHelpId( rHelpId ); \
diff --git a/svtools/source/edit/texteng.cxx b/svtools/source/edit/texteng.cxx
index f629ff68d6d2..fa62f3f1049b 100644
--- a/svtools/source/edit/texteng.cxx
+++ b/svtools/source/edit/texteng.cxx
@@ -72,10 +72,6 @@ using namespace ::rtl;
typedef TextView* TextViewPtr;
SV_DECL_PTRARR( TextViews, TextViewPtr, 0 )
-// SV_IMPL_PTRARR( TextViews, TextViewPtr );
-
-#define RESDIFF 10
-#define SCRLRANGE 20 // 1/20 der Breite/Hoehe scrollen, wenn im QueryDrop
// -------------------------------------------------------------------------
diff --git a/svtools/source/filter/FilterConfigCache.cxx b/svtools/source/filter/FilterConfigCache.cxx
index 66ffb8da6aaf..c7bd37c60548 100644
--- a/svtools/source/filter/FilterConfigCache.cxx
+++ b/svtools/source/filter/FilterConfigCache.cxx
@@ -34,11 +34,6 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
-#define TOKEN_COUNT_FOR_OWN_FILTER 3
-// #define TOKEN_INDEX_FOR_IDENT 0
-#define TOKEN_INDEX_FOR_FILTER 1
-// #define TOKEN_INDEX_FOR_HASDIALOG 2
-
using namespace ::com::sun::star::lang ; // XMultiServiceFactory
using namespace ::com::sun::star::container ; // XNameAccess
using namespace ::com::sun::star::uno ; // Reference
diff --git a/svtools/source/filter/ixbm/xbmread.cxx b/svtools/source/filter/ixbm/xbmread.cxx
index 84a8b0237de9..1b79c3f80580 100644
--- a/svtools/source/filter/ixbm/xbmread.cxx
+++ b/svtools/source/filter/ixbm/xbmread.cxx
@@ -27,8 +27,6 @@
************************************************************************/
-#define XBMMINREAD 512
-
#define _XBMPRIVATE
#include <ctype.h>
#include <comphelper/string.hxx>
diff --git a/svtools/source/filter/wmf/winmtf.cxx b/svtools/source/filter/wmf/winmtf.cxx
index 6abf4457c0d6..2968ec1ae276 100644
--- a/svtools/source/filter/wmf/winmtf.cxx
+++ b/svtools/source/filter/wmf/winmtf.cxx
@@ -41,8 +41,6 @@
// ------------------------------------------------------------------------
-#define WIN_MTF_MAX_CLIP_DEPTH 16
-
#if OSL_DEBUG_LEVEL > 1
#define EMFP_DEBUG(x) x
#else
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx
index 35de9a68e750..1967e4427b37 100644
--- a/svtools/source/graphic/grfmgr2.cxx
+++ b/svtools/source/graphic/grfmgr2.cxx
@@ -44,7 +44,6 @@
// - defines -
// -----------
-#define MAX_PRINTER_EXT 1024
#define MAP( cVal0, cVal1, nFrac ) ((sal_uInt8)((((long)(cVal0)<<20L)+nFrac*((long)(cVal1)-(cVal0)))>>20L))
#define WATERMARK_LUM_OFFSET 50
#define WATERMARK_CON_OFFSET -70
diff --git a/svtools/source/svrtf/svparser.cxx b/svtools/source/svrtf/svparser.cxx
index 7c70608b0fd9..1d0fb8ee69ac 100644
--- a/svtools/source/svrtf/svparser.cxx
+++ b/svtools/source/svrtf/svparser.cxx
@@ -34,14 +34,6 @@
#include <rtl/textcvt.h>
#include <rtl/tencinfo.h>
-#define SVPAR_CSM_
-
-#define SVPAR_CSM_ANSI 0x0001U
-#define SVPAR_CSM_UTF8 0x0002U
-#define SVPAR_CSM_UCS2B 0x0004U
-#define SVPAR_CSM_UCS2L 0x0008U
-#define SVPAR_CSM_SWITCH 0x8000U
-
// Struktur, um sich die akt. Daten zumerken
struct SvParser_Impl
{
diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx
index 67dab976e10b..aea3cd62c563 100644
--- a/svtools/source/uno/treecontrolpeer.cxx
+++ b/svtools/source/uno/treecontrolpeer.cxx
@@ -56,8 +56,6 @@ using namespace ::com::sun::star::container;
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::graphic;
-#define O(x) OUString( RTL_CONSTASCII_USTRINGPARAM(x) )
-
struct LockGuard
{
public: