summaryrefslogtreecommitdiff
path: root/unotools/source/config
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-05-06 00:16:50 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-05-06 00:20:10 +0900
commite3b0f50966caa8be33a51974b6dccf6a5913bd1f (patch)
treefbb60ee85395d4ac7353073834a6ce0b00c33a3f /unotools/source/config
parent146a73e243bb54085055271f08156e2cf5dbd3f2 (diff)
removed unused defines
Change-Id: Ibb6141776fc3a418095b7184c7dacfba70dd7238
Diffstat (limited to 'unotools/source/config')
-rw-r--r--unotools/source/config/bootstrap.cxx6
-rw-r--r--unotools/source/config/cmdoptions.cxx4
-rw-r--r--unotools/source/config/fontcfg.cxx3
-rw-r--r--unotools/source/config/misccfg.cxx5
-rw-r--r--unotools/source/config/securityoptions.cxx1
-rw-r--r--unotools/source/config/startoptions.cxx1
-rw-r--r--unotools/source/config/viewoptions.cxx7
7 files changed, 0 insertions, 27 deletions
diff --git a/unotools/source/config/bootstrap.cxx b/unotools/source/config/bootstrap.cxx
index 94c8c2e89f40..07ae774c65cb 100644
--- a/unotools/source/config/bootstrap.cxx
+++ b/unotools/source/config/bootstrap.cxx
@@ -59,18 +59,12 @@
#define BOOTSTRAP_ITEM_BASEINSTALLATION "BRAND_BASE_DIR"
#define BOOTSTRAP_ITEM_USERINSTALLATION "UserInstallation"
-#define BOOTSTRAP_ITEM_SHAREDIR "SharedDataDir"
#define BOOTSTRAP_ITEM_USERDIR "UserDataDir"
#define BOOTSTRAP_DEFAULT_BASEINSTALL "$SYSBINDIR/.."
-#define BOOTSTRAP_DIRNAME_SHAREDIR "share"
#define BOOTSTRAP_DIRNAME_USERDIR "user"
-#define VERSIONFILE_SECTION "Versions"
-
-#define SETUP_DATA_NAME SAL_CONFIGFILE("setup")
-#define SETUP_ITEM_ALLUSERS "ALLUSERS"
// ---------------------------------------------------------------------------------------
typedef char const * AsciiString;
// ---------------------------------------------------------------------------------------
diff --git a/unotools/source/config/cmdoptions.cxx b/unotools/source/config/cmdoptions.cxx
index 5a2bf0abb4b2..d4e99b61da81 100644
--- a/unotools/source/config/cmdoptions.cxx
+++ b/unotools/source/config/cmdoptions.cxx
@@ -55,10 +55,6 @@ using namespace ::com::sun::star::beans ;
#define PROPERTYNAME_CMD OUString(RTL_CONSTASCII_USTRINGPARAM("Command" ))
-#define PROPERTYCOUNT 1
-
-#define OFFSET_CMD 0
-
// Method to retrieve a hash code from a string. May be we have to change it to decrease collisions in the hash map
struct OUStringHashCode
{
diff --git a/unotools/source/config/fontcfg.cxx b/unotools/source/config/fontcfg.cxx
index 91aa696ed14e..cd11d8071a78 100644
--- a/unotools/source/config/fontcfg.cxx
+++ b/unotools/source/config/fontcfg.cxx
@@ -46,9 +46,6 @@
#include <list>
#include <algorithm>
-#define DEFAULTFONT_CONFIGNODE "VCL/DefaultFonts"
-#define SUBSTFONT_CONFIGNODE "VCL/FontSubstitutions"
-
using namespace utl;
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
diff --git a/unotools/source/config/misccfg.cxx b/unotools/source/config/misccfg.cxx
index 17b0999316ae..6df28b37c9a0 100644
--- a/unotools/source/config/misccfg.cxx
+++ b/unotools/source/config/misccfg.cxx
@@ -39,11 +39,6 @@
#include <rtl/logfile.hxx>
#include "itemholder1.hxx"
-#define DEFAULT_TAB 2000
-
-#define DEF_INCH 2540L
-#define DEF_RELTWIP 1440L
-
using namespace com::sun::star::uno;
using ::rtl::OUString;
diff --git a/unotools/source/config/securityoptions.cxx b/unotools/source/config/securityoptions.cxx
index c8d65e2c2b1f..01e1abd3a267 100644
--- a/unotools/source/config/securityoptions.cxx
+++ b/unotools/source/config/securityoptions.cxx
@@ -58,7 +58,6 @@ using namespace ::com::sun::star::uno ;
#define ROOTNODE_SECURITY OUString(RTL_CONSTASCII_USTRINGPARAM("Office.Common/Security/Scripting"))
#define DEFAULT_SECUREURL Sequence< OUString >()
-#define DEFAULT_SECLEVEL 3
#define DEFAULT_TRUSTEDAUTHORS Sequence< SvtSecurityOptions::Certificate >()
// xmlsec05 depricated
diff --git a/unotools/source/config/startoptions.cxx b/unotools/source/config/startoptions.cxx
index 18653e38e3a0..aed86b25b88a 100644
--- a/unotools/source/config/startoptions.cxx
+++ b/unotools/source/config/startoptions.cxx
@@ -42,7 +42,6 @@ using namespace ::osl ;
using namespace ::com::sun::star::uno ;
#define DEFAULT_SHOWINTRO sal_True
-#define DEFAULT_CONNECTIONURL OUString()
#define ROOTNODE_START OUString(RTL_CONSTASCII_USTRINGPARAM("Setup/Office" ))
#define PROPERTYNAME_SHOWINTRO OUString(RTL_CONSTASCII_USTRINGPARAM("ooSetupShowIntro" ))
diff --git a/unotools/source/config/viewoptions.cxx b/unotools/source/config/viewoptions.cxx
index 0ec236d30a62..112ffbb36b33 100644
--- a/unotools/source/config/viewoptions.cxx
+++ b/unotools/source/config/viewoptions.cxx
@@ -61,8 +61,6 @@ namespace css = ::com::sun::star;
#define CONST_ASCII(SASCIIVALUE) ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SASCIIVALUE))
#endif
-#define PATHSEPERATOR CONST_ASCII("/")
-
#define PACKAGE_VIEWS CONST_ASCII("org.openoffice.Office.Views")
#define LIST_DIALOGS CONST_ASCII("Dialogs" )
@@ -75,11 +73,6 @@ namespace css = ::com::sun::star;
#define PROPERTY_VISIBLE CONST_ASCII("Visible" )
#define PROPERTY_USERDATA CONST_ASCII("UserData" )
-#define PROPCOUNT_DIALOGS 1
-#define PROPCOUNT_TABDIALOGS 2
-#define PROPCOUNT_TABPAGES 1
-#define PROPCOUNT_WINDOWS 2
-
#define DEFAULT_WINDOWSTATE ::rtl::OUString()
#define DEFAULT_USERDATA css::uno::Sequence< css::beans::NamedValue >()
#define DEFAULT_PAGEID 0