[Libreoffice-commits] .: tools/inc tools/source

Takeshi Abe tabe at kemper.freedesktop.org
Sun Jan 15 14:39:49 PST 2012


 tools/inc/tools/resmgr.hxx      |    2 --
 tools/source/fsys/tdir.cxx      |    2 --
 tools/source/fsys/unx.hxx       |    2 --
 tools/source/fsys/wntmsc.hxx    |    2 --
 tools/source/generic/config.cxx |    2 --
 tools/source/rc/resmgr.cxx      |    4 ----
 6 files changed, 14 deletions(-)

New commits:
commit 1074c1ab9ee4aa537ea18a3128121ef591bd803f
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Mon Jan 16 07:38:19 2012 +0900

    removed unused macro

diff --git a/tools/inc/tools/resmgr.hxx b/tools/inc/tools/resmgr.hxx
index 7e7e7ce..8000e5a 100644
--- a/tools/inc/tools/resmgr.hxx
+++ b/tools/inc/tools/resmgr.hxx
@@ -37,8 +37,6 @@
 #define CREATEVERSIONRESMGR_NAME( Name )   #Name
 #define CREATEVERSIONRESMGR( Name )        ResMgr::CreateResMgr( CREATEVERSIONRESMGR_NAME( Name ) )
 
-#define LOCALE_MAX_FALLBACK 6
-
 #include <vector>
 
 class SvStream;
diff --git a/tools/source/fsys/tdir.cxx b/tools/source/fsys/tdir.cxx
index eef2a03..0747c70 100644
--- a/tools/source/fsys/tdir.cxx
+++ b/tools/source/fsys/tdir.cxx
@@ -39,8 +39,6 @@
 
 DBG_NAME( Dir )
 
-#define APPEND (sal_uInt16) 65535
-
 /*************************************************************************
 |*
 |*    Dir::InsertPointReached()
diff --git a/tools/source/fsys/unx.hxx b/tools/source/fsys/unx.hxx
index a930f83..d6e74e1 100644
--- a/tools/source/fsys/unx.hxx
+++ b/tools/source/fsys/unx.hxx
@@ -35,9 +35,7 @@
 #include <sys/param.h>
 #include <dirent.h>
 #include <unistd.h>
-/* #include <sysent.h> */
 
-#define FSYS_UNIX TRUE
 #define DRIVE_EXISTS(c) ( TRUE )
 
 #define _mkdir(p)       mkdir(p, 0777)
diff --git a/tools/source/fsys/wntmsc.hxx b/tools/source/fsys/wntmsc.hxx
index b7b3391..6cda2a1 100644
--- a/tools/source/fsys/wntmsc.hxx
+++ b/tools/source/fsys/wntmsc.hxx
@@ -45,8 +45,6 @@
 
 //--------------------------------------------------------------------
 
-#define FSYS_UNIX sal_False
-
 #define DOS_DIRECT      _A_SUBDIR
 #define DOS_VOLUMEID    0x08
 #ifndef S_IFBLK
diff --git a/tools/source/generic/config.cxx b/tools/source/generic/config.cxx
index ed21da9..dc0c08b 100644
--- a/tools/source/generic/config.cxx
+++ b/tools/source/generic/config.cxx
@@ -45,8 +45,6 @@
 #include <osl/security.h>
 #include <rtl/strbuf.hxx>
 
-#define MAXBUFLEN   1024        // Fuer Buffer bei VOS-Funktionen
-
 // -----------------
 // - ImplConfigData -
 // -----------------
diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx
index 5bc5d2c..68c8b4c 100644
--- a/tools/source/rc/resmgr.cxx
+++ b/tools/source/rc/resmgr.cxx
@@ -57,15 +57,11 @@
 #include <set>
 
 #ifdef UNX
-#define SEARCH_PATH_DELIMITER_CHAR_STRING ":"
 #define SEARCH_PATH_DELIMITER ':'
 #else
-#define SEARCH_PATH_DELIMITER_CHAR_STRING ";"
 #define SEARCH_PATH_DELIMITER ';'
 #endif
 
-#define SEARCH_PATH_DELIMITER_STRING ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( SEARCH_PATH_DELIMITER_CHAR_STRING ) )
-
 using ::rtl::OUString;
 using ::rtl::OString;
 using ::rtl::OUStringBuffer;


More information about the Libreoffice-commits mailing list