diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-04-27 00:52:43 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-04-27 00:53:17 +0900 |
commit | 46dde257601440024cbec83379c80df47114e079 (patch) | |
tree | e386846e9133a27f312febc2336b2d0c1b159529 /svx | |
parent | a27bad586b418e566ba88cd7f99ccb45dbc1282f (diff) |
removed unused defines
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShapeEngine.hxx | 4 | ||||
-rw-r--r-- | svx/source/dialog/_bmpmask.cxx | 1 | ||||
-rw-r--r-- | svx/source/dialog/ctredlin.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/paraprev.cxx | 4 | ||||
-rw-r--r-- | svx/source/dialog/pfiledlg.cxx | 13 | ||||
-rw-r--r-- | svx/source/form/datanavi.cxx | 12 | ||||
-rw-r--r-- | svx/source/xml/xmlgrhlp.cxx | 1 |
7 files changed, 0 insertions, 37 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShapeEngine.hxx b/svx/source/customshapes/EnhancedCustomShapeEngine.hxx index cd383a25cce5..e62b75456a0a 100644 --- a/svx/source/customshapes/EnhancedCustomShapeEngine.hxx +++ b/svx/source/customshapes/EnhancedCustomShapeEngine.hxx @@ -46,13 +46,9 @@ // ----------------------------------------------------------------------------- -#define NMSP_IO com::sun::star::io #define NMSP_UNO com::sun::star::uno #define NMSP_BEANS com::sun::star::beans #define NMSP_LANG com::sun::star::lang -#define NMSP_UTIL com::sun::star::util -#define NMSP_SAX com::sun::star::xml::sax -#define NMSP_LOGGING NMSP_UTIL::logging #define REF( _def_Obj ) NMSP_UNO::Reference< _def_Obj > diff --git a/svx/source/dialog/_bmpmask.cxx b/svx/source/dialog/_bmpmask.cxx index eb7fb6470dcd..ec9739f83534 100644 --- a/svx/source/dialog/_bmpmask.cxx +++ b/svx/source/dialog/_bmpmask.cxx @@ -45,7 +45,6 @@ //------------------------------------------------------------------------- #define BMP_RESID(nId) ResId(nId, DIALOG_MGR()) -#define TRANSP_STRING "Transparent" #define TRANSP_COL (Color( 252, 252, 252 )) #define OWN_CALLMODE SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index ba858714113c..58fedf039f51 100644 --- a/svx/source/dialog/ctredlin.cxx +++ b/svx/source/dialog/ctredlin.cxx @@ -59,9 +59,7 @@ static long nStaticTabs[]= }; #define MIN_DISTANCE 6 -#define WRITER_AUTHOR 1 #define WRITER_DATE 2 -#define CALC_AUTHOR 2 #define CALC_DATE 3 RedlinData::RedlinData() diff --git a/svx/source/dialog/paraprev.cxx b/svx/source/dialog/paraprev.cxx index 7e96f9407656..adaabab0e97a 100644 --- a/svx/source/dialog/paraprev.cxx +++ b/svx/source/dialog/paraprev.cxx @@ -31,10 +31,6 @@ #include <svx/paraprev.hxx> -// STATIC DATA ----------------------------------------------------------- - -#define FOUR_POINTS 80 - // class SvxParaPrevWindow ----------------------------------------------- SvxParaPrevWindow::SvxParaPrevWindow( Window* pParent, const ResId& rId ) : diff --git a/svx/source/dialog/pfiledlg.cxx b/svx/source/dialog/pfiledlg.cxx index 5ce7b8f54bc7..4ebb51356be8 100644 --- a/svx/source/dialog/pfiledlg.cxx +++ b/svx/source/dialog/pfiledlg.cxx @@ -195,19 +195,6 @@ SvxPluginFileDlg::~SvxPluginFileDlg() { } -/************************************************************************* -|* -|* Plugins available for the the MIME-Typ in nKind -|* (with nKind = SID_INSERT_SOUND for MIME-Type audio -|* SID_INSERT_VIDEO for MIME-Type video -|* -\************************************************************************/ - -#define PFDLG_CHECKED_SOUND 0x0001 -#define PFDLG_CHECKED_VIDEO 0x0002 -#define PFDLG_FOUND_SOUND 0x0004 -#define PFDLG_FOUND_VIDEO 0x0008 - void SvxPluginFileDlg::SetContext( sfx2::FileDialogHelper::Context _eNewContext ) { maFileDlg.SetContext( _eNewContext ); diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx index aab704a6cf09..bf0710c3770e 100644 --- a/svx/source/form/datanavi.cxx +++ b/svx/source/form/datanavi.cxx @@ -94,22 +94,18 @@ namespace svxform #define PN_INSTANCE_MODEL ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Instance" ) ) #define PN_INSTANCE_ID ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ID" ) ) #define PN_INSTANCE_URL ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "URL" ) ) - #define PN_INSTANCE_URLONCE ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "URLOnce" ) ) // properties of binding #define PN_BINDING_ID ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "BindingID" ) ) #define PN_BINDING_EXPR ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "BindingExpression" ) ) #define PN_BINDING_MODEL ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Model" ) ) #define PN_BINDING_NAMESPACES ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ModelNamespaces" ) ) - #define PN_BINDING_MODELID ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ModelID" ) ) #define PN_READONLY_EXPR ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ReadonlyExpression" ) ) #define PN_RELEVANT_EXPR ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "RelevantExpression" ) ) #define PN_REQUIRED_EXPR ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "RequiredExpression" ) ) #define PN_CONSTRAINT_EXPR ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ConstraintExpression" ) ) #define PN_CALCULATE_EXPR ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "CalculateExpression" ) ) #define PN_BINDING_TYPE ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Type" ) ) - #define PN_BINDING_READONLY ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ReadOnly" ) ) - #define PN_BINDING_ENABLED ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Enabled" ) ) // properties of submission #define PN_SUBMISSION_ID ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ID" ) ) @@ -117,20 +113,12 @@ namespace svxform #define PN_SUBMISSION_REF ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Ref" ) ) #define PN_SUBMISSION_ACTION ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Action" ) ) #define PN_SUBMISSION_METHOD ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Method" ) ) - #define PN_SUBMISSION_MODEL ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Model" ) ) #define PN_SUBMISSION_REPLACE ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Replace" ) ) - // submission methods - #define SUBMITMETHOD_POST ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "post" ) ) - #define SUBMITMETHOD_GET ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "get" ) ) - #define SUBMITMETHOD_PUT ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "put" ) ) - // other const strings #define TRUE_VALUE ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "true()" ) ) - #define FALSE_VALUE ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "false()" ) ) #define NEW_ELEMENT ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "newElement" ) ) #define NEW_ATTRIBUTE ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "newAttribute" ) ) - #define EVENTTYPE_SUBTREE ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "DOMSubtreeModified" ) ) #define EVENTTYPE_CHARDATA ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "DOMCharacterDataModified" ) ) #define EVENTTYPE_ATTR ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "DOMAttrModified" ) ) diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx index f87e9765e8c0..dac1972dfeb1 100644 --- a/svx/source/xml/xmlgrhlp.cxx +++ b/svx/source/xml/xmlgrhlp.cxx @@ -65,7 +65,6 @@ using namespace com::sun::star::io; using ::com::sun::star::lang::XMultiServiceFactory; #define XML_GRAPHICSTORAGE_NAME "Pictures" -#define XML_PACKAGE_URL_BASE "vnd.sun.star.Package:" #define XML_GRAPHICOBJECT_URL_BASE "vnd.sun.star.GraphicObject:" // --------------------------- |