From e486ed7b7f3d8f90e118ec19e4c347ce236de606 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Thu, 12 Apr 2012 00:37:48 +0900 Subject: removed unused defines --- sfx2/source/control/dispatch.cxx | 4 ---- sfx2/source/doc/doctempl.cxx | 10 ---------- sfx2/source/notify/hintpost.cxx | 3 --- 3 files changed, 17 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index 6e08d456dd9f..8df57ea1b6b9 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -156,10 +156,6 @@ struct SfxDispatcher_Impl sal_uInt32 nDisableFlags; }; -#define NO_OBJECTBAR 0 -#define OWN_OBJECTBAR 1 -#define OTHER_OBJECTBAR 2 - //------------------------------------------------------------------ #define SFX_FLUSH_TIMEOUT 50 diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index 9d3230d3d9ab..37edcd03a2e4 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -107,21 +107,11 @@ using ::std::advance; //======================================================================== #define TITLE "Title" -#define IS_FOLDER "IsFolder" -#define PROPERTY_TYPE "TypeDescription" #define TARGET_URL "TargetURL" -#define TYPE_FOLDER "application/vnd.sun.star.hier-folder" -#define TYPE_LINK "application/vnd.sun.star.hier-link" -#define TYPE_FSYS_FOLDER "application/vnd.sun.staroffice.fsys-folder" #define TARGET_DIR_URL "TargetDirURL" -#define COMMAND_DELETE "delete" #define COMMAND_TRANSFER "transfer" -#define STANDARD_FOLDER "standard" - -#define SERVICENAME_TYPEDETECTION "com.sun.star.document.TypeDetection" -#define TYPEDETECTION_PARAMETER "FileName" #define SERVICENAME_DOCINFO "com.sun.star.document.DocumentProperties" #define SERVICENAME_DOCTEMPLATES "com.sun.star.frame.DocumentTemplates" #define SERVICENAME_DESKTOP "com.sun.star.frame.Desktop" diff --git a/sfx2/source/notify/hintpost.cxx b/sfx2/source/notify/hintpost.cxx index ad6e85ef7bcd..5f340f9687f3 100644 --- a/sfx2/source/notify/hintpost.cxx +++ b/sfx2/source/notify/hintpost.cxx @@ -78,7 +78,4 @@ void SfxHintPoster::SetEventHdl( const GenLink& rLink ) aLink = rLink; } - -#define LOG( x ) - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit