summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorJustin Malcolm <malcolm.justin@gmail.com>2010-09-29 14:14:15 -0400
committerKohei Yoshida <kyoshida@novell.com>2010-09-29 14:14:15 -0400
commit31018e35b1984aad1f01a389b1fd3428d52acf6e (patch)
tree80c65287ee3064cb5208daa0d78f1d97bc37c6ce /sc/inc
parentda4c41c60b8224888486111c1bc01c813ff670c5 (diff)
I think that this eliminates the remaining //UNUSED comments
There were still some of these comments (actually, a lot of them). The most recent attachment should get rid of the last of them. (fd#30442)
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/attarray.hxx5
-rw-r--r--sc/inc/attrib.hxx4
-rw-r--r--sc/inc/chartpos.hxx2
-rw-r--r--sc/inc/collect.hxx3
-rw-r--r--sc/inc/column.hxx6
-rw-r--r--sc/inc/compiler.hxx4
-rw-r--r--sc/inc/dbcolect.hxx2
-rw-r--r--sc/inc/dociter.hxx4
-rw-r--r--sc/inc/docoptio.hxx1
-rw-r--r--sc/inc/document.hxx9
-rw-r--r--sc/inc/docuno.hxx1
-rw-r--r--sc/inc/dptabsrc.hxx3
-rw-r--r--sc/inc/global.hxx1
-rw-r--r--sc/inc/hints.hxx1
-rw-r--r--sc/inc/markarr.hxx1
-rw-r--r--sc/inc/miscuno.hxx109
-rw-r--r--sc/inc/patattr.hxx13
-rw-r--r--sc/inc/pivot.hxx1
-rw-r--r--sc/inc/printopt.hxx1
-rw-r--r--sc/inc/rangenam.hxx3
-rw-r--r--sc/inc/scdll.hxx1
-rw-r--r--sc/inc/scmatrix.hxx6
-rw-r--r--sc/inc/servuno.hxx1
-rw-r--r--sc/inc/stlpool.hxx2
-rw-r--r--sc/inc/table.hxx7
-rw-r--r--sc/inc/xmlwrap.hxx2
26 files changed, 0 insertions, 193 deletions
diff --git a/sc/inc/attarray.hxx b/sc/inc/attarray.hxx
index c8bd4c330677..3d52a50dceb9 100644
--- a/sc/inc/attarray.hxx
+++ b/sc/inc/attarray.hxx
@@ -171,9 +171,6 @@ public:
BOOL IsEmpty() const;
-//UNUSED2008-05 SCROW GetFirstEntryPos() const;
-//UNUSED2008-05 SCROW GetLastEntryPos( BOOL bIncludeBottom ) const;
-
BOOL GetFirstVisibleAttr( SCROW& rFirstRow ) const;
BOOL GetLastVisibleAttr( SCROW& rLastRow, SCROW nLastData ) const;
BOOL HasVisibleAttrIn( SCROW nStartRow, SCROW nEndRow ) const;
@@ -192,8 +189,6 @@ public:
INT16 nStripFlags = 0 );
void DeleteHardAttr( SCROW nStartRow, SCROW nEndRow );
-
-//UNUSED2008-05 void ConvertFontsAfterLoad(); // old binary file format
};
diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx
index 96a0529c48a1..67ac37bdc945 100644
--- a/sc/inc/attrib.hxx
+++ b/sc/inc/attrib.hxx
@@ -231,7 +231,6 @@ public:
inline ScTableListItem( const USHORT nWhich );
ScTableListItem( const ScTableListItem& rCpy );
-//UNUSED2008-05 ScTableListItem( const USHORT nWhich, const List& rList );
~ScTableListItem();
ScTableListItem& operator=( const ScTableListItem &rCpy );
@@ -245,9 +244,6 @@ public:
const IntlWrapper* pIntl = 0 ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
-//UNUSED2009-05 BOOL GetTableList( List& aList ) const;
-//UNUSED2009-05 void SetTableList( const List& aList );
-
public:
USHORT nCount;
SCTAB* pTabArr;
diff --git a/sc/inc/chartpos.hxx b/sc/inc/chartpos.hxx
index 84ffd2e877e2..196d2a8eae39 100644
--- a/sc/inc/chartpos.hxx
+++ b/sc/inc/chartpos.hxx
@@ -97,8 +97,6 @@ public:
return ppRowHeader[ nChartRow ];
return NULL;
}
-//UNUSED2009-05 ScRangeListRef GetColRanges( SCCOL nChartCol ) const;
-//UNUSED2009-05 ScRangeListRef GetRowRanges( SCROW nChartRow ) const;
};
diff --git a/sc/inc/collect.hxx b/sc/inc/collect.hxx
index 167ab5929c6a..f2305ed9c7cd 100644
--- a/sc/inc/collect.hxx
+++ b/sc/inc/collect.hxx
@@ -155,9 +155,6 @@ public:
nValue(nVal),
nStrType(nType) {}
-//UNUSED2008-05 TypedStrData( ScDocument* pDoc, SCCOL nCol, SCROW nRow, SCTAB nTab,
-//UNUSED2008-05 BOOL bAllStrings );
-
TypedStrData( const TypedStrData& rCpy )
: ScDataObject(),
aStrValue(rCpy.aStrValue),
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index 668d64bb4289..f22654710189 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -141,8 +141,6 @@ public:
void SwapRow( SCROW nRow1, SCROW nRow2 );
void SwapCell( SCROW nRow, ScColumn& rCol);
-//UNUSED2009-05 BOOL HasLines( SCROW nRow1, SCROW nRow2, Rectangle& rSizes,
-//UNUSED2009-05 BOOL bLeft, BOOL bRight ) const;
bool HasAttrib( SCROW nRow1, SCROW nRow2, USHORT nMask ) const;
BOOL HasAttribSelection( const ScMarkData& rMark, USHORT nMask ) const;
BOOL ExtendMerge( SCCOL nThisCol, SCROW nStartRow, SCROW nEndRow,
@@ -254,7 +252,6 @@ public:
BOOL HasStringData( SCROW nRow ) const;
BOOL HasValueData( SCROW nRow ) const;
-//UNUSED2009-05 USHORT GetErrorData( SCROW nRow) const;
BOOL HasStringCells( SCROW nStartRow, SCROW nEndRow ) const;
/** Returns the pointer to a cell note object at the passed row. */
@@ -377,8 +374,6 @@ public:
void GetFilterEntries(SCROW nStartRow, SCROW nEndRow, TypedScStrCollection& rStrings, bool& rHasDates);
BOOL GetDataEntries(SCROW nRow, TypedScStrCollection& rStrings, BOOL bLimit);
-//UNUSED2008-05 SCROW NoteCount( SCROW nMaxRow = MAXROW ) const;
-
void UpdateInsertTabAbs(SCTAB nNewPos);
BOOL TestTabRefAbs(SCTAB nTable);
BOOL GetNextSpellingCell(SCROW& nRow, BOOL bInSel, const ScMarkData& rData) const;
@@ -403,7 +398,6 @@ public:
private:
ScBaseCell* CloneCell(SCSIZE nIndex, USHORT nFlags, ScDocument& rDestDoc, const ScAddress& rDestPos);
-//UNUSED2008-05 void CorrectSymbolCells( CharSet eStreamCharSet );
};
diff --git a/sc/inc/compiler.hxx b/sc/inc/compiler.hxx
index 7d045db3c2aa..a19f7c5d2c5c 100644
--- a/sc/inc/compiler.hxx
+++ b/sc/inc/compiler.hxx
@@ -186,12 +186,8 @@ public:
void SetSingleReference( const ScSingleRefData& rRef );
void SetDoubleReference( const ScComplexRefData& rRef );
void SetDouble( double fVal );
-//UNUSED2008-05 void SetInt( int nVal );
-//UNUSED2008-05 void SetMatrix( ScMatrix* p );
// These methods are ok to use, reference count not cleared.
-//UNUSED2008-05 ScComplexRefData& GetReference();
-//UNUSED2008-05 void SetReference( ScComplexRefData& rRef );
void SetName( USHORT n );
void SetExternalSingleRef( sal_uInt16 nFileId, const String& rTabName, const ScSingleRefData& rRef );
void SetExternalDoubleRef( sal_uInt16 nFileId, const String& rTabName, const ScComplexRefData& rRef );
diff --git a/sc/inc/dbcolect.hxx b/sc/inc/dbcolect.hxx
index 5e61b63500e6..6b57a422c140 100644
--- a/sc/inc/dbcolect.hxx
+++ b/sc/inc/dbcolect.hxx
@@ -157,8 +157,6 @@ public:
BOOL IsStripData() const { return bStripData; }
void SetStripData(BOOL bSet) { bStripData = bSet; }
-//UNUSED2008-05 BOOL IsBeyond(SCROW nMaxRow) const;
-
String GetSourceString() const;
String GetOperations() const;
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx
index d995550a2f1d..c36899a41208 100644
--- a/sc/inc/dociter.hxx
+++ b/sc/inc/dociter.hxx
@@ -108,10 +108,6 @@ private:
BOOL GetThis(double& rValue, USHORT& rErr);
public:
-//UNUSED2008-05 ScValueIterator(ScDocument* pDocument,
-//UNUSED2008-05 SCCOL nSCol, SCROW nSRow, SCTAB nSTab,
-//UNUSED2008-05 SCCOL nECol, SCROW nERow, SCTAB nETab,
-//UNUSED2008-05 BOOL bSTotal = FALSE, BOOL bTextAsZero = FALSE);
ScValueIterator(ScDocument* pDocument,
const ScRange& rRange, BOOL bSTotal = FALSE,
diff --git a/sc/inc/docoptio.hxx b/sc/inc/docoptio.hxx
index c9f06a9e5a35..d9efdf01d0e5 100644
--- a/sc/inc/docoptio.hxx
+++ b/sc/inc/docoptio.hxx
@@ -207,7 +207,6 @@ class SC_DLLPUBLIC ScTpCalcItem : public SfxPoolItem
{
public:
TYPEINFO();
-//UNUSED2008-05 ScTpCalcItem( USHORT nWhich );
ScTpCalcItem( USHORT nWhich,
const ScDocOptions& rOpt );
ScTpCalcItem( const ScTpCalcItem& rItem );
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 42928b56160a..0b66a0c18b9f 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -507,8 +507,6 @@ public:
BOOL bStartOnly = FALSE) const;
ScDBData* GetDBAtArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const;
-//UNUSED2008-05 ScRangeData* GetRangeAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab,
-//UNUSED2008-05 BOOL bStartOnly = FALSE) const;
SC_DLLPUBLIC ScRangeData* GetRangeAtBlock( const ScRange& rBlock, String* pName=NULL ) const;
SC_DLLPUBLIC ScDPCollection* GetDPCollection();
@@ -765,8 +763,6 @@ public:
BOOL HasSubTotalCells( const ScRange& rRange );
SC_DLLPUBLIC void PutCell( const ScAddress&, ScBaseCell* pCell, BOOL bForceTab = FALSE );
-//UNUSED2009-05 SC_DLLPUBLIC void PutCell( const ScAddress&, ScBaseCell* pCell,
-//UNUSED2009-05 ULONG nFormatIndex, BOOL bForceTab = FALSE);
SC_DLLPUBLIC void PutCell( SCCOL nCol, SCROW nRow, SCTAB nTab, ScBaseCell* pCell,
BOOL bForceTab = FALSE );
SC_DLLPUBLIC void PutCell(SCCOL nCol, SCROW nRow, SCTAB nTab, ScBaseCell* pCell,
@@ -810,8 +806,6 @@ public:
SC_DLLPUBLIC void GetCell( SCCOL nCol, SCROW nRow, SCTAB nTab, ScBaseCell*& rpCell ) const;
SC_DLLPUBLIC ScBaseCell* GetCell( const ScAddress& rPos ) const;
-//UNUSED2008-05 void RefreshNoteFlags();
-
SC_DLLPUBLIC BOOL HasData( SCCOL nCol, SCROW nRow, SCTAB nTab );
SC_DLLPUBLIC BOOL HasStringData( SCCOL nCol, SCROW nRow, SCTAB nTab ) const;
SC_DLLPUBLIC BOOL HasValueData( SCCOL nCol, SCROW nRow, SCTAB nTab ) const;
@@ -1439,8 +1433,6 @@ public:
SC_DLLPUBLIC void ClearPrintRanges( SCTAB nTab );
/** Adds a new print ranges. */
SC_DLLPUBLIC void AddPrintRange( SCTAB nTab, const ScRange& rNew );
-//UNUSED2009-05 /** Removes all old print ranges and sets the passed print ranges. */
-//UNUSED2009-05 void SetPrintRange( SCTAB nTab, const ScRange& rNew );
/** Marks the specified sheet to be printed completely. Deletes old print ranges on the sheet! */
SC_DLLPUBLIC void SetPrintEntireSheet( SCTAB nTab );
SC_DLLPUBLIC void SetRepeatColRange( SCTAB nTab, const ScRange* pNew );
@@ -1779,7 +1771,6 @@ public:
SC_DLLPUBLIC SfxItemPool* GetEnginePool() const;
SC_DLLPUBLIC ScFieldEditEngine& GetEditEngine();
SC_DLLPUBLIC ScNoteEditEngine& GetNoteEngine();
-//UNUSED2009-05 SfxItemPool& GetNoteItemPool();
ScRefreshTimerControl* GetRefreshTimerControl() const
{ return pRefreshTimerControl; }
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx
index 14c9515dfacb..c29c551ea3cd 100644
--- a/sc/inc/docuno.hxx
+++ b/sc/inc/docuno.hxx
@@ -680,7 +680,6 @@ private:
ScDocShell* pDocShell;
public:
-//UNUSED2008-05 ScSpreadsheetSettingsObj(ScDocShell* pDocSh);
virtual ~ScSpreadsheetSettingsObj();
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
diff --git a/sc/inc/dptabsrc.hxx b/sc/inc/dptabsrc.hxx
index 18210f38e80e..05252c9f1ef7 100644
--- a/sc/inc/dptabsrc.hxx
+++ b/sc/inc/dptabsrc.hxx
@@ -207,8 +207,6 @@ public:
ScDPDimensions* GetDimensionsObject();
-//UNUSED2009-05 void DumpState( ScDocument* pDoc, const ScAddress& rPos );
-
// XDimensionsSupplier
virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >
SAL_CALL getDimensions( )
@@ -456,7 +454,6 @@ public:
const ::com::sun::star::sheet::DataPilotFieldReference& GetReferenceValue() const;
-//UNUSED2009-05 BOOL IsValidPage( const ScDPItemData& rData );
// Wang Xu Ming -- 2009-8-17
// DataPilot Migration - Cache&&Performance
BOOL IsVisible( const ScDPItemData& rData );
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index 8178eb4a01d2..293dd0af85fe 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -481,7 +481,6 @@ struct ScImportParam
ScImportParam& operator= ( const ScImportParam& r );
BOOL operator== ( const ScImportParam& r ) const;
-//UNUSED2009-05 void Clear ();
};
struct ScStringHashCode
diff --git a/sc/inc/hints.hxx b/sc/inc/hints.hxx
index fca3d184a4a2..6a55cc4225bb 100644
--- a/sc/inc/hints.hxx
+++ b/sc/inc/hints.hxx
@@ -93,7 +93,6 @@ class ScPointerChangedHint : public SfxHint
public:
TYPEINFO();
-//UNUSED2008-05 ScPointerChangedHint( USHORT nF );
~ScPointerChangedHint();
USHORT GetFlags() const { return nFlags; }
diff --git a/sc/inc/markarr.hxx b/sc/inc/markarr.hxx
index 78bb2a6bba3d..4fd6a835b61a 100644
--- a/sc/inc/markarr.hxx
+++ b/sc/inc/markarr.hxx
@@ -62,7 +62,6 @@ public:
void CopyMarksTo( ScMarkArray& rDestMarkArray ) const;
BOOL Search( SCROW nRow, SCSIZE& nIndex ) const;
-//UNUSED2009-05 void DeleteArea(SCROW nStartRow, SCROW nEndRow);
/// Including current row, may return -1 if bUp and not found
SCsROW GetNextMarked( SCsROW nRow, BOOL bUp ) const;
diff --git a/sc/inc/miscuno.hxx b/sc/inc/miscuno.hxx
index d1958eccceac..eeceae4ee829 100644
--- a/sc/inc/miscuno.hxx
+++ b/sc/inc/miscuno.hxx
@@ -123,56 +123,6 @@ public:
throw(::com::sun::star::uno::RuntimeException);
};
-//UNUSED2008-05 class ScEmptyEnumerationAccess : public cppu::WeakImplHelper2<
-//UNUSED2008-05 com::sun::star::container::XEnumerationAccess,
-//UNUSED2008-05 com::sun::star::lang::XServiceInfo >
-//UNUSED2008-05 {
-//UNUSED2008-05 public:
-//UNUSED2008-05 ScEmptyEnumerationAccess();
-//UNUSED2008-05 virtual ~ScEmptyEnumerationAccess();
-//UNUSED2008-05
-//UNUSED2008-05 // XEnumerationAccess
-//UNUSED2008-05 virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL
-//UNUSED2008-05 createEnumeration() throw(::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05
-//UNUSED2008-05 // XElementAccess
-//UNUSED2008-05 virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
-//UNUSED2008-05 throw(::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05
-//UNUSED2008-05 // XServiceInfo
-//UNUSED2008-05 virtual ::rtl::OUString SAL_CALL getImplementationName( )
-//UNUSED2008-05 throw(::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
-//UNUSED2008-05 throw(::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( )
-//UNUSED2008-05 throw(::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 };
-
-//UNUSED2008-05 class ScEmptyEnumeration : public cppu::WeakImplHelper2<
-//UNUSED2008-05 com::sun::star::container::XEnumeration,
-//UNUSED2008-05 com::sun::star::lang::XServiceInfo >
-//UNUSED2008-05 {
-//UNUSED2008-05 public:
-//UNUSED2008-05 ScEmptyEnumeration();
-//UNUSED2008-05 virtual ~ScEmptyEnumeration();
-//UNUSED2008-05
-//UNUSED2008-05 // XEnumeration
-//UNUSED2008-05 virtual sal_Bool SAL_CALL hasMoreElements() throw(::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 virtual ::com::sun::star::uno::Any SAL_CALL nextElement()
-//UNUSED2008-05 throw(::com::sun::star::container::NoSuchElementException,
-//UNUSED2008-05 ::com::sun::star::lang::WrappedTargetException,
-//UNUSED2008-05 ::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05
-//UNUSED2008-05 // XServiceInfo
-//UNUSED2008-05 virtual ::rtl::OUString SAL_CALL getImplementationName( )
-//UNUSED2008-05 throw(::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
-//UNUSED2008-05 throw(::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( )
-//UNUSED2008-05 throw(::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 };
-
// new (uno 3) variant
class ScNameToIndexAccess : public cppu::WeakImplHelper2<
com::sun::star::container::XIndexAccess,
@@ -209,65 +159,6 @@ public:
throw(::com::sun::star::uno::RuntimeException);
};
-//UNUSED2008-05 class ScPrintSettingsObj : public cppu::WeakImplHelper2<
-//UNUSED2008-05 com::sun::star::beans::XPropertySet,
-//UNUSED2008-05 com::sun::star::lang::XServiceInfo >
-//UNUSED2008-05 {
-//UNUSED2008-05 public:
-//UNUSED2008-05 ScPrintSettingsObj();
-//UNUSED2008-05 virtual ~ScPrintSettingsObj();
-//UNUSED2008-05
-//UNUSED2008-05 // XPropertySet
-//UNUSED2008-05 virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >
-//UNUSED2008-05 SAL_CALL getPropertySetInfo()
-//UNUSED2008-05 throw(::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName,
-//UNUSED2008-05 const ::com::sun::star::uno::Any& aValue )
-//UNUSED2008-05 throw(::com::sun::star::beans::UnknownPropertyException,
-//UNUSED2008-05 ::com::sun::star::beans::PropertyVetoException,
-//UNUSED2008-05 ::com::sun::star::lang::IllegalArgumentException,
-//UNUSED2008-05 ::com::sun::star::lang::WrappedTargetException,
-//UNUSED2008-05 ::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(
-//UNUSED2008-05 const ::rtl::OUString& PropertyName )
-//UNUSED2008-05 throw(::com::sun::star::beans::UnknownPropertyException,
-//UNUSED2008-05 ::com::sun::star::lang::WrappedTargetException,
-//UNUSED2008-05 ::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
-//UNUSED2008-05 const ::com::sun::star::uno::Reference<
-//UNUSED2008-05 ::com::sun::star::beans::XPropertyChangeListener >& xListener )
-//UNUSED2008-05 throw(::com::sun::star::beans::UnknownPropertyException,
-//UNUSED2008-05 ::com::sun::star::lang::WrappedTargetException,
-//UNUSED2008-05 ::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
-//UNUSED2008-05 const ::com::sun::star::uno::Reference<
-//UNUSED2008-05 ::com::sun::star::beans::XPropertyChangeListener >& aListener )
-//UNUSED2008-05 throw(::com::sun::star::beans::UnknownPropertyException,
-//UNUSED2008-05 ::com::sun::star::lang::WrappedTargetException,
-//UNUSED2008-05 ::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName,
-//UNUSED2008-05 const ::com::sun::star::uno::Reference<
-//UNUSED2008-05 ::com::sun::star::beans::XVetoableChangeListener >& aListener )
-//UNUSED2008-05 throw(::com::sun::star::beans::UnknownPropertyException,
-//UNUSED2008-05 ::com::sun::star::lang::WrappedTargetException,
-//UNUSED2008-05 ::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName,
-//UNUSED2008-05 const ::com::sun::star::uno::Reference<
-//UNUSED2008-05 ::com::sun::star::beans::XVetoableChangeListener >& aListener )
-//UNUSED2008-05 throw(::com::sun::star::beans::UnknownPropertyException,
-//UNUSED2008-05 ::com::sun::star::lang::WrappedTargetException,
-//UNUSED2008-05 ::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05
-//UNUSED2008-05 // XServiceInfo
-//UNUSED2008-05 virtual ::rtl::OUString SAL_CALL getImplementationName( )
-//UNUSED2008-05 throw(::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
-//UNUSED2008-05 throw(::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( )
-//UNUSED2008-05 throw(::com::sun::star::uno::RuntimeException);
-//UNUSED2008-05 };
-
-
class SC_DLLPUBLIC ScUnoHelpFunctions
{
public:
diff --git a/sc/inc/patattr.hxx b/sc/inc/patattr.hxx
index b8929a450576..7ebcf066481e 100644
--- a/sc/inc/patattr.hxx
+++ b/sc/inc/patattr.hxx
@@ -133,19 +133,6 @@ public:
with text encoding RTL_TEXTENC_SYMBOL */
BOOL IsSymbolFont() const;
-//UNUSED2008-05 /** Create a FontToSubsFontConverter if needed for
-//UNUSED2008-05 this pattern, else return 0.
-//UNUSED2008-05
-//UNUSED2008-05 @param nFlags is the bit mask which shall be
-//UNUSED2008-05 used for CreateFontToSubsFontConverter().
-//UNUSED2008-05
-//UNUSED2008-05 The converter must be destroyed by the caller
-//UNUSED2008-05 using DestroyFontToSubsFontConverter() which
-//UNUSED2008-05 should be accomplished using the
-//UNUSED2008-05 ScFontToSubsFontConverter_AutoPtr
-//UNUSED2008-05 */
-//UNUSED2008-05 FontToSubsFontConverter GetSubsFontConverter( ULONG nFlags ) const;
-
ULONG GetNumberFormat( SvNumberFormatter* ) const;
ULONG GetNumberFormat( SvNumberFormatter* pFormatter,
const SfxItemSet* pCondSet ) const;
diff --git a/sc/inc/pivot.hxx b/sc/inc/pivot.hxx
index 915a311411c4..a9951e381acc 100644
--- a/sc/inc/pivot.hxx
+++ b/sc/inc/pivot.hxx
@@ -114,7 +114,6 @@ struct ScPivotParam
ScPivotParam& operator= ( const ScPivotParam& r );
BOOL operator== ( const ScPivotParam& r ) const;
-//UNUSED2009-05 void Clear ();
void ClearPivotArrays();
void SetLabelData (const ::std::vector<ScDPLabelDataRef>& r);
void SetPivotArrays ( const PivotField* pPageArr,
diff --git a/sc/inc/printopt.hxx b/sc/inc/printopt.hxx
index ec063d2d0e9b..ede04ea809ce 100644
--- a/sc/inc/printopt.hxx
+++ b/sc/inc/printopt.hxx
@@ -63,7 +63,6 @@ class SC_DLLPUBLIC ScTpPrintItem : public SfxPoolItem
{
public:
TYPEINFO();
-//UNUSED2008-05 ScTpPrintItem( USHORT nWhich );
ScTpPrintItem( USHORT nWhich,
const ScPrintOptions& rOpt );
ScTpPrintItem( const ScTpPrintItem& rItem );
diff --git a/sc/inc/rangenam.hxx b/sc/inc/rangenam.hxx
index a9f324b8b737..889efcf164d7 100644
--- a/sc/inc/rangenam.hxx
+++ b/sc/inc/rangenam.hxx
@@ -143,8 +143,6 @@ public:
SC_DLLPUBLIC BOOL IsReference( ScRange& rRef ) const;
BOOL IsReference( ScRange& rRef, const ScAddress& rPos ) const;
BOOL IsValidReference( ScRange& rRef ) const;
-
-//UNUSED2009-05 BOOL IsRangeAtCursor( const ScAddress&, BOOL bStartOnly ) const;
BOOL IsRangeAtBlock( const ScRange& ) const;
void UpdateTabRef(SCTAB nOldTable, USHORT nFlag, SCTAB nNewTable);
@@ -201,7 +199,6 @@ public:
virtual short Compare(ScDataObject* pKey1, ScDataObject* pKey2) const;
virtual BOOL IsEqual(ScDataObject* pKey1, ScDataObject* pKey2) const;
-//UNUSED2009-05 ScRangeData* GetRangeAtCursor( const ScAddress&, BOOL bStartOnly ) const;
SC_DLLPUBLIC ScRangeData* GetRangeAtBlock( const ScRange& ) const;
SC_DLLPUBLIC BOOL SearchName( const String& rName, USHORT& rPos ) const;
diff --git a/sc/inc/scdll.hxx b/sc/inc/scdll.hxx
index 1d2304c2a0f2..a10c794b9c43 100644
--- a/sc/inc/scdll.hxx
+++ b/sc/inc/scdll.hxx
@@ -67,7 +67,6 @@ public:
static void Init(); // called directly after loading the DLL
static void Exit(); // called directly befor unloading the DLL
-//UNUSED2008-05 static void FillStatusBar(StatusBar &rBar);
static ULONG DetectFilter( SfxMedium& rMedium, const SfxFilter** ppFilter,
SfxFilterFlags nMust, SfxFilterFlags nDont );
};
diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx
index b788672aa715..da4fa757b171 100644
--- a/sc/inc/scmatrix.hxx
+++ b/sc/inc/scmatrix.hxx
@@ -414,12 +414,6 @@ public:
void MatTrans( ScMatrix& mRes) const;
void MatCopy ( ScMatrix& mRes) const;
-//UNUSED2009-05 /** Copy upper left of this matrix to mRes matrix.
-//UNUSED2009-05 This matrix's dimensions must be greater or equal to the mRes matrix
-//UNUSED2009-05 dimensions.
-//UNUSED2009-05 */
-//UNUSED2009-05 void MatCopyUpperLeft( ScMatrix& mRes) const;
-
// Convert ScInterpreter::CompareMat values (-1,0,1) to boolean values
void CompareEqual();
void CompareNotEqual();
diff --git a/sc/inc/servuno.hxx b/sc/inc/servuno.hxx
index 4f2f1ec40de2..9a404b943313 100644
--- a/sc/inc/servuno.hxx
+++ b/sc/inc/servuno.hxx
@@ -108,7 +108,6 @@ public:
static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
MakeInstance( sal_uInt16 nType, ScDocShell* pDocShell );
static ::com::sun::star::uno::Sequence<rtl::OUString> GetAllServiceNames();
-//UNUSED2008-05 static String GetProviderName(sal_uInt16 nObjectType);
static sal_uInt16 GetProviderType(const String& rServiceName);
};
diff --git a/sc/inc/stlpool.hxx b/sc/inc/stlpool.hxx
index 946a861231d9..e98a33f08065 100644
--- a/sc/inc/stlpool.hxx
+++ b/sc/inc/stlpool.hxx
@@ -53,14 +53,12 @@ public:
void CreateStandardStyles();
void CopyStdStylesFrom( ScStyleSheetPool* pSrcPool );
-//UNUSED2008-05 void UpdateStdNames();
void CopyStyleFrom( ScStyleSheetPool* pSrcPool,
const String& rName, SfxStyleFamily eFamily );
ScStyleSheet* FindCaseIns( const String& rName, SfxStyleFamily eFam );
-//UNUSED2009-05 void SetForceStdName( const String* pSet );
const String* GetForceStdName() const { return pForceStdName; }
virtual SfxStyleSheetBase& Make( const String&, SfxStyleFamily eFam,
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 32e63834ddc4..757d07a903da 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -296,7 +296,6 @@ public:
BOOL IsBlockEmpty( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bIgnoreNotes = false ) const;
void PutCell( const ScAddress&, ScBaseCell* pCell );
-//UNUSED2009-05 void PutCell( const ScAddress&, ULONG nFormatIndex, ScBaseCell* pCell);
void PutCell( SCCOL nCol, SCROW nRow, ScBaseCell* pCell );
void PutCell(SCCOL nCol, SCROW nRow, ULONG nFormatIndex, ScBaseCell* pCell);
// TRUE = Zahlformat gesetzt
@@ -432,7 +431,6 @@ public:
BOOL HasData( SCCOL nCol, SCROW nRow );
BOOL HasStringData( SCCOL nCol, SCROW nRow );
BOOL HasValueData( SCCOL nCol, SCROW nRow );
-//UNUSED2008-05 USHORT GetErrorData(SCCOL nCol, SCROW nRow) const;
BOOL HasStringCells( SCCOL nStartCol, SCROW nStartRow,
SCCOL nEndCol, SCROW nEndRow ) const;
@@ -442,7 +440,6 @@ public:
aCol[rPos.Col()].GetErrCode( rPos.Row() ) :
0;
}
-//UNUSED2008-05 USHORT GetErrCode( SCCOL nCol, SCROW nRow ) const;
void ResetChanged( const ScRange& rRange );
@@ -471,7 +468,6 @@ public:
void UpdateGrow( const ScRange& rArea, SCCOL nGrowX, SCROW nGrowY );
void UpdateInsertTab(SCTAB nTable);
-//UNUSED2008-05 void UpdateInsertTabOnlyCells(SCTAB nTable);
void UpdateDeleteTab( SCTAB nTable, BOOL bIsMove, ScTable* pRefUndo = NULL );
void UpdateMoveTab(SCTAB nOldPos, SCTAB nNewPos, SCTAB nTabNo, ScProgress& );
void UpdateCompile( BOOL bForceIfNameInUse = FALSE );
@@ -505,7 +501,6 @@ public:
const SvxBorderLine** ppLeft, const SvxBorderLine** ppTop,
const SvxBorderLine** ppRight, const SvxBorderLine** ppBottom ) const;
-//UNUSED2009-05 BOOL HasLines( const ScRange& rRange, Rectangle& rSizes ) const;
bool HasAttrib( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, USHORT nMask ) const;
BOOL HasAttribSelection( const ScMarkData& rMark, USHORT nMask ) const;
BOOL ExtendMerge( SCCOL nStartCol, SCROW nStartRow,
@@ -590,8 +585,6 @@ public:
void ClearPrintRanges();
/** Adds a new print ranges. */
void AddPrintRange( const ScRange& rNew );
-//UNUSED2009-05 /** Removes all old print ranges and sets the passed print ranges. */
-//UNUSED2009-05 void SetPrintRange( const ScRange& rNew );
/** Marks the specified sheet to be printed completely. Deletes old print ranges! */
void SetPrintEntireSheet();
diff --git a/sc/inc/xmlwrap.hxx b/sc/inc/xmlwrap.hxx
index 926b6ef50cd1..3cdd9f61a966 100644
--- a/sc/inc/xmlwrap.hxx
+++ b/sc/inc/xmlwrap.hxx
@@ -55,8 +55,6 @@ class ScXMLImportWrapper
SfxMedium* pMedium;
::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > xStorage;
-//UNUSED2008-05 com::sun::star::uno::Reference< com::sun::star::task::XStatusIndicator> GetStatusIndicator(
-//UNUSED2008-05 com::sun::star::uno::Reference< com::sun::star::frame::XModel >& rModel);
com::sun::star::uno::Reference< com::sun::star::task::XStatusIndicator> GetStatusIndicator();
sal_uInt32 ImportFromComponent(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>& xServiceFactory,