summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/arealink.hxx1
-rw-r--r--sc/inc/attrib.hxx17
-rw-r--r--sc/inc/defaultsoptions.hxx1
-rw-r--r--sc/inc/docoptio.hxx2
-rw-r--r--sc/inc/formulaopt.hxx1
-rw-r--r--sc/inc/pch/precompiled_sc.hxx1
-rw-r--r--sc/inc/pch/precompiled_scfilt.hxx1
-rw-r--r--sc/inc/printopt.hxx2
-rw-r--r--sc/inc/stlsheet.hxx1
-rw-r--r--sc/inc/tablink.hxx1
-rw-r--r--sc/inc/viewopti.hxx2
11 files changed, 11 insertions, 19 deletions
diff --git a/sc/inc/arealink.hxx b/sc/inc/arealink.hxx
index f1a7d06ee181..c014e34ba2f5 100644
--- a/sc/inc/arealink.hxx
+++ b/sc/inc/arealink.hxx
@@ -45,7 +45,6 @@ private:
static bool FindExtRange( ScRange& rRange, ScDocument* pSrcDoc, const OUString& rAreaName );
public:
- TYPEINFO_OVERRIDE();
ScAreaLink( SfxObjectShell* pShell, const OUString& rFile,
const OUString& rFilter, const OUString& rOpt,
const OUString& rArea, const ScRange& rDest, sal_uLong nRefresh );
diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx
index 5c9070b84933..0b403d663989 100644
--- a/sc/inc/attrib.hxx
+++ b/sc/inc/attrib.hxx
@@ -50,7 +50,7 @@ class SC_DLLPUBLIC ScMergeAttr: public SfxPoolItem
SCsCOL nColMerge;
SCsROW nRowMerge;
public:
- TYPEINFO_OVERRIDE();
+ static SfxPoolItem* CreateDefault();
ScMergeAttr();
ScMergeAttr( SCsCOL nCol, SCsROW nRow = 0);
ScMergeAttr( const ScMergeAttr& );
@@ -101,7 +101,7 @@ class SC_DLLPUBLIC ScProtectionAttr: public SfxPoolItem
bool bHideCell; ///< hide cell
bool bHidePrint; ///< don't print cell
public:
- TYPEINFO_OVERRIDE();
+ static SfxPoolItem* CreateDefault();
ScProtectionAttr();
ScProtectionAttr( bool bProtect,
bool bHFormula = false,
@@ -150,7 +150,7 @@ public:
class ScRangeItem : public SfxPoolItem
{
public:
- TYPEINFO_OVERRIDE();
+ static SfxPoolItem* CreateDefault();
inline ScRangeItem( const sal_uInt16 nWhich );
inline ScRangeItem( const sal_uInt16 nWhich,
@@ -201,7 +201,7 @@ inline ScRangeItem& ScRangeItem::operator=( const ScRangeItem &rCpy )
class ScTableListItem : public SfxPoolItem
{
public:
- TYPEINFO_OVERRIDE();
+ static SfxPoolItem* CreateDefault();
inline ScTableListItem( const sal_uInt16 nWhich );
ScTableListItem( const ScTableListItem& rCpy );
@@ -240,7 +240,6 @@ class SC_DLLPUBLIC ScPageHFItem : public SfxPoolItem
EditTextObject* pRightArea;
public:
- TYPEINFO_OVERRIDE();
ScPageHFItem( sal_uInt16 nWhich );
ScPageHFItem( const ScPageHFItem& rItem );
virtual ~ScPageHFItem();
@@ -270,7 +269,7 @@ public:
class SC_DLLPUBLIC ScViewObjectModeItem: public SfxEnumItem
{
public:
- TYPEINFO_OVERRIDE();
+ static SfxPoolItem* CreateDefault();
ScViewObjectModeItem( sal_uInt16 nWhich );
ScViewObjectModeItem( sal_uInt16 nWhich, ScVObjMode eMode );
@@ -290,7 +289,7 @@ public:
class ScDoubleItem : public SfxPoolItem
{
public:
- TYPEINFO_OVERRIDE();
+ static SfxPoolItem* CreateDefault();
ScDoubleItem( sal_uInt16 nWhich, double nVal=0 );
ScDoubleItem( const ScDoubleItem& rItem );
virtual ~ScDoubleItem();
@@ -313,7 +312,7 @@ const sal_uInt8 SC_MID_PAGE_SCALETO_HEIGHT = 2;
class SC_DLLPUBLIC ScPageScaleToItem : public SfxPoolItem
{
public:
- TYPEINFO_OVERRIDE();
+ static SfxPoolItem* CreateDefault();
/** Default c'tor sets the width and height to 0. */
explicit ScPageScaleToItem();
@@ -351,7 +350,7 @@ private:
class ScCondFormatItem : public SfxPoolItem
{
public:
- TYPEINFO_OVERRIDE();
+ static SfxPoolItem* CreateDefault();
explicit ScCondFormatItem();
explicit ScCondFormatItem(const std::vector<sal_uInt32>& nIndex);
diff --git a/sc/inc/defaultsoptions.hxx b/sc/inc/defaultsoptions.hxx
index 7157db86c80b..466503fbfd7a 100644
--- a/sc/inc/defaultsoptions.hxx
+++ b/sc/inc/defaultsoptions.hxx
@@ -45,7 +45,6 @@ public:
class SC_DLLPUBLIC ScTpDefaultsItem : public SfxPoolItem
{
public:
- TYPEINFO_OVERRIDE();
ScTpDefaultsItem( sal_uInt16 nWhich,
const ScDefaultsOptions& rOpt );
ScTpDefaultsItem( const ScTpDefaultsItem& rItem );
diff --git a/sc/inc/docoptio.hxx b/sc/inc/docoptio.hxx
index 995fc26736fe..4b179352ee3f 100644
--- a/sc/inc/docoptio.hxx
+++ b/sc/inc/docoptio.hxx
@@ -150,7 +150,7 @@ inline bool ScDocOptions::operator!=( const ScDocOptions& rOpt ) const
class SC_DLLPUBLIC ScTpCalcItem : public SfxPoolItem
{
public:
- TYPEINFO_OVERRIDE();
+ static SfxPoolItem* CreateDefault();
ScTpCalcItem( sal_uInt16 nWhich,
const ScDocOptions& rOpt );
ScTpCalcItem( const ScTpCalcItem& rItem );
diff --git a/sc/inc/formulaopt.hxx b/sc/inc/formulaopt.hxx
index 6cd50464a313..0cab4c6e87a5 100644
--- a/sc/inc/formulaopt.hxx
+++ b/sc/inc/formulaopt.hxx
@@ -85,7 +85,6 @@ public:
class SC_DLLPUBLIC ScTpFormulaItem : public SfxPoolItem
{
public:
- TYPEINFO_OVERRIDE();
ScTpFormulaItem( sal_uInt16 nWhich,
const ScFormulaOptions& rOpt );
ScTpFormulaItem( const ScTpFormulaItem& rItem );
diff --git a/sc/inc/pch/precompiled_sc.hxx b/sc/inc/pch/precompiled_sc.hxx
index 2759e075ecd5..4a02554536b8 100644
--- a/sc/inc/pch/precompiled_sc.hxx
+++ b/sc/inc/pch/precompiled_sc.hxx
@@ -875,7 +875,6 @@
#include <tools/rcid.h>
#include <tools/resary.hxx>
#include <tools/resid.hxx>
-#include <tools/rtti.hxx>
#include <tools/solar.h>
#include <tools/stream.hxx>
#include <tools/tenccvt.hxx>
diff --git a/sc/inc/pch/precompiled_scfilt.hxx b/sc/inc/pch/precompiled_scfilt.hxx
index 5eb13baa217b..468b070dcd96 100644
--- a/sc/inc/pch/precompiled_scfilt.hxx
+++ b/sc/inc/pch/precompiled_scfilt.hxx
@@ -483,7 +483,6 @@
#include <svx/svdpage.hxx>
#include <svx/svdpool.hxx>
#include <svx/svdxcgv.hxx>
-#include <svx/sxmspitm.hxx>
#include <svx/unoapi.hxx>
#include <svx/unomid.hxx>
#include <svx/xbitmap.hxx>
diff --git a/sc/inc/printopt.hxx b/sc/inc/printopt.hxx
index 0cc93968cdf5..7c363a8cd209 100644
--- a/sc/inc/printopt.hxx
+++ b/sc/inc/printopt.hxx
@@ -55,7 +55,7 @@ public:
class SC_DLLPUBLIC ScTpPrintItem : public SfxPoolItem
{
public:
- TYPEINFO_OVERRIDE();
+ static SfxPoolItem* CreateDefault();
ScTpPrintItem( sal_uInt16 nWhich,
const ScPrintOptions& rOpt );
ScTpPrintItem( const ScTpPrintItem& rItem );
diff --git a/sc/inc/stlsheet.hxx b/sc/inc/stlsheet.hxx
index a5de26142118..6c7f8abcdef1 100644
--- a/sc/inc/stlsheet.hxx
+++ b/sc/inc/stlsheet.hxx
@@ -45,7 +45,6 @@ private:
mutable ScStyleSheet::Usage eUsage;
public:
- TYPEINFO_OVERRIDE();
ScStyleSheet( const ScStyleSheet& rStyle );
diff --git a/sc/inc/tablink.hxx b/sc/inc/tablink.hxx
index 9a7ba8da2766..147f3d2bd8a0 100644
--- a/sc/inc/tablink.hxx
+++ b/sc/inc/tablink.hxx
@@ -42,7 +42,6 @@ private:
bool bDoPaint:1;
public:
- TYPEINFO_OVERRIDE();
ScTableLink( ScDocShell* pDocSh, const OUString& rFile,
const OUString& rFilter, const OUString& rOpt, sal_uLong nRefresh );
ScTableLink( SfxObjectShell* pShell, const OUString& rFile,
diff --git a/sc/inc/viewopti.hxx b/sc/inc/viewopti.hxx
index c4398c3e0cfb..dd1d1681ed14 100644
--- a/sc/inc/viewopti.hxx
+++ b/sc/inc/viewopti.hxx
@@ -115,7 +115,7 @@ private:
class SC_DLLPUBLIC ScTpViewItem : public SfxPoolItem
{
public:
- TYPEINFO_OVERRIDE();
+ static SfxPoolItem* CreateDefault();
ScTpViewItem( sal_uInt16 nWhich, const ScViewOptions& rOpt );
ScTpViewItem( const ScTpViewItem& rItem );
virtual ~ScTpViewItem();