Kaydet (Commit) e3b0f509 authored tarafından Takeshi Abe's avatar Takeshi Abe

removed unused defines

Change-Id: Ibb6141776fc3a418095b7184c7dacfba70dd7238
üst 146a73e2
......@@ -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;
// ---------------------------------------------------------------------------------------
......
......@@ -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
{
......
......@@ -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;
......
......@@ -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;
......
......@@ -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
......
......@@ -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" ))
......
......@@ -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
......
......@@ -35,7 +35,6 @@
#include <com/sun/star/i18n/CalendarFieldIndex.hpp>
#include <com/sun/star/i18n/XCalendar3.hpp>
#define CALENDAR_LIBRARYNAME "i18n"
#define CALENDAR_SERVICENAME "com.sun.star.i18n.LocaleCalendar"
using namespace ::com::sun::star;
......
......@@ -32,7 +32,6 @@
using namespace utl;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::util;
#define NMSP_UTIL ::com::sun::star::util
AtomProvider::AtomProvider()
{
......
......@@ -132,7 +132,6 @@ umask(old_mode);
return bSuccess;
}
#define TMPNAME_SIZE ( 1 + 5 + 5 + 4 + 1 )
String ConstructTempDir_Impl( const String* pParent )
{
String aName;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment