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

shrinked useless constants/defines

üst 520891d0
...@@ -107,32 +107,14 @@ using namespace ::com::sun::star::uno; ...@@ -107,32 +107,14 @@ using namespace ::com::sun::star::uno;
using namespace ::sfx2; using namespace ::sfx2;
using ::rtl::OUString; using ::rtl::OUString;
// define ----------------------------------------------------------------
// different delimiter for Unix (:) and Windows (;)
#ifdef UNX
#define CLASSPATH_DELIMITER ':'
#else
#define CLASSPATH_DELIMITER ';'
#endif
// static ---------------------------------------------------------------- // static ----------------------------------------------------------------
#define C2U(cChar) OUString::createFromAscii(cChar) #define C2U(cChar) OUString::createFromAscii(cChar)
#define INET_SEARCH_TOKEN '"'
#define RET_ALL ((short)200)
#define CFG_READONLY_DEFAULT FALSE
#include <sal/config.h> #include <sal/config.h>
SV_IMPL_PTRARR( SfxFilterPtrArr, SfxFilterPtr ) SV_IMPL_PTRARR( SfxFilterPtrArr, SfxFilterPtr )
const char* SEARCHENGINE_INI = "srcheng.ini";
const char* SEARCHENGINE_GROUP = "SearchEngines-$(vlang)";
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
void SvxNoSpaceEdit::KeyInput( const KeyEvent& rKEvent ) void SvxNoSpaceEdit::KeyInput( const KeyEvent& rKEvent )
......
...@@ -60,10 +60,6 @@ ...@@ -60,10 +60,6 @@
#include "osl/mutex.hxx" #include "osl/mutex.hxx"
#include "vcl/svapp.hxx" #include "vcl/svapp.hxx"
// define ----------------------------------------------------------------
#define MAKE_ANY ::com::sun::star::uno::makeAny
// using ---------------------------------------------------------------- // using ----------------------------------------------------------------
using namespace ::com::sun::star::container; using namespace ::com::sun::star::container;
......
...@@ -47,10 +47,7 @@ ...@@ -47,10 +47,7 @@
#include <vcl/window.hxx> #include <vcl/window.hxx>
#include <vcl/toolbox.hxx> #include <vcl/toolbox.hxx>
#define UIRESOURCE_PROTOCO_ASCII "private:" #define UIRESOURCE_URL RTL_CONSTASCII_USTRINGPARAM( "private:resource" )
#define UIRESOURCE_RESOURCE_ASCII "resource"
#define UIRESOURCE_URL_ASCII "private:resource"
#define UIRESOURCE_URL rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( UIRESOURCE_URL_ASCII ))
#define UIRESOURCETYPE_TOOLBAR "toolbar" #define UIRESOURCETYPE_TOOLBAR "toolbar"
#define UIRESOURCETYPE_STATUSBAR "statusbar" #define UIRESOURCETYPE_STATUSBAR "statusbar"
#define UIRESOURCETYPE_MENUBAR "menubar" #define UIRESOURCETYPE_MENUBAR "menubar"
......
...@@ -63,8 +63,6 @@ ...@@ -63,8 +63,6 @@
// ______________________________________________ // ______________________________________________
// non exported const // non exported const
#define CFG_READONLY_DEFAULT sal_False
const ::rtl::OUString CFGPROP_USERPATHES(RTL_CONSTASCII_USTRINGPARAM("UserPaths")); const ::rtl::OUString CFGPROP_USERPATHES(RTL_CONSTASCII_USTRINGPARAM("UserPaths"));
const ::rtl::OUString CFGPROP_WRITEPATH(RTL_CONSTASCII_USTRINGPARAM("WritePath")); const ::rtl::OUString CFGPROP_WRITEPATH(RTL_CONSTASCII_USTRINGPARAM("WritePath"));
......
...@@ -71,10 +71,6 @@ using namespace com::sun::star::util; ...@@ -71,10 +71,6 @@ using namespace com::sun::star::util;
using namespace com::sun::star::style; using namespace com::sun::star::style;
using namespace com::sun::star::container; using namespace com::sun::star::container;
// Copied from Writer module
//#define RID_SW_SHELLRES (RID_SW_START + 1250 + 1)
//#define STR_ALLPAGE_HEADFOOT 14
const sal_uInt16 ALL_MENUITEM_ID = 1; const sal_uInt16 ALL_MENUITEM_ID = 1;
namespace framework namespace framework
......
...@@ -76,7 +76,6 @@ using namespace ::com::sun::star; ...@@ -76,7 +76,6 @@ using namespace ::com::sun::star;
#define css_ui ::com::sun::star::ui #define css_ui ::com::sun::star::ui
#endif #endif
const sal_Int32 HELPID_PREFIX_LENGTH = 7;
static const char HELPID_PREFIX[] = "helpid:"; static const char HELPID_PREFIX[] = "helpid:";
// Property names of a menu/menu item ItemDescriptor // Property names of a menu/menu item ItemDescriptor
......
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