summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--avmedia/source/viewer/mediawindow_impl.cxx9
-rw-r--r--avmedia/source/viewer/mediawindowbase_impl.cxx2
-rw-r--r--comphelper/inc/comphelper/accessibleselectionhelper.hxx1
-rw-r--r--crashrep/source/unx/main.cxx1
-rw-r--r--cui/source/dialogs/hldocntp.cxx7
-rw-r--r--cui/source/dialogs/iconcdlg.cxx2
-rw-r--r--dbaccess/source/ui/dlg/CollectionView.cxx1
-rw-r--r--desktop/inc/app.hxx4
-rw-r--r--editeng/inc/editeng/editdata.hxx11
-rw-r--r--editeng/inc/editeng/editobj.hxx3
-rw-r--r--editeng/inc/editeng/editstat.hxx4
-rw-r--r--editeng/source/editeng/eehtml.hxx2
-rw-r--r--editeng/source/misc/svxacorr.cxx4
-rw-r--r--extensions/source/bibliography/bibmod.hxx6
-rw-r--r--extensions/source/dbpilots/groupboxwiz.cxx2
-rw-r--r--linguistic/source/convdic.cxx2
-rw-r--r--sc/inc/address.hxx3
-rw-r--r--sc/inc/cfgids.hxx8
-rw-r--r--sc/inc/dptabdat.hxx2
-rw-r--r--sc/inc/global.hxx1
-rw-r--r--sc/inc/rechead.hxx73
-rw-r--r--sc/source/core/data/drwlayer.cxx7
-rw-r--r--sc/source/core/tool/interpr1.cxx2
-rw-r--r--sc/source/core/tool/interpr3.cxx1
-rw-r--r--sc/source/ui/dbgui/dpuiglobal.hxx1
-rw-r--r--sc/source/ui/docshell/docsh8.cxx2
-rw-r--r--sc/source/ui/inc/output.hxx6
-rw-r--r--sc/source/ui/view/viewfun5.cxx2
28 files changed, 0 insertions, 169 deletions
diff --git a/avmedia/source/viewer/mediawindow_impl.cxx b/avmedia/source/viewer/mediawindow_impl.cxx
index 5e756d298e93..f77334132734 100644
--- a/avmedia/source/viewer/mediawindow_impl.cxx
+++ b/avmedia/source/viewer/mediawindow_impl.cxx
@@ -43,15 +43,6 @@
#include <com/sun/star/awt/SystemPointer.hpp>
#include <com/sun/star/lang/XComponent.hpp>
-#define AVMEDIA_TOOLBOXITEM_PREV 0x0001
-#define AVMEDIA_TOOLBOXITEM_PLAY 0x0002
-#define AVMEDIA_TOOLBOXITEM_PAUSE 0x0004
-#define AVMEDIA_TOOLBOXITEM_STOP 0x0008
-#define AVMEDIA_TOOLBOXITEM_NEXT 0x0010
-#define AVMEDIA_TOOLBOXITEM_MUTE 0x0100
-
-#define AVMEDIA_FFW_PLAYRATE 4
-
using namespace ::com::sun::star;
namespace avmedia { namespace priv {
diff --git a/avmedia/source/viewer/mediawindowbase_impl.cxx b/avmedia/source/viewer/mediawindowbase_impl.cxx
index 69e655bba5a8..e7d4534f34cf 100644
--- a/avmedia/source/viewer/mediawindowbase_impl.cxx
+++ b/avmedia/source/viewer/mediawindowbase_impl.cxx
@@ -38,8 +38,6 @@
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/media/XManager.hpp>
-#define MEDIA_TIMER_TIMEOUT 100
-
using namespace ::com::sun::star;
namespace avmedia { namespace priv {
diff --git a/comphelper/inc/comphelper/accessibleselectionhelper.hxx b/comphelper/inc/comphelper/accessibleselectionhelper.hxx
index e1bb5dd5f1ef..9ce4f6ee4b03 100644
--- a/comphelper/inc/comphelper/accessibleselectionhelper.hxx
+++ b/comphelper/inc/comphelper/accessibleselectionhelper.hxx
@@ -27,7 +27,6 @@
#include "comphelper/comphelperdllapi.h"
#define ACCESSIBLE_SELECTION_CHILD_ALL ((sal_Int32)-1)
-#define ACCESSIBLE_SELECTION_CHILD_SELF ((sal_Int32)-2)
//.........................................................................
namespace comphelper
diff --git a/crashrep/source/unx/main.cxx b/crashrep/source/unx/main.cxx
index e9bb5ccd7aa3..658fd489a094 100644
--- a/crashrep/source/unx/main.cxx
+++ b/crashrep/source/unx/main.cxx
@@ -76,7 +76,6 @@ static char g_szStackFile[L_tmpnam] = "";
static char g_szDescriptionFile[2048] = "";
static char g_szReportFile[2048] = "";
-#define SO_CRASHREPORT_MAIL "so-report@sun.com"
#define PSTACK_CMD "pstack %d"
#ifdef LINUX
diff --git a/cui/source/dialogs/hldocntp.cxx b/cui/source/dialogs/hldocntp.cxx
index 628f7f94c955..99c473b8ef5e 100644
--- a/cui/source/dialogs/hldocntp.cxx
+++ b/cui/source/dialogs/hldocntp.cxx
@@ -164,13 +164,6 @@ void SvxHyperlinkNewDocTp::FillDlgFields ( String& /*aStrURL*/ )
{
}
-#define INTERNETSHORTCUT_ID_TAG "InternetShortcut"
-#define INTERNETSHORTCUT_TITLE_TAG "Title"
-#define INTERNETSHORTCUT_TARGET_TAG "Target"
-#define INTERNETSHORTCUT_FOLDER_TAG "Folder"
-#define INTERNETSHORTCUT_URL_TAG "URL"
-#define INTERNETSHORTCUT_ICONID_TAG "IconIndex"
-
void SvxHyperlinkNewDocTp::FillDocumentList ()
{
EnterWait();
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index 8b98a6f85e42..4b407b59b875 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -432,8 +432,6 @@ void IconChoiceDialog::ShowPage( sal_uInt16 nId )
#define ICONCTRL_WIDTH_PIXEL 110
#define ICONCTRL_HEIGHT_PIXEL 75
-#define MINSIZE_BUTTON_WIDTH 70
-#define MINSIZE_BUTTON_HEIGHT 22
void IconChoiceDialog::Resize()
{
diff --git a/dbaccess/source/ui/dlg/CollectionView.cxx b/dbaccess/source/ui/dlg/CollectionView.cxx
index 5d265999e1c8..5dd965614e77 100644
--- a/dbaccess/source/ui/dlg/CollectionView.cxx
+++ b/dbaccess/source/ui/dlg/CollectionView.cxx
@@ -46,7 +46,6 @@
#include <osl/thread.h>
#include <connectivity/dbexception.hxx>
-#define FILEDIALOG_DEF_IMAGEBORDER 10
//.........................................................................
namespace dbaui
{
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx
index ea107e801ff2..06dc4c76d027 100644
--- a/desktop/inc/app.hxx
+++ b/desktop/inc/app.hxx
@@ -46,10 +46,6 @@ using namespace com::sun::star::task;
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
-#define DESKTOP_SAVETASKS_MOD 0x1
-#define DESKTOP_SAVETASKS_UNMOD 0x2
-#define DESKTOP_SAVETASKS_ALL 0x3
-
namespace desktop
{
diff --git a/editeng/inc/editeng/editdata.hxx b/editeng/inc/editeng/editdata.hxx
index 9fbbc9264ab4..bcaa59ee2a90 100644
--- a/editeng/inc/editeng/editdata.hxx
+++ b/editeng/inc/editeng/editdata.hxx
@@ -92,10 +92,6 @@ EDITENG_DLLPUBLIC extern const size_t EE_APPEND;
#define EDITUNDO_USER 200
-
-#define EE_COMPATIBLEMODE_PARAGRAPHSPACING_SUMMATION 0x0001
-#define EE_COMPATIBLEMODE_PARAGRAPHSPACING_BEFOREFIRSTPARAGRAPH 0x0002
-
class EditView;
class EditEngine;
class ImpEditView;
@@ -263,13 +259,6 @@ struct ImportInfo
~ImportInfo();
};
-#define EE_SEARCH_WORDONLY 0x0001
-#define EE_SEARCH_EXACT 0x0002
-#define EE_SEARCH_BACKWARD 0x0004
-#define EE_SEARCH_INSELECTION 0x0008
-#define EE_SEARCH_REGEXPR 0x0010
-#define EE_SEARCH_PATTERN 0x0020
-
struct ParagraphInfos
{
ParagraphInfos()
diff --git a/editeng/inc/editeng/editobj.hxx b/editeng/inc/editeng/editobj.hxx
index 37aaa023bf78..d9a87e0442f4 100644
--- a/editeng/inc/editeng/editobj.hxx
+++ b/editeng/inc/editeng/editobj.hxx
@@ -45,9 +45,6 @@ class SfxItemPool;
class SfxStyleSheetPool;
class SvxFieldItem;
-#define EDTOBJ_SETTINGS_ULITEMSUMMATION 0x00000001
-#define EDTOBJ_SETTINGS_ULITEMFIRSTPARA 0x00000002
-
namespace editeng {
class FieldUpdater;
diff --git a/editeng/inc/editeng/editstat.hxx b/editeng/inc/editeng/editstat.hxx
index 7b4a80502e23..1b1acf09db19 100644
--- a/editeng/inc/editeng/editstat.hxx
+++ b/editeng/inc/editeng/editstat.hxx
@@ -81,10 +81,6 @@
#define EE_STAT_WRONGWORDCHANGED 0x00000080
// #define EE_STAT_MODIFIED 0x00000100
-// Only for Update:
-#define EE_CNTRL_AUTOCENTER EE_CNTRL_AUTOPAGESIZE
-#define EE_STAT_GROWY EE_STAT_TEXTHEIGHTCHANGED
-
/*
EE_STAT_CRSRLEFTPARA at the time cursor movement and the enter.
*/
diff --git a/editeng/source/editeng/eehtml.hxx b/editeng/source/editeng/eehtml.hxx
index 71f61c86f713..b2091cce5d4b 100644
--- a/editeng/source/editeng/eehtml.hxx
+++ b/editeng/source/editeng/eehtml.hxx
@@ -36,8 +36,6 @@
class EditEngine;
-#define MAX_NUMBERLEVEL 10
-
struct AnchorInfo
{
String aHRef;
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 5ade8106a59f..7003f31a6f42 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -102,10 +102,6 @@ static const sal_Char sImplWordChars[] = "-'";
void EncryptBlockName_Imp( String& rName );
-// FileVersions Number for the Substitution-/Exception list separately
-#define WORDLIST_VERSION_358 1
-#define EXEPTLIST_VERSION_358 0
-
_SV_IMPL_SORTAR_ALG( SvxAutocorrWordList, SvxAutocorrWordPtr )
TYPEINIT0(SvxAutoCorrect)
diff --git a/extensions/source/bibliography/bibmod.hxx b/extensions/source/bibliography/bibmod.hxx
index 6baf60bfe27d..e94692da516d 100644
--- a/extensions/source/bibliography/bibmod.hxx
+++ b/extensions/source/bibliography/bibmod.hxx
@@ -25,12 +25,6 @@ class ResMgr;
class BibDataManager;
class BibConfig;
-#define BIBLIOGRAPHY_INI_GROUP "Bibliography"
-#define BIBLIOGRAPHY_INI_CUR_NAME "BibliographyCurrent"
-#define BIBLIOGRAPHY_INI_DB_ENTRY "Bibliography"
-#define BIBLIOGRAPHY_INI_MAPPING "BibliographyFields"
-#define BIBLIOGRAPHY_TYPE_NAMES "BibliographyTypeNames"
-
class BibModul
{
private:
diff --git a/extensions/source/dbpilots/groupboxwiz.cxx b/extensions/source/dbpilots/groupboxwiz.cxx
index 1776726d7ef7..4d15d553de7c 100644
--- a/extensions/source/dbpilots/groupboxwiz.cxx
+++ b/extensions/source/dbpilots/groupboxwiz.cxx
@@ -34,8 +34,6 @@
#include "optiongrouplayouter.hxx"
#include "dbpilots.hrc"
-
-//#define GBW_STATE_DATASELECTION 0
#define GBW_STATE_OPTIONLIST 0
#define GBW_STATE_DEFAULTOPTION 1
#define GBW_STATE_OPTIONVALUES 2
diff --git a/linguistic/source/convdic.cxx b/linguistic/source/convdic.cxx
index 71dd0167b43a..212506c4337b 100644
--- a/linguistic/source/convdic.cxx
+++ b/linguistic/source/convdic.cxx
@@ -81,8 +81,6 @@ using namespace linguistic;
using ::rtl::OUString;
#define SN_CONV_DICTIONARY "com.sun.star.linguistic2.ConversionDictionary"
-#define SN_HCD_CONV_DICTIONARY "com.sun.star.linguistic2.HangulHanjaConversionDictionary"
-
void ReadThroughDic( const String &rMainURL, ConvDicXMLImport &rImport )
{
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 5f104b39b932..26598db91b80 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -76,9 +76,6 @@ const SCTAB SCTAB_MAX = ::std::numeric_limits<SCTAB>::max();
const SCCOLROW SCCOLROW_MAX = ::std::numeric_limits<SCCOLROW>::max();
const SCSIZE SCSIZE_MAX = ::std::numeric_limits<SCSIZE>::max();
-// A define to handle critical sections we hopefully don't need very often.
-#define SC_ROWLIMIT_MORE_THAN_32K 1 /* set to 1 if we throw the switch */
-
// The maximum values. Defines are needed for preprocessor checks, for example
// in bcaslot.cxx, otherwise type safe constants are preferred.
#define MAXROWCOUNT_DEFINE 1048576
diff --git a/sc/inc/cfgids.hxx b/sc/inc/cfgids.hxx
index 839268fefdf6..6f6cd4ca4968 100644
--- a/sc/inc/cfgids.hxx
+++ b/sc/inc/cfgids.hxx
@@ -19,15 +19,7 @@
#ifndef _CFGID_HXX
#define _CFGID_HXX
-#define SCCFG_DOC SFX_ITEMTYPE_SC_BEGIN
-#define SCCFG_VIEW (SFX_ITEMTYPE_SC_BEGIN + 1)
-#define SCCFG_APP (SFX_ITEMTYPE_SC_BEGIN + 2)
-#define SCCFG_SPELLCHECK (SFX_ITEMTYPE_SC_BEGIN + 3)
-#define SCCFG_PRINT (SFX_ITEMTYPE_SC_BEGIN + 4)
#define SCCFG_STATUSBAR (SFX_ITEMTYPE_SC_BEGIN + 5)
-#define SCCFG_INPUT (SFX_ITEMTYPE_SC_BEGIN + 8)
-#define SCCFG_NAVIPI (SFX_ITEMTYPE_SC_BEGIN + 9)
-
#endif
diff --git a/sc/inc/dptabdat.hxx b/sc/inc/dptabdat.hxx
index b11e8927d34f..1bbc4d6c70cc 100644
--- a/sc/inc/dptabdat.hxx
+++ b/sc/inc/dptabdat.hxx
@@ -48,8 +48,6 @@ namespace com { namespace sun { namespace star { namespace sheet {
}}}}
-#define SC_DAPI_DATE_HIERARCHIES 3
-
#define SC_DAPI_HIERARCHY_FLAT 0
#define SC_DAPI_HIERARCHY_QUARTER 1
#define SC_DAPI_HIERARCHY_WEEK 2
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index c4c2e877acaa..03451d1e7336 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -143,7 +143,6 @@ const SCSIZE MAXSUBTOTAL = 3;
/* standard row height: text + margin - STD_ROWHEIGHT_DIFF */
#define STD_ROWHEIGHT_DIFF 23
-#define STD_FONT_HEIGHT 200 /* equates 10 points */
/// use ScGlobal::nStdRowHeight instead of STD_ROW_HEIGHT !
diff --git a/sc/inc/rechead.hxx b/sc/inc/rechead.hxx
index 689228b7eb4b..151633f65ce0 100644
--- a/sc/inc/rechead.hxx
+++ b/sc/inc/rechead.hxx
@@ -35,83 +35,10 @@
#define SCID_SIZES 0x4200
-#define SCID_POOLS 0x4210
-#define SCID_DOCPOOL 0x4211
-#define SCID_STYLEPOOL 0x4212
-#define SCID_NEWPOOLS 0x4213 // ID for SC 3.0a
-#define SCID_EDITPOOL 0x4214
-
-#define SCID_DOCUMENT 0x4220
-#define SCID_DOCFLAGS 0x4221
-#define SCID_TABLE 0x4222
-#define SCID_DRAWING 0x4223
-#define SCID_RANGENAME 0x4224
-#define SCID_DBAREAS 0x4225
-#define SCID_PIVOT 0x4226
-#define SCID_CHARTS 0x4227
-#define SCID_NUMFORMAT 0x4228
-#define SCID_DOCOPTIONS 0x4229
-#define SCID_VIEWOPTIONS 0x422a
-#define SCID_PRINTSETUP 0x422b
-#define SCID_CHARSET 0x422c
-#define SCID_NEWDOCUMENT 0x422d // ID for SC 3.0a
-#define SCID_DDELINKS 0x422e
-#define SCID_AREALINKS 0x422f
-#define SCID_CONDFORMATS 0x4230
-#define SCID_VALIDATION 0x4231
-#define SCID_COLNAMERANGES 0x4232
-#define SCID_ROWNAMERANGES 0x4233
-#define SCID_DETOPLIST 0x4234
-#define SCID_CONSOLIDATA 0x4235
-#define SCID_CHANGETRACK 0x4236
-#define SCID_CHGVIEWSET 0x4237
-#define SCID_LINKUPMODE 0x4238
-#define SCID_DATAPILOT 0x4239
-
-#define SCID_COLUMNS 0x4240
-#define SCID_COLROWFLAGS 0x4241
-#define SCID_TABOPTIONS 0x4242
-#define SCID_TABLINK 0x4243
-
-#define SCID_COLDATA 0x4250
-#define SCID_COLNOTES 0x4251
-#define SCID_COLATTRIB 0x4252
-
-#define SCID_DRAWPOOL 0x4260
-#define SCID_DRAWMODEL 0x4261
-
-
-
-// file version
-// if the high-byte is incremented, the document won't be opened by older SCs
-#define SC_INITIAL_VERSION 0x0001
-#define SC_FORMULA_LCLVER 0x0002 // formula with local version no.
-//--------------------------------
-#define SC_NEW_TOKEN_ARRAYS 0x0003 // new TokenArray format
-#define SC_FORMULA_VALUES 0x0004 // values in formula cells
-#define SC_FORMULA_VALUES2 0x0005 // values in formula cells
-#define SC_DATABYTES 0x0006 // data bytes, small tables
-#define SC_DATABYTES2 0x0007 // data bytes, small tables
-#define SC_NUMFMT 0x0008 // number format of formula cell
-#define SC_NEWIF 0x0009 // new coding of ocIf (komp.)
-//--------------------------------
-#define SC_RELATIVE_REFS 0x0010 // relative references
-#define SC_SUBTOTAL_FLAG 0x0011 // bSubTotal of formula cell
-#define SC_COLROWNAME_RANGEPAIR 0x0012 // ColRowNameRanges as ScRangePair
-//--------------------------------
-#define SC_31_EXPORT_VER 0x0012 // version for 3.1-export
//-------------------------------- since 4.0
-#define SC_32K_ROWS 0x0100 // 32000 rows - incompatibel
#define SC_FONTCHARSET 0x0101 // Font-CharSets have to be right
-//--------------------------------
-#define SC_40_EXPORT_VER 0x0101 // version for 4.0-Export
//-------------------------------- since 5.0
-#define SC_RECALC_MODE_BITS 0x0201 // TokenArray RecalcMode
#define SC_MATRIX_DOUBLEREF 0x0202 // DoubleRef implicit intersection
-#define SC_VERSION_EDITPOOL 0x0203 // EditCells with EditPool
-#define SC_SUBTOTAL_BUGFIX 0x0204 // bSubTotal of formula cell (true)
-//-------------------------------- since 5.2
-#define SC_CONVERT_RECALC_ON_LOAD 0x0205 // CONVERT function recalculated on each load
//--------------------------------
#define SC_CURRENT_VERSION 0x0205
diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx
index 477034766061..6ec0795ddf69 100644
--- a/sc/source/core/data/drwlayer.cxx
+++ b/sc/source/core/data/drwlayer.cxx
@@ -87,13 +87,6 @@
#define DET_ARROW_OFFSET 1000
-// Abstand zur naechsten Zelle beim Loeschen (bShrink), damit der Anker
-// immer an der richtigen Zelle angezeigt wird
-// und noch etwas mehr, damit das Objekt auch sichtbar in der Zelle liegt
-#define SHRINK_DIST 25
-
-#define SHRINK_DIST_TWIPS 15
-
using namespace ::com::sun::star;
// STATIC DATA -----------------------------------------------------------
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 2508b256b7e4..b65d93056447 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -73,8 +73,6 @@
#include "queryparam.hxx"
#include "queryentry.hxx"
-#define SC_DOUBLE_MAXVALUE 1.7e307
-
static const sal_uInt64 n2power48 = SAL_CONST_UINT64( 281474976710656); // 2^48
IMPL_FIXEDMEMPOOL_NEWDEL( ScTokenStack )
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index ebd2c362eb69..385ca9bdd85d 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -50,7 +50,6 @@ using namespace formula;
// STATIC DATA -----------------------------------------------------------
#define SCdEpsilon 1.0E-7
-#define SC_MAX_ITERATION_COUNT 20
#define MAX_ANZ_DOUBLE_FOR_SORT 100000
const double ScInterpreter::fMaxGammaArgument = 171.624376956302; // found experimental
diff --git a/sc/source/ui/dbgui/dpuiglobal.hxx b/sc/source/ui/dbgui/dpuiglobal.hxx
index d1125807a431..6734c09e7472 100644
--- a/sc/source/ui/dbgui/dpuiglobal.hxx
+++ b/sc/source/ui/dbgui/dpuiglobal.hxx
@@ -34,7 +34,6 @@
#define DATA_FIELD_BTN_GAP 2 // must be an even number
#define ROW_FIELD_BTN_GAP 2 // must be an even number
#define FIELD_BTN_HEIGHT 23
-#define SELECT_FIELD_BTN_SPACE 2
#define FIELD_AREA_GAP 3 // gap between row/column/data/page areas
#define TEXT_INFO_GAP 5 // gap between the row/data areas and the text notice below.
diff --git a/sc/source/ui/docshell/docsh8.cxx b/sc/source/ui/docshell/docsh8.cxx
index ba1c7839f6da..d42cf70fda91 100644
--- a/sc/source/ui/docshell/docsh8.cxx
+++ b/sc/source/ui/docshell/docsh8.cxx
@@ -106,8 +106,6 @@ using ::std::vector;
#define SC_DBPROP_EXTENSION "Extension"
#define SC_DBPROP_CHARSET "CharSet"
-#define SC_ROWCOUNT_ERROR (-1)
-
namespace
{
sal_uLong lcl_getDBaseConnection(uno::Reference<sdbc::XDriverManager>& _rDrvMgr,uno::Reference<sdbc::XConnection>& _rConnection,String& _rTabName,const String& rFullFileName,rtl_TextEncoding eCharSet)
diff --git a/sc/source/ui/inc/output.hxx b/sc/source/ui/inc/output.hxx
index 8bd076146242..295a129405da 100644
--- a/sc/source/ui/inc/output.hxx
+++ b/sc/source/ui/inc/output.hxx
@@ -60,12 +60,6 @@ class SdrPaintWindow;
// ---------------------------------------------------------------------------
-#define SC_OBJECTS_NONE 0
-#define SC_OBJECTS_DRAWING 1
-#define SC_OBJECTS_OLE 2
-#define SC_OBJECTS_CHARTS 4
-#define SC_OBJECTS_ALL ( SC_OBJECTS_DRAWING | SC_OBJECTS_OLE | SC_OBJECTS_CHARTS )
-
enum ScOutputType { OUTTYPE_WINDOW, OUTTYPE_PRINTER };
class ScFieldEditEngine;
diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx
index 61e672d813d7..6f7e890bec72 100644
--- a/sc/source/ui/view/viewfun5.cxx
+++ b/sc/source/ui/view/viewfun5.cxx
@@ -58,8 +58,6 @@
#include <comphelper/storagehelper.hxx>
#include <comphelper/string.hxx>
-#define SOT_FORMATSTR_ID_STARCALC_CURRENT SOT_FORMATSTR_ID_STARCALC_50
-
#include "viewfunc.hxx"
#include "docsh.hxx"
#include "drawview.hxx"