[ooo-build-commit] .: sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Tue Sep 28 19:45:58 PDT 2010
sc/source/core/data/attarray.cxx | 73 -----
sc/source/core/data/attrib.cxx | 95 ------
sc/source/core/data/column.cxx | 7
sc/source/core/data/column2.cxx | 107 -------
sc/source/core/data/dociter.cxx | 41 --
sc/source/core/data/documen2.cxx | 22 -
sc/source/core/data/documen3.cxx | 8
sc/source/core/data/documen9.cxx | 51 ---
sc/source/core/data/document.cxx | 7
sc/source/core/data/dptabsrc.cxx | 18 -
sc/source/core/data/global2.cxx | 21 -
sc/source/core/data/markarr.cxx | 5
sc/source/core/data/patattr.cxx | 10
sc/source/core/data/stlpool.cxx | 115 -------
sc/source/core/data/table1.cxx | 10
sc/source/core/data/table2.cxx | 35 --
sc/source/core/data/table4.cxx | 8
sc/source/core/tool/addinhelpid.cxx | 5
sc/source/core/tool/address.cxx | 7
sc/source/core/tool/chartpos.cxx | 33 --
sc/source/core/tool/collect.cxx | 18 -
sc/source/core/tool/dbcolect.cxx | 6
sc/source/core/tool/docoptio.cxx | 4
sc/source/core/tool/hints.cxx | 4
sc/source/core/tool/printopt.cxx | 3
sc/source/core/tool/rangenam.cxx | 23 -
sc/source/core/tool/refdata.cxx | 104 -------
sc/source/core/tool/scmatrix.cxx | 43 --
sc/source/core/tool/token.cxx | 30 --
sc/source/core/tool/viewopti.cxx | 4
sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx | 54 ---
sc/source/ui/Accessibility/AccessibleText.cxx | 26 -
sc/source/ui/app/inputwin.cxx | 15 -
sc/source/ui/app/scdll.cxx | 71 ----
sc/source/ui/app/uiitems.cxx | 16 -
sc/source/ui/dbgui/csvtablebox.cxx | 30 --
sc/source/ui/docshell/docfunc.cxx | 37 --
sc/source/ui/inc/AccessibleDocumentPagePreview.hxx | 5
sc/source/ui/inc/AccessibleText.hxx | 2
sc/source/ui/inc/acredlin.hxx | 1
sc/source/ui/inc/conflictsdlg.hxx | 4
sc/source/ui/inc/content.hxx | 1
sc/source/ui/inc/csvtablebox.hxx | 5
sc/source/ui/inc/dbfunc.hxx | 1
sc/source/ui/inc/docfunc.hxx | 2
sc/source/ui/inc/drawview.hxx | 2
sc/source/ui/inc/gridwin.hxx | 2
sc/source/ui/inc/inputwin.hxx | 2
sc/source/ui/inc/lbseldlg.hxx | 1
sc/source/ui/inc/prevloc.hxx | 1
sc/source/ui/inc/tabview.hxx | 13
sc/source/ui/inc/tabvwsh.hxx | 13
sc/source/ui/inc/uiitems.hxx | 7
sc/source/ui/inc/undodat.hxx | 33 --
sc/source/ui/inc/undotab.hxx | 22 -
sc/source/ui/inc/viewdata.hxx | 6
sc/source/ui/inc/viewfunc.hxx | 5
sc/source/ui/miscdlgs/acredlin.cxx | 4
sc/source/ui/miscdlgs/conflictsdlg.cxx | 36 --
sc/source/ui/miscdlgs/lbseldlg.cxx | 7
sc/source/ui/navipi/content.cxx | 11
sc/source/ui/undo/undodat.cxx | 159 -----------
sc/source/ui/undo/undotab.cxx | 59 ----
sc/source/ui/unoobj/docuno.cxx | 6
sc/source/ui/unoobj/fielduno.cxx | 21 -
sc/source/ui/unoobj/fmtuno.cxx | 5
sc/source/ui/unoobj/miscuno.cxx | 96 ------
sc/source/ui/unoobj/servuno.cxx | 7
sc/source/ui/unoobj/styleuno.cxx | 7
sc/source/ui/unoobj/viewuno.cxx | 11
sc/source/ui/view/dbfunc.cxx | 5
sc/source/ui/view/drawview.cxx | 42 --
sc/source/ui/view/gridwin4.cxx | 67 ----
sc/source/ui/view/prevloc.cxx | 38 --
sc/source/ui/view/tabview.cxx | 42 --
sc/source/ui/view/tabview3.cxx | 40 --
sc/source/ui/view/tabview4.cxx | 8
sc/source/ui/view/tabview5.cxx | 8
sc/source/ui/view/tabvwsh2.cxx | 1
sc/source/ui/view/tabvwsh4.cxx | 67 ----
sc/source/ui/view/viewdata.cxx | 59 ----
sc/source/ui/view/viewfun2.cxx | 34 --
sc/source/ui/view/viewfun4.cxx | 18 -
sc/source/ui/view/viewfunc.cxx | 6
84 files changed, 2 insertions(+), 2156 deletions(-)
New commits:
commit 0d9b86479b9cb9208079ead14479becab8dc24d3
Author: Justin Malcolm <malcolm.justin at gmail.com>
Date: Tue Sep 28 22:45:09 2010 -0400
This gets rid of a great number of the comments
There are a great number of places in calc where code is commented out
with lines staring in "//UNUSED". Since 'git' is being used, there is
no reason to keep old code like this in comments.
diff --git a/sc/source/core/data/attarray.cxx b/sc/source/core/data/attarray.cxx
index d5001ad..8d0c530 100644
--- a/sc/source/core/data/attarray.cxx
+++ b/sc/source/core/data/attarray.cxx
@@ -1838,41 +1838,6 @@ BOOL ScAttrArray::IsEmpty() const
}
-//UNUSED2008-05 SCROW ScAttrArray::GetFirstEntryPos() const
-//UNUSED2008-05 {
-//UNUSED2008-05 DBG_ASSERT( nCount, "nCount = 0" );
-//UNUSED2008-05
-//UNUSED2008-05 if ( pData[0].pPattern != pDocument->GetDefPattern() )
-//UNUSED2008-05 return 0;
-//UNUSED2008-05 else
-//UNUSED2008-05 {
-//UNUSED2008-05 if (nCount==1)
-//UNUSED2008-05 return 0; // leer
-//UNUSED2008-05 else
-//UNUSED2008-05 return pData[0].nRow + 1;
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05
-//UNUSED2008-05
-//UNUSED2008-05 SCROW ScAttrArray::GetLastEntryPos( BOOL bIncludeBottom ) const
-//UNUSED2008-05 {
-//UNUSED2008-05 DBG_ASSERT( nCount, "nCount == 0" );
-//UNUSED2008-05
-//UNUSED2008-05 if (bIncludeBottom)
-//UNUSED2008-05 bIncludeBottom = ( pData[nCount-1].pPattern != pDocument->GetDefPattern() );
-//UNUSED2008-05
-//UNUSED2008-05 if (bIncludeBottom)
-//UNUSED2008-05 return MAXROW;
-//UNUSED2008-05 else
-//UNUSED2008-05 {
-//UNUSED2008-05 if (nCount<=1)
-//UNUSED2008-05 return 0; // leer
-//UNUSED2008-05 else
-//UNUSED2008-05 return pData[nCount-2].nRow;
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-
-
BOOL ScAttrArray::GetFirstVisibleAttr( SCROW& rFirstRow ) const
{
DBG_ASSERT( nCount, "nCount == 0" );
@@ -2602,41 +2567,3 @@ void ScAttrArray::Load( SvStream& /* rStream */ )
}
#endif
-
-//UNUSED2008-05 void ScAttrArray::ConvertFontsAfterLoad()
-//UNUSED2008-05 {
-//UNUSED2008-05 ScFontToSubsFontConverter_AutoPtr xFontConverter;
-//UNUSED2008-05 const ULONG nFlags = FONTTOSUBSFONT_IMPORT | FONTTOSUBSFONT_ONLYOLDSOSYMBOLFONTS;
-//UNUSED2008-05 SCSIZE nIndex = 0;
-//UNUSED2008-05 SCROW nThisRow = 0;
-//UNUSED2008-05
-//UNUSED2008-05 while ( nThisRow <= MAXROW )
-//UNUSED2008-05 {
-//UNUSED2008-05 const ScPatternAttr* pOldPattern = pData[nIndex].pPattern;
-//UNUSED2008-05 const SfxPoolItem* pItem;
-//UNUSED2008-05 if( pOldPattern->GetItemSet().GetItemState( ATTR_FONT, FALSE, &pItem ) == SFX_ITEM_SET )
-//UNUSED2008-05 {
-//UNUSED2008-05 const SvxFontItem* pFontItem = (const SvxFontItem*) pItem;
-//UNUSED2008-05 const String& rOldName = pFontItem->GetFamilyName();
-//UNUSED2008-05 xFontConverter = CreateFontToSubsFontConverter( rOldName, nFlags );
-//UNUSED2008-05 if ( xFontConverter )
-//UNUSED2008-05 {
-//UNUSED2008-05 String aNewName( GetFontToSubsFontName( xFontConverter ) );
-//UNUSED2008-05 if ( aNewName != rOldName )
-//UNUSED2008-05 {
-//UNUSED2008-05 SCROW nAttrRow = pData[nIndex].nRow;
-//UNUSED2008-05 SvxFontItem aNewItem( pFontItem->GetFamily(), aNewName,
-//UNUSED2008-05 pFontItem->GetStyleName(), pFontItem->GetPitch(),
-//UNUSED2008-05 RTL_TEXTENCODING_DONTKNOW, ATTR_FONT );
-//UNUSED2008-05 ScPatternAttr aNewPattern( *pOldPattern );
-//UNUSED2008-05 aNewPattern.GetItemSet().Put( aNewItem );
-//UNUSED2008-05 SetPatternArea( nThisRow, nAttrRow, &aNewPattern, TRUE );
-//UNUSED2008-05 Search( nThisRow, nIndex ); //! data changed
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05 ++nIndex;
-//UNUSED2008-05 nThisRow = pData[nIndex-1].nRow+1;
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-
diff --git a/sc/source/core/data/attrib.cxx b/sc/source/core/data/attrib.cxx
index 1b06624..c9f0275 100644
--- a/sc/source/core/data/attrib.cxx
+++ b/sc/source/core/data/attrib.cxx
@@ -519,15 +519,6 @@ ScTableListItem::ScTableListItem( const ScTableListItem& rCpy )
// -----------------------------------------------------------------------
-//UNUSED2008-05 ScTableListItem::ScTableListItem( const USHORT nWhichP, const List& rList )
-//UNUSED2008-05 : SfxPoolItem ( nWhichP ),
-//UNUSED2008-05 nCount ( 0 ),
-//UNUSED2008-05 pTabArr ( NULL )
-//UNUSED2008-05 {
-//UNUSED2008-05 SetTableList( rList );
-//UNUSED2008-05 }
-
-// -----------------------------------------------------------------------
ScTableListItem::~ScTableListItem()
{
@@ -631,35 +622,6 @@ SfxItemPresentation ScTableListItem::GetPresentation
return SFX_ITEM_PRESENTATION_NONE;
}
-// -----------------------------------------------------------------------
-
-//UNUSED2009-05 BOOL ScTableListItem::GetTableList( List& aList ) const
-//UNUSED2009-05 {
-//UNUSED2009-05 for ( USHORT i=0; i<nCount; i++ )
-//UNUSED2009-05 aList.Insert( new SCTAB( pTabArr[i] ) );
-//UNUSED2009-05
-//UNUSED2009-05 return ( nCount > 0 );
-//UNUSED2009-05 }
-
-// -----------------------------------------------------------------------
-
-//UNUSED2009-05 void ScTableListItem::SetTableList( const List& rList )
-//UNUSED2009-05 {
-//UNUSED2009-05 nCount = (USHORT)rList.Count();
-//UNUSED2009-05
-//UNUSED2009-05 delete [] pTabArr;
-//UNUSED2009-05
-//UNUSED2009-05 if ( nCount > 0 )
-//UNUSED2009-05 {
-//UNUSED2009-05 pTabArr = new SCTAB [nCount];
-//UNUSED2009-05
-//UNUSED2009-05 for ( USHORT i=0; i<nCount; i++ )
-//UNUSED2009-05 pTabArr[i] = *( (SCTAB*)rList.GetObject( i ) );
-//UNUSED2009-05 }
-//UNUSED2009-05 else
-//UNUSED2009-05 pTabArr = NULL;
-//UNUSED2009-05 }
-
// -----------------------------------------------------------------------
// ScPageHFItem - Daten der Kopf-/Fusszeilen
@@ -931,63 +893,6 @@ SfxPoolItem* ScPageHFItem::Create( SvStream& rStream, USHORT nVer ) const
//------------------------------------------------------------------------
-//UNUSED2009-05 class ScFieldChangerEditEngine : public ScEditEngineDefaulter
-//UNUSED2009-05 {
-//UNUSED2009-05 TypeId aExtFileId;
-//UNUSED2009-05 USHORT nConvPara;
-//UNUSED2009-05 xub_StrLen nConvPos;
-//UNUSED2009-05 BOOL bConvert;
-//UNUSED2009-05
-//UNUSED2009-05 public:
-//UNUSED2009-05 ScFieldChangerEditEngine( SfxItemPool* pEnginePool, BOOL bDeleteEnginePool );
-//UNUSED2009-05 virtual ~ScFieldChangerEditEngine() {}
-//UNUSED2009-05
-//UNUSED2009-05 virtual String CalcFieldValue( const SvxFieldItem& rField, USHORT nPara,
-//UNUSED2009-05 USHORT nPos, Color*& rTxtColor,
-//UNUSED2009-05 Color*& rFldColor );
-//UNUSED2009-05
-//UNUSED2009-05 BOOL ConvertFields();
-//UNUSED2009-05 };
-//UNUSED2009-05
-//UNUSED2009-05 ScFieldChangerEditEngine::ScFieldChangerEditEngine( SfxItemPool* pEnginePoolP,
-//UNUSED2009-05 BOOL bDeleteEnginePoolP ) :
-//UNUSED2009-05 ScEditEngineDefaulter( pEnginePoolP, bDeleteEnginePoolP ),
-//UNUSED2009-05 aExtFileId( TYPE( SvxExtFileField ) ),
-//UNUSED2009-05 nConvPara( 0 ),
-//UNUSED2009-05 nConvPos( 0 ),
-//UNUSED2009-05 bConvert( FALSE )
-//UNUSED2009-05 {
-//UNUSED2009-05 }
-//UNUSED2009-05
-//UNUSED2009-05 String ScFieldChangerEditEngine::CalcFieldValue( const SvxFieldItem& rField,
-//UNUSED2009-05 USHORT nPara, USHORT nPos, Color*& /* rTxtColor */, Color*& /* rFldColor */ )
-//UNUSED2009-05 {
-//UNUSED2009-05 const SvxFieldData* pFieldData = rField.GetField();
-//UNUSED2009-05 if ( pFieldData && pFieldData->Type() == aExtFileId )
-//UNUSED2009-05 {
-//UNUSED2009-05 bConvert = TRUE;
-//UNUSED2009-05 nConvPara = nPara;
-//UNUSED2009-05 nConvPos = nPos;
-//UNUSED2009-05 }
-//UNUSED2009-05 return EMPTY_STRING;
-//UNUSED2009-05 }
-//UNUSED2009-05
-//UNUSED2009-05 BOOL ScFieldChangerEditEngine::ConvertFields()
-//UNUSED2009-05 {
-//UNUSED2009-05 BOOL bConverted = FALSE;
-//UNUSED2009-05 do
-//UNUSED2009-05 {
-//UNUSED2009-05 bConvert = FALSE;
-//UNUSED2009-05 UpdateFields();
-//UNUSED2009-05 if ( bConvert )
-//UNUSED2009-05 {
-//UNUSED2009-05 ESelection aSel( nConvPara, nConvPos, nConvPara, nConvPos+1 );
-//UNUSED2009-05 QuickInsertField( SvxFieldItem( SvxFileField(), EE_FEATURE_FIELD), aSel );
-//UNUSED2009-05 bConverted = TRUE;
-//UNUSED2009-05 }
-//UNUSED2009-05 } while ( bConvert );
-//UNUSED2009-05 return bConverted;
-//UNUSED2009-05 }
void ScPageHFItem::SetLeftArea( const EditTextObject& rNew )
{
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 622ef83..cab00e0 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -237,13 +237,6 @@ BOOL ScColumn::HasSelectionMatrixFragment(const ScMarkData& rMark) const
}
-//UNUSED2009-05 BOOL ScColumn::HasLines( SCROW nRow1, SCROW nRow2, Rectangle& rSizes,
-//UNUSED2009-05 BOOL bLeft, BOOL bRight ) const
-//UNUSED2009-05 {
-//UNUSED2009-05 return pAttrArray->HasLines( nRow1, nRow2, rSizes, bLeft, bRight );
-//UNUSED2009-05 }
-
-
bool ScColumn::HasAttrib( SCROW nRow1, SCROW nRow2, USHORT nMask ) const
{
return pAttrArray->HasAttrib( nRow1, nRow2, nMask );
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index 2d06f5e..7898871 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -93,96 +93,6 @@ inline BOOL IsAmbiguousScript( BYTE nScript )
// -----------------------------------------------------------------------------------------
-//UNUSED2008-05 SCROW ScColumn::NoteCount( SCROW nMaxRow ) const
-//UNUSED2008-05 {
-//UNUSED2008-05 SCROW nNoteCount = 0;
-//UNUSED2008-05 SCSIZE i;
-//UNUSED2008-05
-//UNUSED2008-05 for (i=0; i<nCount; i++)
-//UNUSED2008-05 if ( pItems[i].pCell->GetNotePtr() && pItems[i].nRow<=nMaxRow )
-//UNUSED2008-05 ++nNoteCount;
-//UNUSED2008-05
-//UNUSED2008-05 return nNoteCount;
-//UNUSED2008-05 }
-
-// -----------------------------------------------------------------------------------------
-
-//UNUSED2008-05 void ScColumn::CorrectSymbolCells( CharSet eStreamCharSet )
-//UNUSED2008-05 {
-//UNUSED2008-05 // #99139# find and correct string cells that are formatted with a symbol font,
-//UNUSED2008-05 // but are not in the LoadedSymbolStringCellsList
-//UNUSED2008-05 // (because CELLTYPE_SYMBOLS wasn't written in the file)
-//UNUSED2008-05
-//UNUSED2008-05 ScFontToSubsFontConverter_AutoPtr xFontConverter;
-//UNUSED2008-05 const ULONG nFontConverterFlags = FONTTOSUBSFONT_EXPORT | FONTTOSUBSFONT_ONLYOLDSOSYMBOLFONTS;
-//UNUSED2008-05
-//UNUSED2008-05 BOOL bListInitialized = FALSE;
-//UNUSED2008-05 ScSymbolStringCellEntry* pCurrentEntry = NULL;
-//UNUSED2008-05
-//UNUSED2008-05 ScAttrIterator aAttrIter( pAttrArray, 0, MAXROW );
-//UNUSED2008-05 SCROW nStt, nEnd;
-//UNUSED2008-05 const ScPatternAttr* pAttr = aAttrIter.Next( nStt, nEnd );
-//UNUSED2008-05 while ( pAttr )
-//UNUSED2008-05 {
-//UNUSED2008-05 if ( (xFontConverter = pAttr->GetSubsFontConverter( nFontConverterFlags )) ||
-//UNUSED2008-05 pAttr->IsSymbolFont() )
-//UNUSED2008-05 {
-//UNUSED2008-05 ScColumnIterator aCellIter( this, nStt, nEnd );
-//UNUSED2008-05 SCROW nRow;
-//UNUSED2008-05 ScBaseCell* pCell;
-//UNUSED2008-05 while ( aCellIter.Next( nRow, pCell ) )
-//UNUSED2008-05 {
-//UNUSED2008-05 if ( pCell->GetCellType() == CELLTYPE_STRING )
-//UNUSED2008-05 {
-//UNUSED2008-05 List& rList = pDocument->GetLoadedSymbolStringCellsList();
-//UNUSED2008-05 if (!bListInitialized)
-//UNUSED2008-05 {
-//UNUSED2008-05 pCurrentEntry = (ScSymbolStringCellEntry*)rList.First();
-//UNUSED2008-05 bListInitialized = TRUE;
-//UNUSED2008-05 }
-//UNUSED2008-05
-//UNUSED2008-05 while ( pCurrentEntry && pCurrentEntry->nRow < nRow )
-//UNUSED2008-05 pCurrentEntry = (ScSymbolStringCellEntry*)rList.Next();
-//UNUSED2008-05
-//UNUSED2008-05 if ( pCurrentEntry && pCurrentEntry->nRow == nRow )
-//UNUSED2008-05 {
-//UNUSED2008-05 // found
-//UNUSED2008-05 }
-//UNUSED2008-05 else
-//UNUSED2008-05 {
-//UNUSED2008-05 // not in list -> convert and put into list
-//UNUSED2008-05
-//UNUSED2008-05 ScStringCell* pStrCell = (ScStringCell*)pCell;
-//UNUSED2008-05 String aOldStr;
-//UNUSED2008-05 pStrCell->GetString( aOldStr );
-//UNUSED2008-05
-//UNUSED2008-05 // convert back to stream character set (get original data)
-//UNUSED2008-05 ByteString aByteStr( aOldStr, eStreamCharSet );
-//UNUSED2008-05
-//UNUSED2008-05 // convert using symbol encoding, as for CELLTYPE_SYMBOLS cells
-//UNUSED2008-05 String aNewStr( aByteStr, RTL_TEXTENCODING_SYMBOL );
-//UNUSED2008-05 pStrCell->SetString( aNewStr );
-//UNUSED2008-05
-//UNUSED2008-05 ScSymbolStringCellEntry * pEntry = new ScSymbolStringCellEntry;
-//UNUSED2008-05 pEntry->pCell = pStrCell;
-//UNUSED2008-05 pEntry->nRow = nRow;
-//UNUSED2008-05
-//UNUSED2008-05 if ( pCurrentEntry )
-//UNUSED2008-05 rList.Insert( pEntry ); // before current entry - pCurrentEntry stays valid
-//UNUSED2008-05 else
-//UNUSED2008-05 rList.Insert( pEntry, LIST_APPEND ); // append if already behind last entry
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05
-//UNUSED2008-05 pAttr = aAttrIter.Next( nStt, nEnd );
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-
-// -----------------------------------------------------------------------------------------
-
- // GetNeededSize: optimale Hoehe / Breite in Pixeln
long ScColumn::GetNeededSize( SCROW nRow, OutputDevice* pDev,
double nPPTX, double nPPTY,
@@ -1193,23 +1103,6 @@ BOOL ScMarkedDataIter::Next( SCSIZE& rIndex )
return TRUE;
}
-//UNUSED2009-05 USHORT ScColumn::GetErrorData( SCROW nRow ) const
-//UNUSED2009-05 {
-//UNUSED2009-05 SCSIZE nIndex;
-//UNUSED2009-05 if (Search(nRow, nIndex))
-//UNUSED2009-05 {
-//UNUSED2009-05 ScBaseCell* pCell = pItems[nIndex].pCell;
-//UNUSED2009-05 switch (pCell->GetCellType())
-//UNUSED2009-05 {
-//UNUSED2009-05 case CELLTYPE_FORMULA :
-//UNUSED2009-05 return ((ScFormulaCell*)pCell)->GetErrCode();
-//UNUSED2009-05 // break;
-//UNUSED2009-05 default:
-//UNUSED2009-05 return 0;
-//UNUSED2009-05 }
-//UNUSED2009-05 }
-//UNUSED2009-05 return 0;
-//UNUSED2009-05 }
//------------
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index 1da04e9..6a8d3ec 100644
--- a/sc/source/core/data/dociter.cxx
+++ b/sc/source/core/data/dociter.cxx
@@ -233,47 +233,6 @@ void lcl_IterGetNumberFormat( ULONG& nFormat, const ScAttrArray*& rpArr,
}
}
-//UNUSED2008-05 ScValueIterator::ScValueIterator( ScDocument* pDocument,
-//UNUSED2008-05 SCCOL nSCol, SCROW nSRow, SCTAB nSTab,
-//UNUSED2008-05 SCCOL nECol, SCROW nERow, SCTAB nETab,
-//UNUSED2008-05 BOOL bSTotal, BOOL bTextZero ) :
-//UNUSED2008-05 pDoc( pDocument ),
-//UNUSED2008-05 nNumFmtIndex(0),
-//UNUSED2008-05 nStartCol( nSCol),
-//UNUSED2008-05 nStartRow( nSRow),
-//UNUSED2008-05 nStartTab( nSTab ),
-//UNUSED2008-05 nEndCol( nECol ),
-//UNUSED2008-05 nEndRow( nERow),
-//UNUSED2008-05 nEndTab( nETab ),
-//UNUSED2008-05 nNumFmtType( NUMBERFORMAT_UNDEFINED ),
-//UNUSED2008-05 bNumValid( FALSE ),
-//UNUSED2008-05 bSubTotal(bSTotal),
-//UNUSED2008-05 bNextValid( FALSE ),
-//UNUSED2008-05 bCalcAsShown( pDocument->GetDocOptions().IsCalcAsShown() ),
-//UNUSED2008-05 bTextAsZero( bTextZero )
-//UNUSED2008-05 {
-//UNUSED2008-05 PutInOrder( nStartCol, nEndCol);
-//UNUSED2008-05 PutInOrder( nStartRow, nEndRow);
-//UNUSED2008-05 PutInOrder( nStartTab, nEndTab );
-//UNUSED2008-05
-//UNUSED2008-05 if (!ValidCol(nStartCol)) nStartCol = MAXCOL;
-//UNUSED2008-05 if (!ValidCol(nEndCol)) nEndCol = MAXCOL;
-//UNUSED2008-05 if (!ValidRow(nStartRow)) nStartRow = MAXROW;
-//UNUSED2008-05 if (!ValidRow(nEndRow)) nEndRow = MAXROW;
-//UNUSED2008-05 if (!ValidTab(nStartTab)) nStartTab = MAXTAB;
-//UNUSED2008-05 if (!ValidTab(nEndTab)) nEndTab = MAXTAB;
-//UNUSED2008-05
-//UNUSED2008-05 nCol = nStartCol;
-//UNUSED2008-05 nRow = nStartRow;
-//UNUSED2008-05 nTab = nStartTab;
-//UNUSED2008-05
-//UNUSED2008-05 nColRow = 0; // wird bei GetFirst initialisiert
-//UNUSED2008-05
-//UNUSED2008-05 nNumFormat = 0; // werden bei GetNumberFormat initialisiert
-//UNUSED2008-05 pAttrArray = 0;
-//UNUSED2008-05 nAttrEndRow = 0;
-//UNUSED2008-05 }
-
ScValueIterator::ScValueIterator( ScDocument* pDocument, const ScRange& rRange,
BOOL bSTotal, BOOL bTextZero ) :
pDoc( pDocument ),
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index 1c1cf39..cefddea 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -553,12 +553,6 @@ ScNoteEditEngine& ScDocument::GetNoteEngine()
return *pNoteEngine;
}
-//UNUSED2009-05 SfxItemPool& ScDocument::GetNoteItemPool()
-//UNUSED2009-05 {
-//UNUSED2009-05 if ( !pNoteItemPool )
-//UNUSED2009-05 pNoteItemPool = new SfxItemPool(SdrObject::GetGlobalDrawObjectItemPool());
-//UNUSED2009-05 return *pNoteItemPool;
-//UNUSED2009-05 }
void ScDocument::ResetClip( ScDocument* pSourceDoc, const ScMarkData* pMarks )
{
@@ -628,22 +622,6 @@ void ScDocument::PutCell( SCCOL nCol, SCROW nRow, SCTAB nTab,
}
}
-//UNUSED2009-05 void ScDocument::PutCell( const ScAddress& rPos, ScBaseCell* pCell,
-//UNUSED2009-05 ULONG nFormatIndex, BOOL bForceTab )
-//UNUSED2009-05 {
-//UNUSED2009-05 SCTAB nTab = rPos.Tab();
-//UNUSED2009-05 if ( bForceTab && !pTab[nTab] )
-//UNUSED2009-05 {
-//UNUSED2009-05 BOOL bExtras = !bIsUndo; // Spaltenbreiten, Zeilenhoehen, Flags
-//UNUSED2009-05
-//UNUSED2009-05 pTab[nTab] = new ScTable(this, nTab,
-//UNUSED2009-05 String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("temp")),
-//UNUSED2009-05 bExtras, bExtras);
-//UNUSED2009-05 }
-//UNUSED2009-05
-//UNUSED2009-05 if (pTab[nTab])
-//UNUSED2009-05 pTab[nTab]->PutCell( rPos, nFormatIndex, pCell );
-//UNUSED2009-05 }
BOOL ScDocument::GetPrintArea( SCTAB nTab, SCCOL& rEndCol, SCROW& rEndRow,
BOOL bNotes ) const
diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx
index 196e6bd..b5160a9 100644
--- a/sc/source/core/data/documen3.cxx
+++ b/sc/source/core/data/documen3.cxx
@@ -105,14 +105,6 @@ void ScDocument::SetRangeName( ScRangeName* pNewRangeName )
pRangeName = pNewRangeName;
}
-//UNUSED2008-05 ScRangeData* ScDocument::GetRangeAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab,
-//UNUSED2008-05 BOOL bStartOnly) const
-//UNUSED2008-05 {
-//UNUSED2008-05 if ( pRangeName )
-//UNUSED2008-05 return pRangeName->GetRangeAtCursor( ScAddress( nCol, nRow, nTab ), bStartOnly );
-//UNUSED2008-05 else
-//UNUSED2008-05 return NULL;
-//UNUSED2008-05 }
ScRangeData* ScDocument::GetRangeAtBlock( const ScRange& rBlock, String* pName ) const
{
diff --git a/sc/source/core/data/documen9.cxx b/sc/source/core/data/documen9.cxx
index 92b5fb7..fcf21f2 100644
--- a/sc/source/core/data/documen9.cxx
+++ b/sc/source/core/data/documen9.cxx
@@ -360,57 +360,6 @@ void ScDocument::StartAnimations( SCTAB nTab, Window* pWin )
}
}
-//UNUSED2008-05 void ScDocument::RefreshNoteFlags()
-//UNUSED2008-05 {
-//UNUSED2008-05 if (!pDrawLayer)
-//UNUSED2008-05 return;
-//UNUSED2008-05
-//UNUSED2008-05 BOOL bAnyIntObj = FALSE;
-//UNUSED2008-05 SCTAB nTab;
-//UNUSED2008-05 ScPostIt aNote(this);
-//UNUSED2008-05 for (nTab=0; nTab<=MAXTAB && pTab[nTab]; nTab++)
-//UNUSED2008-05 {
-//UNUSED2008-05 SdrPage* pPage = pDrawLayer->GetPage(static_cast<sal_uInt16>(nTab));
-//UNUSED2008-05 DBG_ASSERT(pPage,"Page ?");
-//UNUSED2008-05 if (pPage)
-//UNUSED2008-05 {
-//UNUSED2008-05 SdrObjListIter aIter( *pPage, IM_FLAT );
-//UNUSED2008-05 SdrObject* pObject = aIter.Next();
-//UNUSED2008-05 while (pObject)
-//UNUSED2008-05 {
-//UNUSED2008-05 if ( pObject->GetLayer() == SC_LAYER_INTERN )
-//UNUSED2008-05 {
-//UNUSED2008-05 bAnyIntObj = TRUE; // for all internal objects, including detective
-//UNUSED2008-05
-//UNUSED2008-05 if ( pObject->ISA( SdrCaptionObj ) )
-//UNUSED2008-05 {
-//UNUSED2008-05 ScDrawObjData* pData = ScDrawLayer::GetObjData( pObject );
-//UNUSED2008-05 if ( pData )
-//UNUSED2008-05 {
-//UNUSED2008-05 if ( GetNote( pData->aStt.Col(), pData->aStt.Row(), nTab, aNote))
-//UNUSED2008-05 if ( !aNote.IsShown() )
-//UNUSED2008-05 {
-//UNUSED2008-05 aNote.SetShown(TRUE);
-//UNUSED2008-05 SetNote( pData->aStt.Col(), pData->aStt.Row(), nTab, aNote);
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05 pObject = aIter.Next();
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05
-//UNUSED2008-05 if (bAnyIntObj)
-//UNUSED2008-05 {
-//UNUSED2008-05 // update attributes for all note objects and the colors of detective objects
-//UNUSED2008-05 // (we don't know with which settings the file was created)
-//UNUSED2008-05
-//UNUSED2008-05 ScDetectiveFunc aFunc( this, 0 );
-//UNUSED2008-05 aFunc.UpdateAllComments();
-//UNUSED2008-05 aFunc.UpdateAllArrowColors();
-//UNUSED2008-05 }
-//UNUSED2008-05 }
BOOL ScDocument::HasBackgroundDraw( SCTAB nTab, const Rectangle& rMMRect )
{
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 26719e5..b266757 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -5195,13 +5195,6 @@ void ScDocument::AddPrintRange( SCTAB nTab, const ScRange& rNew )
}
-//UNUSED2009-05 void ScDocument::SetPrintRange( SCTAB nTab, const ScRange& rNew )
-//UNUSED2009-05 {
-//UNUSED2009-05 if (ValidTab(nTab) && pTab[nTab])
-//UNUSED2009-05 pTab[nTab]->SetPrintRange( rNew );
-//UNUSED2009-05 }
-
-
void ScDocument::SetPrintEntireSheet( SCTAB nTab )
{
if (ValidTab(nTab) && pTab[nTab])
diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx
index ed334e5..190c7d5 100755
--- a/sc/source/core/data/dptabsrc.cxx
+++ b/sc/source/core/data/dptabsrc.cxx
@@ -1010,16 +1010,6 @@ void ScDPSource::CreateRes_Impl()
}
}
-//UNUSED2009-05 void ScDPSource::DumpState( ScDocument* pDoc, const ScAddress& rPos )
-//UNUSED2009-05 {
-//UNUSED2009-05 CreateRes_Impl();
-//UNUSED2009-05
-//UNUSED2009-05 ScAddress aDocPos( rPos );
-//UNUSED2009-05
-//UNUSED2009-05 if (pColResRoot->GetChildDimension())
-//UNUSED2009-05 pColResRoot->GetChildDimension()->DumpState( NULL, pDoc, aDocPos );
-//UNUSED2009-05 pRowResRoot->DumpState( pColResRoot, pDoc, aDocPos );
-//UNUSED2009-05 }
void ScDPSource::FillLevelList( USHORT nOrientation, List& rList )
{
@@ -1545,14 +1535,6 @@ const ScDPItemData& ScDPDimension::GetSelectedData()
return *pSelectedData;
}
-//UNUSED2009-05 BOOL ScDPDimension::IsValidPage( const ScDPItemData& rData )
-//UNUSED2009-05 {
-//UNUSED2009-05 if ( bHasSelectedPage )
-//UNUSED2009-05 return rData.IsCaseInsEqual( GetSelectedData() );
-//UNUSED2009-05
-//UNUSED2009-05 return TRUE; // no selection -> all data
-//UNUSED2009-05 }
-
BOOL ScDPDimension::IsVisible( const ScDPItemData& rData )
{
if( ScDPMembers* pMembers = this->GetHierarchiesObject()->getByIndex(0)->
diff --git a/sc/source/core/data/global2.cxx b/sc/source/core/data/global2.cxx
index 55fa221..bdc120e 100644
--- a/sc/source/core/data/global2.cxx
+++ b/sc/source/core/data/global2.cxx
@@ -97,17 +97,6 @@ ScImportParam::~ScImportParam()
{
}
-//UNUSED2009-05 void ScImportParam::Clear()
-//UNUSED2009-05 {
-//UNUSED2009-05 nCol1 = nCol2 = 0;
-//UNUSED2009-05 nRow1 = nRow2 = 0;
-//UNUSED2009-05 bImport = FALSE;
-//UNUSED2009-05 bNative = FALSE;
-//UNUSED2009-05 bSql = TRUE;
-//UNUSED2009-05 nType = ScDbTable;
-//UNUSED2009-05 aDBName.Erase();
-//UNUSED2009-05 aStatement.Erase();
-//UNUSED2009-05 }
ScImportParam& ScImportParam::operator=( const ScImportParam& r )
{
@@ -621,16 +610,6 @@ __EXPORT ScPivotParam::~ScPivotParam()
//------------------------------------------------------------------------
-//UNUSED2009-05 void __EXPORT ScPivotParam::Clear()
-//UNUSED2009-05 {
-//UNUSED2009-05 nCol = 0;
-//UNUSED2009-05 nRow = 0;
-//UNUSED2009-05 nTab = 0;
-//UNUSED2009-05 bIgnoreEmptyRows = bDetectCategories = FALSE;
-//UNUSED2009-05 bMakeTotalCol = bMakeTotalRow = TRUE;
-//UNUSED2009-05 ClearLabelData();
-//UNUSED2009-05 ClearPivotArrays();
-//UNUSED2009-05 }
void __EXPORT ScPivotParam::ClearPivotArrays()
{
diff --git a/sc/source/core/data/markarr.cxx b/sc/source/core/data/markarr.cxx
index dba34fc..f80a91f 100644
--- a/sc/source/core/data/markarr.cxx
+++ b/sc/source/core/data/markarr.cxx
@@ -251,11 +251,6 @@ void ScMarkArray::SetMarkArea( SCROW nStartRow, SCROW nEndRow, BOOL bMarked )
// InfoBox(0, String(nCount) + String(" Eintraege") ).Execute();
}
-//UNUSED2009-05 void ScMarkArray::DeleteArea(SCROW nStartRow, SCROW nEndRow)
-//UNUSED2009-05 {
-//UNUSED2009-05 SetMarkArea(nStartRow, nEndRow, FALSE);
-//UNUSED2009-05 }
-
BOOL ScMarkArray::IsAllMarked( SCROW nStartRow, SCROW nEndRow ) const
{
SCSIZE nStartIndex;
diff --git a/sc/source/core/data/patattr.cxx b/sc/source/core/data/patattr.cxx
index 7b63093..1c0dc37 100644
--- a/sc/source/core/data/patattr.cxx
+++ b/sc/source/core/data/patattr.cxx
@@ -1239,16 +1239,6 @@ BOOL ScPatternAttr::IsSymbolFont() const
return FALSE;
}
-//UNUSED2008-05 FontToSubsFontConverter ScPatternAttr::GetSubsFontConverter( ULONG nFlags ) const
-//UNUSED2008-05 {
-//UNUSED2008-05 const SfxPoolItem* pItem;
-//UNUSED2008-05 if( GetItemSet().GetItemState( ATTR_FONT, TRUE, &pItem ) == SFX_ITEM_SET )
-//UNUSED2008-05 return CreateFontToSubsFontConverter(
-//UNUSED2008-05 ((const SvxFontItem*) pItem)->GetFamilyName(), nFlags );
-//UNUSED2008-05 else
-//UNUSED2008-05 return 0;
-//UNUSED2008-05 }
-
ULONG ScPatternAttr::GetNumberFormat( SvNumberFormatter* pFormatter ) const
{
diff --git a/sc/source/core/data/stlpool.cxx b/sc/source/core/data/stlpool.cxx
index 863ff1c..818845a 100644
--- a/sc/source/core/data/stlpool.cxx
+++ b/sc/source/core/data/stlpool.cxx
@@ -92,13 +92,6 @@ void ScStyleSheetPool::SetDocument( ScDocument* pDocument )
//------------------------------------------------------------------------
-//UNUSED2009-05 void ScStyleSheetPool::SetForceStdName( const String* pSet )
-//UNUSED2009-05 {
-//UNUSED2009-05 pForceStdName = pSet;
-//UNUSED2009-05 }
-
-//------------------------------------------------------------------------
-
SfxStyleSheetBase& ScStyleSheetPool::Make( const String& rName,
SfxStyleFamily eFam, USHORT mask, USHORT nPos )
{
@@ -509,114 +502,6 @@ void ScStyleSheetPool::CreateStandardStyles()
//------------------------------------------------------------------------
-//UNUSED2008-05 void ScStyleSheetPool::UpdateStdNames()
-//UNUSED2008-05 {
-//UNUSED2008-05 // Standard-Styles den richtigen Namen in der Programm-Sprache geben
-//UNUSED2008-05
-//UNUSED2008-05 String aHelpFile;
-//UNUSED2008-05 sal_uInt32 nCount = aStyles.size();
-//UNUSED2008-05 for (sal_uInt32 n=0; n<nCount; n++)
-//UNUSED2008-05 {
-//UNUSED2008-05 SfxStyleSheetBase* pStyle = aStyles[n].get();
-//UNUSED2008-05 if (!pStyle->IsUserDefined())
-//UNUSED2008-05 {
-//UNUSED2008-05 String aOldName = pStyle->GetName();
-//UNUSED2008-05 ULONG nHelpId = pStyle->GetHelpId( aHelpFile );
-//UNUSED2008-05 SfxStyleFamily eFam = pStyle->GetFamily();
-//UNUSED2008-05
-//UNUSED2008-05 BOOL bHelpKnown = TRUE;
-//UNUSED2008-05 String aNewName;
-//UNUSED2008-05 USHORT nNameId = 0;
-//UNUSED2008-05 switch( nHelpId )
-//UNUSED2008-05 {
-//UNUSED2008-05 case HID_SC_SHEET_CELL_STD:
-//UNUSED2008-05 case HID_SC_SHEET_PAGE_STD: nNameId = STR_STYLENAME_STANDARD; break;
-//UNUSED2008-05 case HID_SC_SHEET_CELL_ERG: nNameId = STR_STYLENAME_RESULT; break;
-//UNUSED2008-05 case HID_SC_SHEET_CELL_ERG1: nNameId = STR_STYLENAME_RESULT1; break;
-//UNUSED2008-05 case HID_SC_SHEET_CELL_UEB: nNameId = STR_STYLENAME_HEADLINE; break;
-//UNUSED2008-05 case HID_SC_SHEET_CELL_UEB1: nNameId = STR_STYLENAME_HEADLINE1; break;
-//UNUSED2008-05 case HID_SC_SHEET_PAGE_REP: nNameId = STR_STYLENAME_REPORT; break;
-//UNUSED2008-05 default:
-//UNUSED2008-05 // 0 oder falsche (alte) HelpId
-//UNUSED2008-05 bHelpKnown = FALSE;
-//UNUSED2008-05 }
-//UNUSED2008-05 if (bHelpKnown)
-//UNUSED2008-05 {
-//UNUSED2008-05 if ( nNameId )
-//UNUSED2008-05 aNewName = SCSTR( nNameId );
-//UNUSED2008-05
-//UNUSED2008-05 if ( aNewName.Len() && aNewName != aOldName && !Find( aNewName, eFam ) )
-//UNUSED2008-05 {
-//UNUSED2008-05 DBG_TRACE( "Renaming style..." );
-//UNUSED2008-05
-//UNUSED2008-05 pStyle->SetName( aNewName ); // setzt auch Parents um
-//UNUSED2008-05
-//UNUSED2008-05 // Styles in Patterns sind schon auf Pointer umgesetzt
-//UNUSED2008-05 if (eFam == SFX_STYLE_FAMILY_PAGE)
-//UNUSED2008-05 {
-//UNUSED2008-05 // Page-Styles umsetzen
-//UNUSED2008-05 // TableCount am Doc ist noch nicht initialisiert
-//UNUSED2008-05 for (SCTAB nTab=0; nTab<=MAXTAB && pDoc->HasTable(nTab); nTab++)
-//UNUSED2008-05 if (pDoc->GetPageStyle(nTab) == aOldName)
-//UNUSED2008-05 pDoc->SetPageStyle(nTab, aNewName);
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05 else
-//UNUSED2008-05 {
-//UNUSED2008-05 // wrong or no HelpId -> set new HelpId
-//UNUSED2008-05
-//UNUSED2008-05 // no assertion for wrong HelpIds because this happens
-//UNUSED2008-05 // with old files (#67218#) or with old files that were
-//UNUSED2008-05 // saved again with a new version in a different language
-//UNUSED2008-05 // (so SrcVersion doesn't help)
-//UNUSED2008-05
-//UNUSED2008-05 USHORT nNewId = 0;
-//UNUSED2008-05 if ( eFam == SFX_STYLE_FAMILY_PARA )
-//UNUSED2008-05 {
-//UNUSED2008-05 if ( aOldName == SCSTR( STR_STYLENAME_STANDARD ) )
-//UNUSED2008-05 nNewId = HID_SC_SHEET_CELL_STD;
-//UNUSED2008-05 else if ( aOldName == SCSTR( STR_STYLENAME_RESULT ) )
-//UNUSED2008-05 nNewId = HID_SC_SHEET_CELL_ERG;
-//UNUSED2008-05 else if ( aOldName == SCSTR( STR_STYLENAME_RESULT1 ) )
-//UNUSED2008-05 nNewId = HID_SC_SHEET_CELL_ERG1;
-//UNUSED2008-05 else if ( aOldName == SCSTR( STR_STYLENAME_HEADLINE ) )
-//UNUSED2008-05 nNewId = HID_SC_SHEET_CELL_UEB;
-//UNUSED2008-05 else if ( aOldName == SCSTR( STR_STYLENAME_HEADLINE1 ) )
-//UNUSED2008-05 nNewId = HID_SC_SHEET_CELL_UEB1;
-//UNUSED2008-05 }
-//UNUSED2008-05 else // PAGE
-//UNUSED2008-05 {
-//UNUSED2008-05 if ( aOldName == SCSTR( STR_STYLENAME_STANDARD ) )
-//UNUSED2008-05 nNewId = HID_SC_SHEET_PAGE_STD;
-//UNUSED2008-05 else if ( aOldName == SCSTR( STR_STYLENAME_REPORT ) )
-//UNUSED2008-05 nNewId = HID_SC_SHEET_PAGE_REP;
-//UNUSED2008-05 }
-//UNUSED2008-05
-//UNUSED2008-05 if ( nNewId ) // new ID found from name -> set ID
-//UNUSED2008-05 {
-//UNUSED2008-05 pStyle->SetHelpId( aHelpFile, nNewId );
-//UNUSED2008-05 }
-//UNUSED2008-05 else if ( nHelpId == 0 ) // no old and no new ID
-//UNUSED2008-05 {
-//UNUSED2008-05 // #71471# probably user defined style without SFXSTYLEBIT_USERDEF set
-//UNUSED2008-05 // (from StarCalc 1.0 import), fixed in src563 and above
-//UNUSED2008-05 //! may also be default style from a different language
-//UNUSED2008-05 //! test if name was generated from StarCalc 1.0 import?
-//UNUSED2008-05 DBG_ASSERT(pDoc->GetSrcVersion() <= SC_SUBTOTAL_BUGFIX,
-//UNUSED2008-05 "user defined style without SFXSTYLEBIT_USERDEF");
-//UNUSED2008-05 pStyle->SetMask( pStyle->GetMask() | SFXSTYLEBIT_USERDEF );
-//UNUSED2008-05 }
-//UNUSED2008-05 // else: wrong old ID and no new ID found:
-//UNUSED2008-05 // probably default style from a different language
-//UNUSED2008-05 // -> leave unchanged (HelpId will be set if loaded with matching
-//UNUSED2008-05 // language version later)
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-
-//------------------------------------------------------------------------
ScStyleSheet* ScStyleSheetPool::FindCaseIns( const String& rName, SfxStyleFamily eFam )
{
diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index e2c9701..e6cf341 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -1305,11 +1305,6 @@ void ScTable::UpdateInsertTab(SCTAB nTable)
SetStreamValid(FALSE);
}
-//UNUSED2008-05 void ScTable::UpdateInsertTabOnlyCells(SCTAB nTable)
-//UNUSED2008-05 {
-//UNUSED2008-05 for (SCCOL i=0; i <= MAXCOL; i++) aCol[i].UpdateInsertTabOnlyCells(nTable);
-//UNUSED2008-05 }
-
void ScTable::UpdateDeleteTab( SCTAB nTable, BOOL bIsMove, ScTable* pRefUndo )
{
if (nTab > nTable) nTab--;
@@ -1579,11 +1574,6 @@ void ScTable::AddPrintRange( const ScRange& rNew )
SetStreamValid(FALSE);
}
-//UNUSED2009-05 void ScTable::SetPrintRange( const ScRange& rNew )
-//UNUSED2009-05 {
-//UNUSED2009-05 ClearPrintRanges();
-//UNUSED2009-05 AddPrintRange( rNew );
-//UNUSED2009-05 }
void ScTable::SetPrintEntireSheet()
{
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 61c8ec8..c53722a 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -1005,15 +1005,6 @@ void ScTable::PutCell( const ScAddress& rPos, ScBaseCell* pCell )
}
-//UNUSED2009-05 void ScTable::PutCell( const ScAddress& rPos, ULONG nFormatIndex, ScBaseCell* pCell )
-//UNUSED2009-05 {
-//UNUSED2009-05 if (pCell)
-//UNUSED2009-05 aCol[rPos.Col()].Insert( rPos.Row(), nFormatIndex, pCell );
-//UNUSED2009-05 else
-//UNUSED2009-05 aCol[rPos.Col()].Delete( rPos.Row() );
-//UNUSED2009-05 }
-
-
BOOL ScTable::SetString( SCCOL nCol, SCROW nRow, SCTAB nTabP, const String& rString,
ScSetStringParam* pParam )
{
@@ -1195,14 +1186,6 @@ BOOL ScTable::HasStringCells( SCCOL nStartCol, SCROW nStartRow,
}
-//UNUSED2008-05 USHORT ScTable::GetErrCode( SCCOL nCol, SCROW nRow ) const
-//UNUSED2008-05 {
-//UNUSED2008-05 if (ValidColRow( nCol, nRow ))
-//UNUSED2008-05 return aCol[nCol].GetErrCode( nRow );
-//UNUSED2008-05 return 0;
-//UNUSED2008-05 }
-
-
void ScTable::SetDirtyVar()
{
for (SCCOL i=0; i<=MAXCOL; i++)
@@ -1368,24 +1351,6 @@ bool ScTable::HasAttrib( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, USH
}
-//UNUSED2009-05 BOOL ScTable::HasLines( const ScRange& rRange, Rectangle& rSizes ) const
-//UNUSED2009-05 {
-//UNUSED2009-05 SCCOL nCol1 = rRange.aStart.Col();
-//UNUSED2009-05 SCROW nRow1 = rRange.aStart.Row();
-//UNUSED2009-05 SCCOL nCol2 = rRange.aEnd.Col();
-//UNUSED2009-05 SCROW nRow2 = rRange.aEnd.Row();
-//UNUSED2009-05 PutInOrder( nCol1, nCol2 );
-//UNUSED2009-05 PutInOrder( nRow1, nRow2 );
-//UNUSED2009-05
-//UNUSED2009-05 BOOL bFound = FALSE;
-//UNUSED2009-05 for (SCCOL i=nCol1; i<=nCol2; i++)
-//UNUSED2009-05 if (aCol[i].HasLines( nRow1, nRow2, rSizes, (i==nCol1), (i==nCol2) ))
-//UNUSED2009-05 bFound = TRUE;
-//UNUSED2009-05
-//UNUSED2009-05 return bFound;
-//UNUSED2009-05 }
-
-
BOOL ScTable::HasAttribSelection( const ScMarkData& rMark, USHORT nMask ) const
{
BOOL bFound=FALSE;
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index 545be2f..f6b8847 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -1902,14 +1902,6 @@ void ScTable::UpdateInsertTabAbs(SCTAB nTable)
aCol[i].UpdateInsertTabAbs(nTable);
}
-//UNUSED2008-05 USHORT ScTable::GetErrorData( SCCOL nCol, SCROW nRow ) const
-//UNUSED2008-05 {
-//UNUSED2008-05 if (ValidColRow(nCol,nRow))
-//UNUSED2008-05 return aCol[nCol].GetErrorData( nRow );
-//UNUSED2008-05 else
-//UNUSED2008-05 return 0;
-//UNUSED2008-05 }
-
BOOL ScTable::GetNextSpellingCell(SCCOL& rCol, SCROW& rRow, BOOL bInSel,
const ScMarkData& rMark) const
{
diff --git a/sc/source/core/tool/addinhelpid.cxx b/sc/source/core/tool/addinhelpid.cxx
index 01a5e77..79312af 100644
--- a/sc/source/core/tool/addinhelpid.cxx
+++ b/sc/source/core/tool/addinhelpid.cxx
@@ -159,11 +159,6 @@ const ScUnoAddInHelpId pDateFuncHelpIds[] =
// ============================================================================
-//UNUSED2008-05 ScUnoAddInHelpIdGenerator::ScUnoAddInHelpIdGenerator() :
-//UNUSED2008-05 pCurrHelpIds( NULL ),
-//UNUSED2008-05 nArrayCount( 0 )
-//UNUSED2008-05 {
-//UNUSED2008-05 }
ScUnoAddInHelpIdGenerator::ScUnoAddInHelpIdGenerator( const ::rtl::OUString& rServiceName )
{
diff --git a/sc/source/core/tool/address.cxx b/sc/source/core/tool/address.cxx
index a4a77c9..41e8314 100644
--- a/sc/source/core/tool/address.cxx
+++ b/sc/source/core/tool/address.cxx
@@ -56,13 +56,6 @@ ScAddress::Details::Details ( const ScDocument* pDoc,
{
}
-//UNUSED2009-05 void ScAddress::Details::SetPos ( const ScDocument* pDoc,
-//UNUSED2009-05 const ScAddress & rAddr )
-//UNUSED2009-05 {
-//UNUSED2009-05 nRow = rAddr.Row();
-//UNUSED2009-05 nCol = rAddr.Col();
-//UNUSED2009-05 eConv = pDoc->GetAddressConvention();
-//UNUSED2009-05 }
////////////////////////////////////////////////////////////////////////////
diff --git a/sc/source/core/tool/chartpos.cxx b/sc/source/core/tool/chartpos.cxx
index fec8c69..80202cc 100644
--- a/sc/source/core/tool/chartpos.cxx
+++ b/sc/source/core/tool/chartpos.cxx
@@ -611,36 +611,3 @@ ScChartPositionMap::~ScChartPositionMap()
}
delete [] ppRowHeader;
}
-
-
-//UNUSED2009-05 ScRangeListRef ScChartPositionMap::GetColRanges( SCCOL nChartCol ) const
-//UNUSED2009-05 {
-//UNUSED2009-05 ScRangeListRef xRangeList = new ScRangeList;
-//UNUSED2009-05 if ( nChartCol < nColCount )
-//UNUSED2009-05 {
-//UNUSED2009-05 ULONG nStop = GetIndex( nChartCol, nRowCount );
-//UNUSED2009-05 for ( ULONG nIndex = GetIndex( nChartCol, 0 ); nIndex < nStop; nIndex++ )
-//UNUSED2009-05 {
-//UNUSED2009-05 if ( ppData[ nIndex ] )
-//UNUSED2009-05 xRangeList->Join( *ppData[ nIndex ] );
-//UNUSED2009-05 }
-//UNUSED2009-05 }
-//UNUSED2009-05 return xRangeList;
-//UNUSED2009-05 }
-
-
-//UNUSED2009-05 ScRangeListRef ScChartPositionMap::GetRowRanges( SCROW nChartRow ) const
-//UNUSED2009-05 {
-//UNUSED2009-05 ScRangeListRef xRangeList = new ScRangeList;
-//UNUSED2009-05 if ( nChartRow < nRowCount )
-//UNUSED2009-05 {
-//UNUSED2009-05 ULONG nStop = GetIndex( nColCount, nChartRow );
-//UNUSED2009-05 for ( ULONG nIndex = GetIndex( 0, nChartRow ); nIndex < nStop;
-//UNUSED2009-05 nIndex += nRowCount )
-//UNUSED2009-05 {
-//UNUSED2009-05 if ( ppData[ nIndex ] )
-//UNUSED2009-05 xRangeList->Join( *ppData[ nIndex ] );
-//UNUSED2009-05 }
-//UNUSED2009-05 }
-//UNUSED2009-05 return xRangeList;
-//UNUSED2009-05 }
diff --git a/sc/source/core/tool/collect.cxx b/sc/source/core/tool/collect.cxx
index 64bf727..b2d4596 100644
--- a/sc/source/core/tool/collect.cxx
+++ b/sc/source/core/tool/collect.cxx
@@ -334,24 +334,6 @@ ScDataObject* ScStrCollection::Clone() const
// TypedScStrCollection
//------------------------------------------------------------------------
-//UNUSED2008-05 TypedStrData::TypedStrData( ScDocument* pDoc, SCCOL nCol, SCROW nRow, SCTAB nTab,
-//UNUSED2008-05 BOOL bAllStrings )
-//UNUSED2008-05 {
-//UNUSED2008-05 if ( pDoc->HasValueData( nCol, nRow, nTab ) )
-//UNUSED2008-05 {
-//UNUSED2008-05 pDoc->GetValue( nCol, nRow, nTab, nValue );
-//UNUSED2008-05 if (bAllStrings)
-//UNUSED2008-05 pDoc->GetString( nCol, nRow, nTab, aStrValue );
-//UNUSED2008-05 nStrType = 0;
-//UNUSED2008-05 }
-//UNUSED2008-05 else
-//UNUSED2008-05 {
-//UNUSED2008-05 pDoc->GetString( nCol, nRow, nTab, aStrValue );
-//UNUSED2008-05 nValue = 0.0;
-//UNUSED2008-05 nStrType = 1; //! Typ uebergeben ?
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-
ScDataObject* TypedStrData::Clone() const
{
diff --git a/sc/source/core/tool/dbcolect.cxx b/sc/source/core/tool/dbcolect.cxx
index 07bbba4..2cc3ff2 100644
--- a/sc/source/core/tool/dbcolect.cxx
+++ b/sc/source/core/tool/dbcolect.cxx
@@ -333,12 +333,6 @@ ScDBData::~ScDBData()
}
}
-//UNUSED2008-05 BOOL ScDBData::IsBeyond(SCROW nMaxRow) const
-//UNUSED2008-05 {
-//UNUSED2008-05 return ( nStartRow > nMaxRow ||
-//UNUSED2008-05 nEndRow > nMaxRow ||
-//UNUSED2008-05 nQueryDestRow > nMaxRow );
-//UNUSED2008-05 }
String ScDBData::GetSourceString() const
{
diff --git a/sc/source/core/tool/docoptio.cxx b/sc/source/core/tool/docoptio.cxx
index fcb9a0d..5b74ba5 100644
--- a/sc/source/core/tool/docoptio.cxx
+++ b/sc/source/core/tool/docoptio.cxx
@@ -202,10 +202,6 @@ const LocaleDataWrapper& ScDocOptions::GetLocaleDataWrapper() const
// ScTpCalcItem - Daten fuer die CalcOptions-TabPage
//========================================================================
-//UNUSED2008-05 ScTpCalcItem::ScTpCalcItem( USHORT nWhichP ) : SfxPoolItem( nWhichP )
-//UNUSED2008-05 {
-//UNUSED2008-05 }
-
//------------------------------------------------------------------------
ScTpCalcItem::ScTpCalcItem( USHORT nWhichP, const ScDocOptions& rOpt )
diff --git a/sc/source/core/tool/hints.cxx b/sc/source/core/tool/hints.cxx
index 4ca62d8..afbc020 100644
--- a/sc/source/core/tool/hints.cxx
+++ b/sc/source/core/tool/hints.cxx
@@ -79,10 +79,6 @@ ScUpdateRefHint::~ScUpdateRefHint()
// ScPointerChangedHint - Pointer ist ungueltig geworden
// -----------------------------------------------------------------------
-//UNUSED2008-05 ScPointerChangedHint::ScPointerChangedHint( USHORT nF ) :
-//UNUSED2008-05 nFlags( nF )
-//UNUSED2008-05 {
-//UNUSED2008-05 }
ScPointerChangedHint::~ScPointerChangedHint()
{
diff --git a/sc/source/core/tool/printopt.cxx b/sc/source/core/tool/printopt.cxx
index e952b9e..44a7270 100644
--- a/sc/source/core/tool/printopt.cxx
+++ b/sc/source/core/tool/printopt.cxx
@@ -87,9 +87,6 @@ int ScPrintOptions::operator!=( const ScPrintOptions& rOpt ) const
// -----------------------------------------------------------------------
-//UNUSED2008-05 ScTpPrintItem::ScTpPrintItem( USHORT nWhichP ) : SfxPoolItem( nWhichP )
-//UNUSED2008-05 {
-//UNUSED2008-05 }
ScTpPrintItem::ScTpPrintItem( USHORT nWhichP, const ScPrintOptions& rOpt ) :
SfxPoolItem ( nWhichP ),
diff --git a/sc/source/core/tool/rangenam.cxx b/sc/source/core/tool/rangenam.cxx
index 8ac7676..e85714b 100644
--- a/sc/source/core/tool/rangenam.cxx
+++ b/sc/source/core/tool/rangenam.cxx
@@ -359,19 +359,6 @@ BOOL ScRangeData::operator== (const ScRangeData& rData) const // fuer Undo
return TRUE;
}
-//UNUSED2009-05 BOOL ScRangeData::IsRangeAtCursor( const ScAddress& rPos, BOOL bStartOnly ) const
-//UNUSED2009-05 {
-//UNUSED2009-05 BOOL bRet = FALSE;
-//UNUSED2009-05 ScRange aRange;
-//UNUSED2009-05 if ( IsReference(aRange) )
-//UNUSED2009-05 {
-//UNUSED2009-05 if ( bStartOnly )
-//UNUSED2009-05 bRet = ( rPos == aRange.aStart );
-//UNUSED2009-05 else
-//UNUSED2009-05 bRet = ( aRange.In( rPos ) );
-//UNUSED2009-05 }
-//UNUSED2009-05 return bRet;
-//UNUSED2009-05 }
BOOL ScRangeData::IsRangeAtBlock( const ScRange& rBlock ) const
{
@@ -791,16 +778,6 @@ ScRangeData* ScRangeName::FindIndex( USHORT nIndex )
return NULL;
}
-//UNUSED2009-05 ScRangeData* ScRangeName::GetRangeAtCursor( const ScAddress& rPos, BOOL bStartOnly ) const
-//UNUSED2009-05 {
-//UNUSED2009-05 if ( pItems )
-//UNUSED2009-05 {
-//UNUSED2009-05 for ( USHORT i = 0; i < nCount; i++ )
-//UNUSED2009-05 if ( ((ScRangeData*)pItems[i])->IsRangeAtCursor( rPos, bStartOnly ) )
-//UNUSED2009-05 return (ScRangeData*)pItems[i];
-//UNUSED2009-05 }
-//UNUSED2009-05 return NULL;
-//UNUSED2009-05 }
ScRangeData* ScRangeName::GetRangeAtBlock( const ScRange& rBlock ) const
{
diff --git a/sc/source/core/tool/refdata.cxx b/sc/source/core/tool/refdata.cxx
index bc739e2..85342ee 100644
--- a/sc/source/core/tool/refdata.cxx
+++ b/sc/source/core/tool/refdata.cxx
@@ -82,110 +82,6 @@ void ScSingleRefData::CalcAbsIfRel( const ScAddress& rPos )
}
}
-//UNUSED2008-05 void ScSingleRefData::OldBoolsToNewFlags( const OldSingleRefBools& rBools )
-//UNUSED2008-05 {
-//UNUSED2008-05 switch ( rBools.bRelCol )
-//UNUSED2008-05 {
-//UNUSED2008-05 case SR_DELETED :
-//UNUSED2008-05 Flags.bColRel = TRUE; // der war verlorengegangen
-//UNUSED2008-05 Flags.bColDeleted = TRUE;
-//UNUSED2008-05 break;
-//UNUSED2008-05 case SR_ABSOLUTE :
-//UNUSED2008-05 Flags.bColRel = FALSE;
-//UNUSED2008-05 Flags.bColDeleted = FALSE;
-//UNUSED2008-05 break;
-//UNUSED2008-05 case SR_RELABS :
-//UNUSED2008-05 case SR_RELATIVE :
-//UNUSED2008-05 default:
-//UNUSED2008-05 Flags.bColRel = TRUE;
-//UNUSED2008-05 Flags.bColDeleted = FALSE;
-//UNUSED2008-05 }
-//UNUSED2008-05 switch ( rBools.bRelRow )
-//UNUSED2008-05 {
-//UNUSED2008-05 case SR_DELETED :
-//UNUSED2008-05 Flags.bRowRel = TRUE; // der war verlorengegangen
-//UNUSED2008-05 Flags.bRowDeleted = TRUE;
-//UNUSED2008-05 break;
-//UNUSED2008-05 case SR_ABSOLUTE :
-//UNUSED2008-05 Flags.bRowRel = FALSE;
-//UNUSED2008-05 Flags.bRowDeleted = FALSE;
-//UNUSED2008-05 break;
-//UNUSED2008-05 case SR_RELABS :
-//UNUSED2008-05 case SR_RELATIVE :
-//UNUSED2008-05 default:
-//UNUSED2008-05 Flags.bRowRel = TRUE;
-//UNUSED2008-05 Flags.bRowDeleted = FALSE;
-//UNUSED2008-05 }
-//UNUSED2008-05 switch ( rBools.bRelTab )
-//UNUSED2008-05 {
-//UNUSED2008-05 case SR_DELETED :
-//UNUSED2008-05 Flags.bTabRel = TRUE; // der war verlorengegangen
-//UNUSED2008-05 Flags.bTabDeleted = TRUE;
-//UNUSED2008-05 break;
-//UNUSED2008-05 case SR_ABSOLUTE :
-//UNUSED2008-05 Flags.bTabRel = FALSE;
-//UNUSED2008-05 Flags.bTabDeleted = FALSE;
-//UNUSED2008-05 break;
-//UNUSED2008-05 case SR_RELABS :
-//UNUSED2008-05 case SR_RELATIVE :
-//UNUSED2008-05 default:
-//UNUSED2008-05 Flags.bTabRel = TRUE;
-//UNUSED2008-05 Flags.bTabDeleted = FALSE;
-//UNUSED2008-05 }
-//UNUSED2008-05 Flags.bFlag3D = (rBools.bOldFlag3D & SRF_3D ? TRUE : FALSE);
-//UNUSED2008-05 Flags.bRelName = (rBools.bOldFlag3D & SRF_RELNAME ? TRUE : FALSE);
-//UNUSED2008-05 if ( !Flags.bFlag3D )
-//UNUSED2008-05 Flags.bTabRel = TRUE; // ist bei einigen aelteren Dokumenten nicht gesetzt
-//UNUSED2008-05 }
-//UNUSED2008-05
-//UNUSED2008-05
-//UNUSED2008-05 /*
-//UNUSED2008-05 bis Release 3.1 sah Store so aus
-//UNUSED2008-05
-//UNUSED2008-05 BYTE n = ( ( r.bOldFlag3D & 0x03 ) << 6 ) // RelName, 3D
-//UNUSED2008-05 | ( ( r.bRelTab & 0x03 ) << 4 ) // Relative, RelAbs
-//UNUSED2008-05 | ( ( r.bRelRow & 0x03 ) << 2 )
-//UNUSED2008-05 | ( r.bRelCol & 0x03 );
-//UNUSED2008-05
-//UNUSED2008-05 bis Release 3.1 sah Load so aus
-//UNUSED2008-05
-//UNUSED2008-05 r.bRelCol = ( n & 0x03 );
-//UNUSED2008-05 r.bRelRow = ( ( n >> 2 ) & 0x03 );
-//UNUSED2008-05 r.bRelTab = ( ( n >> 4 ) & 0x03 );
-//UNUSED2008-05 r.bOldFlag3D = ( ( n >> 6 ) & 0x03 );
-//UNUSED2008-05
-//UNUSED2008-05 bRelCol == SR_DELETED war identisch mit bRelCol == (SR_RELATIVE | SR_RELABS)
-//UNUSED2008-05 leider..
-//UNUSED2008-05 3.1 liest Zukunft: Deleted wird nicht unbedingt erkannt, nur wenn auch Relativ.
-//UNUSED2008-05 Aber immer noch nCol > MAXCOL und gut sollte sein..
-//UNUSED2008-05 */
-//UNUSED2008-05
-//UNUSED2008-05 BYTE ScSingleRefData::CreateStoreByteFromFlags() const
-//UNUSED2008-05 {
-//UNUSED2008-05 return (BYTE)(
-//UNUSED2008-05 ( (Flags.bRelName & 0x01) << 7 )
-//UNUSED2008-05 | ( (Flags.bFlag3D & 0x01) << 6 )
-//UNUSED2008-05 | ( (Flags.bTabDeleted & 0x01) << 5 )
-//UNUSED2008-05 | ( (Flags.bTabRel & 0x01) << 4 )
-//UNUSED2008-05 | ( (Flags.bRowDeleted & 0x01) << 3 )
-//UNUSED2008-05 | ( (Flags.bRowRel & 0x01) << 2 )
-//UNUSED2008-05 | ( (Flags.bColDeleted & 0x01) << 1 )
-//UNUSED2008-05 | (Flags.bColRel & 0x01)
-//UNUSED2008-05 );
-//UNUSED2008-05 }
-//UNUSED2008-05
-//UNUSED2008-05
-//UNUSED2008-05 void ScSingleRefData::CreateFlagsFromLoadByte( BYTE n )
-//UNUSED2008-05 {
-//UNUSED2008-05 Flags.bColRel = (n & 0x01 );
-//UNUSED2008-05 Flags.bColDeleted = ( (n >> 1) & 0x01 );
-//UNUSED2008-05 Flags.bRowRel = ( (n >> 2) & 0x01 );
-//UNUSED2008-05 Flags.bRowDeleted = ( (n >> 3) & 0x01 );
-//UNUSED2008-05 Flags.bTabRel = ( (n >> 4) & 0x01 );
-//UNUSED2008-05 Flags.bTabDeleted = ( (n >> 5) & 0x01 );
-//UNUSED2008-05 Flags.bFlag3D = ( (n >> 6) & 0x01 );
-//UNUSED2008-05 Flags.bRelName = ( (n >> 7) & 0x01 );
-//UNUSED2008-05 }
BOOL ScSingleRefData::operator==( const ScSingleRefData& r ) const
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 96fca90..7e705f1 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -621,49 +621,6 @@ void ScMatrix::MatTrans(ScMatrix& mRes) const
}
}
-//UNUSED2009-05 void ScMatrix::MatCopyUpperLeft(ScMatrix& mRes) const
-//UNUSED2009-05 {
-//UNUSED2009-05 if (nColCount < mRes.nColCount || nRowCount < mRes.nRowCount)
-//UNUSED2009-05 {
-//UNUSED2009-05 DBG_ERRORFILE("ScMatrix::MatCopyUpperLeft: dimension error");
-//UNUSED2009-05 }
-//UNUSED2009-05 else
-//UNUSED2009-05 {
-//UNUSED2009-05 if (mnValType)
-//UNUSED2009-05 {
-//UNUSED2009-05 ScMatValType nType;
-//UNUSED2009-05 mRes.ResetIsString();
-//UNUSED2009-05 for ( SCSIZE i = 0; i < mRes.nColCount; i++ )
-//UNUSED2009-05 {
-//UNUSED2009-05 SCSIZE nStart = i * nRowCount;
-//UNUSED2009-05 for ( SCSIZE j = 0; j < mRes.nRowCount; j++ )
-//UNUSED2009-05 {
-//UNUSED2009-05 if ( IsNonValueType( (nType = mnValType[nStart+j]) ))
-//UNUSED2009-05 mRes.PutStringEntry( pMat[nStart+j].pS, nType,
-//UNUSED2009-05 i*mRes.nRowCount+j );
-//UNUSED2009-05 else
-//UNUSED2009-05 {
-//UNUSED2009-05 mRes.pMat[i*mRes.nRowCount+j].fVal = pMat[nStart+j].fVal;
-//UNUSED2009-05 mRes.mnValType[i*mRes.nRowCount+j] = nType;
-//UNUSED2009-05 }
-//UNUSED2009-05 }
-//UNUSED2009-05 }
-//UNUSED2009-05 }
-//UNUSED2009-05 else
-//UNUSED2009-05 {
-//UNUSED2009-05 mRes.DeleteIsString();
-//UNUSED2009-05 for ( SCSIZE i = 0; i < mRes.nColCount; i++ )
-//UNUSED2009-05 {
-//UNUSED2009-05 SCSIZE nStart = i * nRowCount;
-//UNUSED2009-05 for ( SCSIZE j = 0; j < mRes.nRowCount; j++ )
-//UNUSED2009-05 {
-//UNUSED2009-05 mRes.pMat[i*mRes.nRowCount+j].fVal = pMat[nStart+j].fVal;
-//UNUSED2009-05 }
-//UNUSED2009-05 }
-//UNUSED2009-05 }
-//UNUSED2009-05 }
-//UNUSED2009-05 }
-
void ScMatrix::FillDouble( double fVal, SCSIZE nC1, SCSIZE nR1, SCSIZE nC2, SCSIZE nR2 )
{
if (ValidColRow( nC1, nR1) && ValidColRow( nC2, nR2))
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 66665b0..1547012 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -280,35 +280,7 @@ void ScRawToken::SetExternalName( sal_uInt16 nFileId, const String& rName )
extname.cName[n] = 0;
}
-//UNUSED2008-05 void ScRawToken::SetInt(int rVal)
-//UNUSED2008-05 {
-//UNUSED2008-05 eOp = ocPush;
-//UNUSED2008-05 eType = svDouble;
-//UNUSED2008-05 nValue = (double)rVal;
-//UNUSED2008-05 nRefCnt = 0;
-//UNUSED2008-05
-//UNUSED2008-05 }
-//UNUSED2008-05 void ScRawToken::SetMatrix( ScMatrix* p )
-//UNUSED2008-05 {
-//UNUSED2008-05 eOp = ocPush;
-//UNUSED2008-05 eType = svMatrix;
-//UNUSED2008-05 pMat = p;
-//UNUSED2008-05 nRefCnt = 0;
-//UNUSED2008-05 }
-//UNUSED2008-05
-//UNUSED2008-05 ScComplexRefData& ScRawToken::GetReference()
-//UNUSED2008-05 {
-//UNUSED2008-05 DBG_ASSERT( lcl_IsReference( eOp, GetType() ), "GetReference: no Ref" );
-//UNUSED2008-05 return aRef;
-//UNUSED2008-05 }
-//UNUSED2008-05
-//UNUSED2008-05 void ScRawToken::SetReference( ScComplexRefData& rRef )
-//UNUSED2008-05 {
-//UNUSED2008-05 DBG_ASSERT( lcl_IsReference( eOp, GetType() ), "SetReference: no Ref" );
-//UNUSED2008-05 aRef = rRef;
-//UNUSED2008-05 if( GetType() == svSingleRef )
-//UNUSED2008-05 aRef.Ref2 = aRef.Ref1;
-//UNUSED2008-05 }
+
void ScRawToken::SetExternal( const sal_Unicode* pStr )
{
diff --git a/sc/source/core/tool/viewopti.cxx b/sc/source/core/tool/viewopti.cxx
index 518f713..71185f3 100644
--- a/sc/source/core/tool/viewopti.cxx
+++ b/sc/source/core/tool/viewopti.cxx
@@ -242,10 +242,6 @@ SvxGridItem* ScViewOptions::CreateGridItem( USHORT nId /* = SID_ATTR_GRID_OPTION
// ScTpViewItem - Daten fuer die ViewOptions-TabPage
//========================================================================
-//UNUSED2008-05 ScTpViewItem::ScTpViewItem( USHORT nWhichP ) : SfxPoolItem( nWhichP )
-//UNUSED2008-05 {
-//UNUSED2008-05 }
-
//------------------------------------------------------------------------
ScTpViewItem::ScTpViewItem( USHORT nWhichP, const ScViewOptions& rOpt )
diff --git a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
index 60a0b46..c64eb74 100644
--- a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
@@ -735,7 +735,6 @@ private:
::accessibility::AccessibleShape* GetAccShape(const ScShapeChild& rShape) const;
::accessibility::AccessibleShape* GetAccShape(const ScShapeChildVec& rShapes, sal_Int32 nIndex) const;
void FillShapes(const Rectangle& aPixelPaintRect, const MapMode& aMapMode, sal_uInt8 nRangeId);
-//UNUSED2008-05 sal_Bool FindShape(ScShapeChildVec& rShapes, const uno::Reference <drawing::XShape>& xShape, ScShapeChildVec::iterator& rItr) const;
// void AddShape(const uno::Reference<drawing::XShape>& xShape, SdrLayerID aLayerID);
// void RemoveShape(const uno::Reference<drawing::XShape>& xShape, SdrLayerID aLayerID);
@@ -1201,21 +1200,6 @@ void ScShapeChilds::FillShapes(const Rectangle& aPixelPaintRect, const MapMode&
}
}
-//UNUSED2008-05 sal_Bool ScShapeChilds::FindShape(ScShapeChildVec& rShapes, const uno::Reference <drawing::XShape>& xShape, ScShapeChildVec::iterator& rItr) const
-//UNUSED2008-05 {
-//UNUSED2008-05 sal_Bool bResult(sal_False);
-//UNUSED2008-05 ScShapeChild aShape;
-//UNUSED2008-05 aShape.mxShape = xShape;
-//UNUSED2008-05 rItr = std::lower_bound(rShapes.begin(), rShapes.end(), aShape, ScShapeChildLess());
-//UNUSED2008-05 if (rItr->mxShape.get() == xShape.get())
-//UNUSED2008-05 bResult = sal_True; // if the shape is found
-//UNUSED2008-05
-//UNUSED2008-05 /*#ifdef DBG_UTIL // test whether it finds truly the correct shape (perhaps it is not really sorted)
-//UNUSED2008-05 ScShapeChildVec::iterator aDebugItr = std::find(rShapes.begin(), rShapes.end(), aShape);
-//UNUSED2008-05 DBG_ASSERT(rItr == aDebugItr, "wrong Shape found");
-//UNUSED2008-05 #endif*/
-//UNUSED2008-05 return bResult;
-//UNUSED2008-05 }
/*void ScShapeChilds::AddShape(const uno::Reference<drawing::XShape>& xShape, SdrLayerID aLayerID)
{
@@ -1902,41 +1886,3 @@ ScShapeChilds* ScAccessibleDocumentPagePreview::GetShapeChilds()
return mpShapeChilds;
}
-
-//UNUSED2009-05 uno::Reference < XAccessible > ScAccessibleDocumentPagePreview::GetCurrentAccessibleTable()
-//UNUSED2009-05 {
-//UNUSED2009-05 if (!mpTable)
-//UNUSED2009-05 {
-//UNUSED2009-05 if ( mpViewShell )
-//UNUSED2009-05 {
-//UNUSED2009-05 const ScPreviewLocationData& rData = mpViewShell->GetLocationData();
-//UNUSED2009-05 ScPagePreviewCountData aCount( rData, mpViewShell->GetWindow(), GetNotesChilds(), GetShapeChilds() );
-//UNUSED2009-05 //! order is background shapes, header, table or notes, footer, foreground shapes, controls
-//UNUSED2009-05 sal_Int32 nIndex (aCount.nBackShapes + aCount.nHeaders);
-//UNUSED2009-05
-//UNUSED2009-05 mpTable = new ScAccessiblePreviewTable( this, mpViewShell, nIndex );
-//UNUSED2009-05 mpTable->acquire();
-//UNUSED2009-05 mpTable->Init();
-//UNUSED2009-05 }
-//UNUSED2009-05 }
-//UNUSED2009-05 return mpTable;
-//UNUSED2009-05 }
-
-//UNUSED2009-05 void ScAccessibleDocumentPagePreview::ChildCountChanged()
-//UNUSED2009-05 {
-//UNUSED2009-05 if (mpViewShell)
-//UNUSED2009-05 {
-//UNUSED2009-05 const ScPreviewLocationData& rData = mpViewShell->GetLocationData();
-//UNUSED2009-05 ScPagePreviewCountData aCount( rData, mpViewShell->GetWindow(), GetNotesChilds(), GetShapeChilds() );
-//UNUSED2009-05 //! order is background shapes, header, table or notes, footer, foreground shapes, controls
-//UNUSED2009-05 if(mpHeader)
-//UNUSED2009-05 mpHeader->SetCurrentIndexInParent(aCount.nBackShapes);
-//UNUSED2009-05 if (mpTable)
-//UNUSED2009-05 mpTable->SetCurrentIndexInParent(aCount.nBackShapes + aCount.nHeaders);
-//UNUSED2009-05 if (mpFooter)
-//UNUSED2009-05 mpFooter->SetCurrentIndexInParent(aCount.nBackShapes + aCount.nHeaders + aCount.nTables + aCount.nNoteParagraphs);
-//UNUSED2009-05
-//UNUSED2009-05 if (mpNotesChilds)
-//UNUSED2009-05 mpNotesChilds->SetOffset(aCount.nBackShapes + aCount.nHeaders);
-//UNUSED2009-05 }
-//UNUSED2009-05 }
diff --git a/sc/source/ui/Accessibility/AccessibleText.cxx b/sc/source/ui/Accessibility/AccessibleText.cxx
index 50e2484..0b8f7d1 100644
--- a/sc/source/ui/Accessibility/AccessibleText.cxx
+++ b/sc/source/ui/Accessibility/AccessibleText.cxx
@@ -1407,19 +1407,6 @@ SvxViewForwarder* ScAccessiblePreviewCellTextData::GetViewForwarder()
return mpViewForwarder;
}
-//UNUSED2008-05 IMPL_LINK(ScAccessiblePreviewCellTextData, NotifyHdl, EENotify*, aNotify)
-//UNUSED2008-05 {
-//UNUSED2008-05 if( aNotify )
-//UNUSED2008-05 {
-//UNUSED2008-05 ::std::auto_ptr< SfxHint > aHint = SvxEditSourceHelper::EENotification2Hint( aNotify);
-//UNUSED2008-05
-//UNUSED2008-05 if( aHint.get() )
-//UNUSED2008-05 GetBroadcaster().Broadcast( *aHint.get() );
-//UNUSED2008-05 }
-//UNUSED2008-05
-//UNUSED2008-05 return 0;
-//UNUSED2008-05 }
-
ScDocShell* ScAccessiblePreviewCellTextData::GetDocShell(ScPreviewShell* pViewShell)
{
ScDocShell* pDocSh = NULL;
@@ -1535,19 +1522,6 @@ SvxViewForwarder* ScAccessiblePreviewHeaderCellTextData::GetViewForwarder()
return mpViewForwarder;
}
-//UNUSED2008-05 IMPL_LINK(ScAccessiblePreviewHeaderCellTextData, NotifyHdl, EENotify*, aNotify)
-//UNUSED2008-05 {
-//UNUSED2008-05 if( aNotify )
-//UNUSED2008-05 {
-//UNUSED2008-05 ::std::auto_ptr< SfxHint > aHint = SvxEditSourceHelper::EENotification2Hint( aNotify);
-//UNUSED2008-05
-//UNUSED2008-05 if( aHint.get() )
-//UNUSED2008-05 GetBroadcaster().Broadcast( *aHint.get() );
-//UNUSED2008-05 }
-//UNUSED2008-05
-//UNUSED2008-05 return 0;
-//UNUSED2008-05 }
-
ScDocShell* ScAccessiblePreviewHeaderCellTextData::GetDocShell(ScPreviewShell* pViewShell)
{
ScDocShell* pDocSh = NULL;
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 2a832cd..360528a 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -610,21 +610,6 @@ String __EXPORT ScInputWindow::GetText() const
return ToolBox::GetText();
}
-
-//UNUSED2008-05 EditView* ScInputWindow::ActivateEdit( const String& rText,
-//UNUSED2008-05 const ESelection& rSel )
-//UNUSED2008-05 {
-//UNUSED2008-05 if ( !aTextWindow.IsInputActive() )
-//UNUSED2008-05 {
-//UNUSED2008-05 aTextWindow.StartEditEngine();
-//UNUSED2008-05 aTextWindow.GrabFocus();
-//UNUSED2008-05 aTextWindow.SetTextString( rText );
-//UNUSED2008-05 aTextWindow.GetEditView()->SetSelection( rSel );
-//UNUSED2008-05 }
-//UNUSED2008-05
-//UNUSED2008-05 return aTextWindow.GetEditView();
-//UNUSED2008-05 }
-
BOOL ScInputWindow::IsInputActive()
{
return aTextWindow.IsInputActive();
diff --git a/sc/source/ui/app/scdll.cxx b/sc/source/ui/app/scdll.cxx
index 77c22bd..2cb8016 100644
--- a/sc/source/ui/app/scdll.cxx
+++ b/sc/source/ui/app/scdll.cxx
@@ -130,31 +130,6 @@
//------------------------------------------------------------------
-//UNUSED2008-05 // filter detection can't use ScFilterOptions (in sc-dll),
-//UNUSED2008-05 // so access to wk3 flag must be implemented here again
-//UNUSED2008-05
-//UNUSED2008-05 class ScLibOptions : public utl::ConfigItem
-//UNUSED2008-05 {
-//UNUSED2008-05 BOOL bWK3Flag;
-//UNUSED2008-05
-//UNUSED2008-05 public:
-//UNUSED2008-05 ScLibOptions();
-//UNUSED2008-05 BOOL GetWK3Flag() const { return bWK3Flag; }
-//UNUSED2008-05 };
-//UNUSED2008-05
-//UNUSED2008-05 #define CFGPATH_LIBFILTER "Office.Calc/Filter/Import/Lotus123"
-//UNUSED2008-05 #define ENTRYSTR_WK3 "WK3"
-//UNUSED2008-05
-//UNUSED2008-05 ScLibOptions::ScLibOptions() :
-//UNUSED2008-05 ConfigItem( rtl::OUString::createFromAscii( CFGPATH_LIBFILTER ) ),
-//UNUSED2008-05 bWK3Flag( FALSE )
-//UNUSED2008-05 {
-//UNUSED2008-05 com::sun::star::uno::Sequence<rtl::OUString> aNames(1);
-//UNUSED2008-05 aNames[0] = rtl::OUString::createFromAscii( ENTRYSTR_WK3 );
-//UNUSED2008-05 com::sun::star::uno::Sequence<com::sun::star::uno::Any> aValues = GetProperties(aNames);
-//UNUSED2008-05 if ( aValues.getLength() == 1 && aValues[0].hasValue() )
-//UNUSED2008-05 bWK3Flag = comphelper::getBOOL( aValues[0] );
-//UNUSED2008-05 }
//------------------------------------------------------------------
@@ -367,52 +342,6 @@ void ScDLL::Exit()
#define TEXT_WIDTH(s) rStatusBar.GetTextWidth((s))
-//UNUSED2008-05 void ScDLL::FillStatusBar(StatusBar &rStatusBar)
-//UNUSED2008-05 {
-//UNUSED2008-05 // Dokumentposition (Tabelle x / y)
-//UNUSED2008-05 rStatusBar.InsertItem( SID_STATUS_DOCPOS,
-//UNUSED2008-05 TEXT_WIDTH( String().Fill( 10, 'X' ) ),
-//UNUSED2008-05 SIB_LEFT|SIB_AUTOSIZE );
-//UNUSED2008-05
-//UNUSED2008-05 // Seitenvorlage
-//UNUSED2008-05 rStatusBar.InsertItem( SID_STATUS_PAGESTYLE,
-//UNUSED2008-05 TEXT_WIDTH( String().Fill( 15, 'X' ) ),
-//UNUSED2008-05 SIB_LEFT|SIB_AUTOSIZE );
-//UNUSED2008-05
-//UNUSED2008-05 // Ma"sstab
-//UNUSED2008-05 rStatusBar.InsertItem( SID_ATTR_ZOOM,
-//UNUSED2008-05 SvxZoomStatusBarControl::GetDefItemWidth(rStatusBar),
-//UNUSED2008-05 SIB_CENTER );
-//UNUSED2008-05
-//UNUSED2008-05 // Einfuege-/Ueberschreibmodus
-//UNUSED2008-05 rStatusBar.InsertItem( SID_ATTR_INSERT,
-//UNUSED2008-05 SvxInsertStatusBarControl::GetDefItemWidth(rStatusBar),
-//UNUSED2008-05 SIB_CENTER );
-//UNUSED2008-05
-//UNUSED2008-05 // Selektionsmodus
-//UNUSED2008-05 rStatusBar.InsertItem( SID_STATUS_SELMODE,
-//UNUSED2008-05 SvxSelectionModeControl::GetDefItemWidth(rStatusBar),
-//UNUSED2008-05 SIB_CENTER );
-//UNUSED2008-05
-//UNUSED2008-05 // Dokument geaendert
-//UNUSED2008-05 rStatusBar.InsertItem( SID_DOC_MODIFIED,
-//UNUSED2008-05 SvxModifyControl::GetDefItemWidth(rStatusBar));
-//UNUSED2008-05
-//UNUSED2008-05 // signatures
-//UNUSED2008-05 rStatusBar.InsertItem( SID_SIGNATURE, XmlSecStatusBarControl::GetDefItemWidth( rStatusBar ), SIB_USERDRAW );
-//UNUSED2008-05 rStatusBar.SetHelpId(SID_SIGNATURE, SID_SIGNATURE);
-//UNUSED2008-05
-//UNUSED2008-05 // Mail
-//UNUSED2008-05 rStatusBar.InsertItem( SID_MAIL_NOTIFY,
-//UNUSED2008-05 TEXT_WIDTH( String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("Mail")) ),
-//UNUSED2008-05 SIB_CENTER );
-//UNUSED2008-05
-//UNUSED2008-05 // den aktuellen Kontext anzeigen Uhrzeit / FramePos / TabellenInfo / Errors
-//UNUSED2008-05 rStatusBar.InsertItem( SID_ATTR_SIZE,
-//UNUSED2008-05 SvxPosSizeStatusBarControl::GetDefItemWidth(rStatusBar),
-//UNUSED2008-05 SIB_AUTOSIZE|SIB_LEFT|SIB_USERDRAW);
-//UNUSED2008-05 }
-
#undef TEXT_WIDTH
// DetectFilter functionality has moved - please update your bookmarks
diff --git a/sc/source/ui/app/uiitems.cxx b/sc/source/ui/app/uiitems.cxx
index 36eab35..95c660b 100644
--- a/sc/source/ui/app/uiitems.cxx
+++ b/sc/source/ui/app/uiitems.cxx
@@ -57,22 +57,6 @@ TYPEINIT1(ScIndexHint, SfxHint);
// ScInputStatusItem - Status-Update fuer Eingabezeile
// -----------------------------------------------------------------------
-//UNUSED2008-05 ScInputStatusItem::ScInputStatusItem( USHORT nWhichP,
-//UNUSED2008-05 SCTAB nTab,
-//UNUSED2008-05 SCCOL nCol, SCROW nRow,
-//UNUSED2008-05 SCCOL nStartCol, SCROW nStartRow,
-//UNUSED2008-05 SCCOL nEndCol, SCROW nEndRow,
-//UNUSED2008-05 const String& rString, const EditTextObject* pData )
-//UNUSED2008-05
-//UNUSED2008-05 : SfxPoolItem ( nWhichP ),
-//UNUSED2008-05 aCursorPos ( nCol, nRow, nTab ),
-//UNUSED2008-05 aStartPos ( nStartCol, nStartRow, nTab ),
-//UNUSED2008-05 aEndPos ( nEndCol, nEndRow, nTab ),
-//UNUSED2008-05 aString ( rString ),
-//UNUSED2008-05 pEditData ( pData ? pData->Clone() : NULL )
-//UNUSED2008-05 {
-//UNUSED2008-05 }
-
ScInputStatusItem::ScInputStatusItem( USHORT nWhichP,
const ScAddress& rCurPos,
const ScAddress& rStartPos,
diff --git a/sc/source/ui/dbgui/csvtablebox.cxx b/sc/source/ui/dbgui/csvtablebox.cxx
index cbb4f8e..d5d043c 100644
--- a/sc/source/ui/dbgui/csvtablebox.cxx
+++ b/sc/source/ui/dbgui/csvtablebox.cxx
@@ -39,17 +39,6 @@
// ============================================================================
-//UNUSED2009-05 ScCsvTableBox::ScCsvTableBox( Window* pParent ) :
-//UNUSED2009-05 ScCsvControl( pParent, maData, WB_BORDER | WB_TABSTOP | WB_DIALOGCONTROL ),
-//UNUSED2009-05 maRuler( *this ),
-//UNUSED2009-05 maGrid( *this ),
-//UNUSED2009-05 maHScroll( this, WB_HORZ | WB_DRAG ),
-//UNUSED2009-05 maVScroll( this, WB_VERT | WB_DRAG ),
-//UNUSED2009-05 maScrollBox( this )
-//UNUSED2009-05 {
-//UNUSED2009-05 Init();
-//UNUSED2009-05 }
-
ScCsvTableBox::ScCsvTableBox( Window* pParent, const ResId& rResId ) :
ScCsvControl( pParent, maData, rResId ),
maRuler( *this ),
@@ -222,25 +211,6 @@ void ScCsvTableBox::SetUniStrings(
EnableRepaint();
}
-//UNUSED2009-05 void ScCsvTableBox::SetByteStrings(
-//UNUSED2009-05 const ByteString* pTextLines, CharSet eCharSet,
-//UNUSED2009-05 const String& rSepChars, sal_Unicode cTextSep, bool bMergeSep )
-//UNUSED2009-05 {
-//UNUSED2009-05 // assuming that pTextLines is a string array with size CSV_PREVIEW_LINES
-//UNUSED2009-05 // -> will be dynamic sometime
-//UNUSED2009-05 DisableRepaint();
-//UNUSED2009-05 sal_Int32 nEndLine = GetFirstVisLine() + CSV_PREVIEW_LINES;
-//UNUSED2009-05 const ByteString* pString = pTextLines;
-//UNUSED2009-05 for( sal_Int32 nLine = GetFirstVisLine(); nLine < nEndLine; ++nLine, ++pString )
-//UNUSED2009-05 {
-//UNUSED2009-05 if( mbFixedMode )
-//UNUSED2009-05 maGrid.ImplSetTextLineFix( nLine, String( *pString, eCharSet ) );
-//UNUSED2009-05 else
-//UNUSED2009-05 maGrid.ImplSetTextLineSep( nLine, String( *pString, eCharSet ), rSepChars, cTextSep, bMergeSep );
-//UNUSED2009-05 }
-//UNUSED2009-05 EnableRepaint();
-//UNUSED2009-05 }
-
// column settings ------------------------------------------------------------
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index bec1b90..6bc4837 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -2977,43 +2977,6 @@ BOOL ScDocFunc::SetLayoutRTL( SCTAB nTab, BOOL bRTL, BOOL /* bApi */ )
return TRUE;
}
-//UNUSED2009-05 BOOL ScDocFunc::SetGrammar( formula::FormulaGrammar::Grammar eGrammar )
-//UNUSED2009-05 {
-//UNUSED2009-05 ScDocument* pDoc = rDocShell.GetDocument();
-//UNUSED2009-05
-//UNUSED2009-05 if ( pDoc->GetGrammar() == eGrammar )
-//UNUSED2009-05 return TRUE;
-//UNUSED2009-05
-//UNUSED2009-05 BOOL bUndo(pDoc->IsUndoEnabled());
-//UNUSED2009-05 ScDocShellModificator aModificator( rDocShell );
-//UNUSED2009-05
-//UNUSED2009-05 pDoc->SetGrammar( eGrammar );
-//UNUSED2009-05
-//UNUSED2009-05 if (bUndo)
-//UNUSED2009-05 {
-//UNUSED2009-05 rDocShell.GetUndoManager()->AddUndoAction( new ScUndoSetGrammar( &rDocShell, eGrammar ) );
-//UNUSED2009-05 }
-//UNUSED2009-05
-//UNUSED2009-05 rDocShell.PostPaint( 0,0,0,MAXCOL,MAXROW,MAXTAB, PAINT_ALL );
-//UNUSED2009-05
-//UNUSED2009-05 ScTabViewShell* pViewSh = ScTabViewShell::GetActiveViewShell();
-//UNUSED2009-05 if (NULL != pViewSh)
-//UNUSED2009-05 {
-//UNUSED2009-05 pViewSh->UpdateInputHandler( FALSE, FALSE );
-//UNUSED2009-05 }
-//UNUSED2009-05
-//UNUSED2009-05 aModificator.SetDocumentModified();
-//UNUSED2009-05
-//UNUSED2009-05 SfxBindings* pBindings = rDocShell.GetViewBindings();
-//UNUSED2009-05 if (pBindings)
-//UNUSED2009-05 {
-//UNUSED2009-05 // erAck: 2006-09-07T22:19+0200 commented out in CWS scr1c1
-//UNUSED2009-05 //pBindings->Invalidate( FID_TAB_USE_R1C1 );
-//UNUSED2009-05 }
-//UNUSED2009-05
-//UNUSED2009-05 return TRUE;
-//UNUSED2009-05 }
-
BOOL ScDocFunc::RenameTable( SCTAB nTab, const String& rName, BOOL bRecord, BOOL bApi )
{
ScDocument* pDoc = rDocShell.GetDocument();
diff --git a/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx b/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx
index eb7c5c3..b6c3d61 100644
--- a/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx
+++ b/sc/source/ui/inc/AccessibleDocumentPagePreview.hxx
@@ -113,11 +113,6 @@ public:
///===== internal ========================================================
-//UNUSED2009-05 com::sun::star::uno::Reference < com::sun::star::accessibility::XAccessible >
-//UNUSED2009-05 GetCurrentAccessibleTable();
-
-//UNUSED2009-05 void ChildCountChanged();
-
protected:
/// Return this object's description.
virtual ::rtl::OUString SAL_CALL
diff --git a/sc/source/ui/inc/AccessibleText.hxx b/sc/source/ui/inc/AccessibleText.hxx
index cc3d70a..5ec117d 100644
--- a/sc/source/ui/inc/AccessibleText.hxx
+++ b/sc/source/ui/inc/AccessibleText.hxx
@@ -203,7 +203,6 @@ public:
virtual SvxViewForwarder* GetViewForwarder();
virtual SvxEditViewForwarder* GetEditViewForwarder( sal_Bool /* bCreate */ ) { return NULL; }
-//UNUSED2008-05 DECL_LINK( NotifyHdl, EENotify* );
private:
ScPreviewViewForwarder* mpViewForwarder;
ScPreviewShell* mpViewShell;
@@ -233,7 +232,6 @@ public:
virtual SvxViewForwarder* GetViewForwarder();
virtual SvxEditViewForwarder* GetEditViewForwarder( sal_Bool /* bCreate */ ) { return NULL; }
-//UNUSED2008-05 DECL_LINK( NotifyHdl, EENotify* );
private:
ScPreviewViewForwarder* mpViewForwarder;
ScPreviewShell* mpViewShell;
diff --git a/sc/source/ui/inc/acredlin.hxx b/sc/source/ui/inc/acredlin.hxx
index 6593dc5..9958d0e 100644
--- a/sc/source/ui/inc/acredlin.hxx
+++ b/sc/source/ui/inc/acredlin.hxx
@@ -173,7 +173,6 @@ private:
void Init();
void InitFilter();
-//UNUSED2008-05 void SetMyStaticData();
DECL_LINK( FilterHandle, SvxTPFilter* );
DECL_LINK( RefHandle, SvxTPFilter* );
diff --git a/sc/source/ui/inc/conflictsdlg.hxx b/sc/source/ui/inc/conflictsdlg.hxx
index 454ef70..c8aa00b 100644
--- a/sc/source/ui/inc/conflictsdlg.hxx
+++ b/sc/source/ui/inc/conflictsdlg.hxx
@@ -82,7 +82,6 @@ private:
static void Transform_Impl( ScChangeActionList& rActionList, ScChangeActionMergeMap* pMergeMap );
public:
-//UNUSED2008-05 static bool HasSharedAction( ScConflictsList& rConflictsList, ULONG nSharedAction );
static bool HasOwnAction( ScConflictsList& rConflictsList, ULONG nOwnAction );
static ScConflictsListEntry* GetSharedActionEntry( ScConflictsList& rConflictsList, ULONG nSharedAction );
@@ -148,11 +147,8 @@ class ScConflictsListBox: public SvxRedlinTable
private:
public:
-//UNUSED2008-05 ScConflictsListBox( Window* pParent, WinBits nBits = WB_BORDER );
ScConflictsListBox( Window* pParent, const ResId& rResId );
~ScConflictsListBox();
-
-//UNUSED2008-05 ULONG GetRootEntryPos( const SvLBoxEntry* pRootEntry ) const;
};
//=============================================================================
diff --git a/sc/source/ui/inc/content.hxx b/sc/source/ui/inc/content.hxx
index 929df0f..2c20aef 100644
--- a/sc/source/ui/inc/content.hxx
+++ b/sc/source/ui/inc/content.hxx
@@ -110,7 +110,6 @@ class ScContentTree : public SvTreeListBox
ULONG GetChildIndex( SvLBoxEntry* pEntry ) const;
void DoDrag();
-//UNUSED2008-05 void AdjustTitle();
ScDocument* GetSourceDocument();
diff --git a/sc/source/ui/inc/csvtablebox.hxx b/sc/source/ui/inc/csvtablebox.hxx
index a0a1e20..2e74882 100644
--- a/sc/source/ui/inc/csvtablebox.hxx
+++ b/sc/source/ui/inc/csvtablebox.hxx
@@ -74,7 +74,6 @@ private:
// ------------------------------------------------------------------------
public:
-//UNUSED2009-05 explicit ScCsvTableBox( Window* pParent );
explicit ScCsvTableBox( Window* pParent, const ResId& rResId );
// common table box handling ----------------------------------------------
@@ -109,10 +108,6 @@ public:
void SetUniStrings(
const String* pTextLines, const String& rSepChars,
sal_Unicode cTextSep, bool bMergeSep );
-//UNUSED2009-05 /** Fills all cells of all lines with the passed texts (ByteStrings). */
-//UNUSED2009-05 void SetByteStrings(
-//UNUSED2009-05 const ByteString* pLineTexts, CharSet eCharSet,
-//UNUSED2009-05 const String& rSepChars, sal_Unicode cTextSep, bool bMergeSep );
// column settings --------------------------------------------------------
public:
diff --git a/sc/source/ui/inc/dbfunc.hxx b/sc/source/ui/inc/dbfunc.hxx
index 581c861..5acf57d 100644
--- a/sc/source/ui/inc/dbfunc.hxx
+++ b/sc/source/ui/inc/dbfunc.hxx
@@ -52,7 +52,6 @@ private:
public:
ScDBFunc( Window* pParent, ScDocShell& rDocSh, ScTabViewShell* pViewShell );
-//UNUSED2008-05 ScDBFunc( Window* pParent, const ScDBFunc& rDBFunc, ScTabViewShell* pViewShell );
virtual ~ScDBFunc();
// nur UISort wiederholt bei Bedarf die Teilergebnisse
diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx
index b2bb683..a39bda5 100644
--- a/sc/source/ui/inc/docfunc.hxx
+++ b/sc/source/ui/inc/docfunc.hxx
@@ -132,8 +132,6 @@ public:
BOOL SetLayoutRTL( SCTAB nTab, BOOL bRTL, BOOL bApi );
-//UNUSED2009-05 BOOL SetGrammar( formula::FormulaGrammar::Grammar eGrammar );
-
SC_DLLPUBLIC BOOL SetWidthOrHeight( BOOL bWidth, SCCOLROW nRangeCnt, SCCOLROW* pRanges,
SCTAB nTab, ScSizeMode eMode, USHORT nSizeTwips,
BOOL bRecord, BOOL bApi );
diff --git a/sc/source/ui/inc/drawview.hxx b/sc/source/ui/inc/drawview.hxx
index b86c8d1..918dcab 100644
--- a/sc/source/ui/inc/drawview.hxx
+++ b/sc/source/ui/inc/drawview.hxx
@@ -111,7 +111,6 @@ public:
void SetMarkedOriginalSize();
BOOL SelectObject( const String& rName );
-//UNUSED2008-05 String GetSelectedChartName() const;
bool HasMarkedControl() const;
bool HasMarkedInternal() const;
@@ -140,7 +139,6 @@ public:
inline void UnlockInternalLayer() { LockInternalLayer( false ); }
SdrEndTextEditKind ScEndTextEdit(); // ruft SetDrawTextUndo(0)
-//UNUSED2009-05 void CaptionTextDirection(USHORT nSlot);
::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable > CopyToTransferable();
};
diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx
index 64e21cf..e440b9c 100644
--- a/sc/source/ui/inc/gridwin.hxx
+++ b/sc/source/ui/inc/gridwin.hxx
@@ -366,8 +366,6 @@ public:
void InvertSimple( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2,
BOOL bTestMerge = FALSE, BOOL bRepeat = FALSE );
-//UNUSED2008-05 void DrawDragRect( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2 );
-
void CreateAnchorHandle(SdrHdlList& rHdl, const ScAddress& rAddress);
void HideCursor();
diff --git a/sc/source/ui/inc/inputwin.hxx b/sc/source/ui/inc/inputwin.hxx
index 856a972..8f27d35 100644
--- a/sc/source/ui/inc/inputwin.hxx
+++ b/sc/source/ui/inc/inputwin.hxx
@@ -170,8 +170,6 @@ public:
BOOL IsInputActive();
EditView* GetEditView();
-//UNUSED2008-05 EditView* ActivateEdit( const String& rText,
-//UNUSED2008-05 const ESelection& rSel );
void TextGrabFocus();
void TextInvalidate();
diff --git a/sc/source/ui/inc/lbseldlg.hxx b/sc/source/ui/inc/lbseldlg.hxx
index 6b42043..09865bb 100644
--- a/sc/source/ui/inc/lbseldlg.hxx
+++ b/sc/source/ui/inc/lbseldlg.hxx
@@ -61,7 +61,6 @@ public:
~ScSelEntryDlg();
String GetSelectEntry() const;
-//UNUSED2008-05 USHORT GetSelectEntryPos() const;
};
diff --git a/sc/source/ui/inc/prevloc.hxx b/sc/source/ui/inc/prevloc.hxx
index 1e34d96..f2eb4c9 100644
--- a/sc/source/ui/inc/prevloc.hxx
+++ b/sc/source/ui/inc/prevloc.hxx
@@ -101,7 +101,6 @@ class ScPreviewLocationData
SCTAB nPrintTab;
List aEntries;
-//UNUSED2008-05 ScAddress GetCellFromRange( const Size& rOffsetPixel, const ScRange& rRange ) const;
Rectangle GetOffsetPixel( const ScAddress& rCellPos, const ScRange& rRange ) const;
public:
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx
index d8890f2..cc3ebc1 100644
--- a/sc/source/ui/inc/tabview.hxx
+++ b/sc/source/ui/inc/tabview.hxx
@@ -224,7 +224,6 @@ protected:
public:
ScTabView( Window* pParent, ScDocShell& rDocSh, ScTabViewShell* pViewShell );
-//UNUSED2009-05 ScTabView( Window* pParent, const ScTabView& rScTabView, ScTabViewShell* pViewShell );
~ScTabView();
void MakeDrawLayer();
@@ -268,7 +267,6 @@ public:
void DrawDeselectAll();
void DrawMarkListHasChanged();
void UpdateAnchorHandles();
-//UNUSED2008-05 String GetSelectedChartName() const;
ScPageBreakData* GetPageBreakData() { return pPageBreakData; }
ScHighlightRanges* GetHighlightRanges() { return pHighlightRanges; }
@@ -308,7 +306,6 @@ public:
void UpdateRef( SCCOL nCurX, SCROW nCurY, SCTAB nCurZ );
void StopRefMode();
-//UNUSED2008-05 void EndSelection();
void StopMarking();
void FakeButtonUp( ScSplitPos eWhich );
@@ -318,12 +315,8 @@ public:
ScSplitPos FindWindow( Window* pWindow ) const;
void SetActivePointer( const Pointer& rPointer );
-//UNUSED2008-05 void SetActivePointer( const ResId& rId );
void ActiveGrabFocus();
-//UNUSED2008-05 void ActiveCaptureMouse();
-//UNUSED2008-05 void ActiveReleaseMouse();
-//UNUSED2008-05 Point ActivePixelToLogic( const Point& rDevicePoint );
void ClickCursor( SCCOL nPosX, SCROW nPosY, BOOL bControl );
@@ -412,12 +405,6 @@ public:
void InvertBlockMark(SCCOL nBlockStartX, SCROW nBlockStartY,
SCCOL nBlockEndX, SCROW nBlockEndY);
-//UNUSED2008-05 void DrawDragRect( SCCOL nStartX, SCROW nStartY, SCCOL nEndX, SCROW nEndY,
-//UNUSED2008-05 ScSplitPos ePos );
-//UNUSED2008-05 void PaintCell( SCCOL nCol, SCROW nRow, SCTAB nTab );
-//UNUSED2008-05 void PaintLeftRow( SCROW nRow );
-//UNUSED2008-05 void PaintTopCol( SCCOL nCol );
-
void PaintArea( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow,
ScUpdateMode eMode = SC_UPDATE_ALL );
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index 91add9d..ad578fa 100644
--- a/sc/source/ui/inc/tabvwsh.hxx
+++ b/sc/source/ui/inc/tabvwsh.hxx
@@ -169,7 +169,6 @@ private:
SbxObject* pScSbxObject;
-//UNUSED2008-05 BOOL bChartDlgIsEdit; // Datenbereich aendern
BOOL bChartAreaValid; // wenn Chart aufgezogen wird
String aEditChartName;
ScRangeListRef aChartSource;
@@ -185,7 +184,6 @@ private:
private:
void Construct( BYTE nForceDesignMode = SC_FORCEMODE_NONE );
-//UNUSED2008-05 void SetMySubShell( SfxShell* pShell );
SfxShell* GetMySubShell() const;
void DoReadUserData( const String& rData );
@@ -241,9 +239,6 @@ public:
// -> Clone-Methode fuer Factory
-//UNUSED2008-05 ScTabViewShell( SfxViewFrame* pViewFrame,
-//UNUSED2008-05 const ScTabViewShell& rWin );
-
// aus einer allgemeinen Shell konstruieren und
// soviel wie moeglich uebernehmen (SliderPos etc.):
@@ -268,9 +263,6 @@ public:
SvxBorderLine* GetDefaultFrameLine() const { return pCurFrameLine; }
void SetDefaultFrameLine(const SvxBorderLine* pLine );
-//UNUSED2008-05 void ExecuteShowNIY( SfxRequest& rReq );
-//UNUSED2008-05 void StateDisabled( SfxItemSet& rSet );
-
SC_DLLPUBLIC void Execute( SfxRequest& rReq );
SC_DLLPUBLIC void GetState( SfxItemSet& rSet );
@@ -351,15 +343,10 @@ public:
void FillFieldData( ScHeaderFieldData& rData );
-//UNUSED2008-05 void ResetChartArea();
void SetChartArea( const ScRangeListRef& rSource, const Rectangle& rDest );
BOOL GetChartArea( ScRangeListRef& rSource, Rectangle& rDest, SCTAB& rTab ) const;
-//UNUSED2008-05 BOOL IsChartDlgEdit() const;
-//UNUSED2008-05 void SetChartDlgEdit(BOOL bFlag){bChartDlgIsEdit=bFlag;}
-
void SetEditChartName(const String& aStr){aEditChartName=aStr;}
-//UNUSED2008-05 const String& GetEditChartName() const;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
diff --git a/sc/source/ui/inc/uiitems.hxx b/sc/source/ui/inc/uiitems.hxx
index 579f9df..842603a 100644
--- a/sc/source/ui/inc/uiitems.hxx
+++ b/sc/source/ui/inc/uiitems.hxx
@@ -54,13 +54,6 @@ class ScInputStatusItem : public SfxPoolItem
public:
TYPEINFO();
-//UNUSED2008-05 ScInputStatusItem( USHORT nWhich,
-//UNUSED2008-05 SCTAB nTab,
-//UNUSED2008-05 SCCOL nCol, SCROW nRow,
-//UNUSED2008-05 SCCOL nStartCol, SCROW nStartRow,
-//UNUSED2008-05 SCCOL nEndCol, SCROW nSEndRow,
-//UNUSED2008-05 const String& rString,
-//UNUSED2008-05 const EditTextObject* pData );
ScInputStatusItem( USHORT nWhich,
const ScAddress& rCurPos,
diff --git a/sc/source/ui/inc/undodat.hxx b/sc/source/ui/inc/undodat.hxx
index 81da22e..af53290 100644
--- a/sc/source/ui/inc/undodat.hxx
+++ b/sc/source/ui/inc/undodat.hxx
@@ -406,39 +406,6 @@ private:
BOOL bQuerySize;
};
-//UNUSED2008-05 class ScUndoPivot: public ScSimpleUndo
-//UNUSED2008-05 {
-//UNUSED2008-05 public:
-//UNUSED2008-05 TYPEINFO();
-//UNUSED2008-05 ScUndoPivot( ScDocShell* pNewDocShell,
-//UNUSED2008-05 const ScArea& rOld, const ScArea& rNew,
-//UNUSED2008-05 ScDocument* pOldDoc, ScDocument* pNewDoc,
-//UNUSED2008-05 const ScPivot* pOldPivot, const ScPivot* pNewPivot );
-//UNUSED2008-05 virtual ~ScUndoPivot();
-//UNUSED2008-05
-//UNUSED2008-05 virtual void Undo();
-//UNUSED2008-05 virtual void Redo();
-//UNUSED2008-05 virtual void Repeat(SfxRepeatTarget& rTarget);
-//UNUSED2008-05 virtual BOOL CanRepeat(SfxRepeatTarget& rTarget) const;
-//UNUSED2008-05
-//UNUSED2008-05 virtual String GetComment() const;
-//UNUSED2008-05
-//UNUSED2008-05 private:
-//UNUSED2008-05 ScArea aOldArea;
-//UNUSED2008-05 ScArea aNewArea;
-//UNUSED2008-05 ScDocument* pOldUndoDoc;
-//UNUSED2008-05 ScDocument* pNewUndoDoc;
-//UNUSED2008-05 ScPivotParam aOldParam; // fuer Redo
-//UNUSED2008-05 ScQueryParam aOldQuery;
-//UNUSED2008-05 ScArea aOldSrc;
-//UNUSED2008-05 ScPivotParam aNewParam; // fuer Undo in Collection
-//UNUSED2008-05 ScQueryParam aNewQuery;
-//UNUSED2008-05 ScArea aNewSrc;
-//UNUSED2008-05 String aOldName;
-//UNUSED2008-05 String aOldTag;
-//UNUSED2008-05 String aNewName;
-//UNUSED2008-05 String aNewTag;
-//UNUSED2008-05 };
class ScUndoDataPilot: public ScSimpleUndo
{
diff --git a/sc/source/ui/inc/undotab.hxx b/sc/source/ui/inc/undotab.hxx
index 1be7962..b45170d 100644
--- a/sc/source/ui/inc/undotab.hxx
+++ b/sc/source/ui/inc/undotab.hxx
@@ -517,27 +517,5 @@ private:
void DoChange( BOOL bNew );
};
-
-//UNUSED2009-05 class ScUndoSetGrammar : public ScSimpleUndo
-//UNUSED2009-05 {
-//UNUSED2009-05 public:
-//UNUSED2009-05 TYPEINFO();
-//UNUSED2009-05 ScUndoSetGrammar( ScDocShell* pShell,
-//UNUSED2009-05 formula::FormulaGrammar::Grammar eGrammar );
-//UNUSED2009-05 virtual ~ScUndoSetGrammar();
-//UNUSED2009-05
-//UNUSED2009-05 virtual void Undo();
-//UNUSED2009-05 virtual void Redo();
-//UNUSED2009-05 virtual void Repeat(SfxRepeatTarget& rTarget);
-//UNUSED2009-05 virtual BOOL CanRepeat(SfxRepeatTarget& rTarget) const;
-//UNUSED2009-05
-//UNUSED2009-05 virtual String GetComment() const;
-//UNUSED2009-05
-//UNUSED2009-05 private:
-//UNUSED2009-05 formula::FormulaGrammar::Grammar meNewGrammar, meOldGrammar;
-//UNUSED2009-05
-//UNUSED2009-05 void DoChange( formula::FormulaGrammar::Grammar eGrammar );
-//UNUSED2009-05 };
-
#endif
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx
index 879a5f8..93f4e50 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -242,9 +242,6 @@ public:
~ScViewData();
void InitData( ScDocument* pDocument );
-//UNUSED2008-05 void InitFrom( const ScViewData* pRef );
-//UNUSED2008-05 void SetDocShell( ScDocShell* pShell );
-
ScDocShell* GetDocShell() const { return pDocShell; }
ScDBFunc* GetView() const { return pView; }
@@ -461,11 +458,8 @@ public:
SCROW VisibleCellsY( ScVSplitPos eWhichY ) const;
SCCOL PrevCellsX( ScHSplitPos eWhichX ) const; // Zellen auf der vorgehenden Seite
SCROW PrevCellsY( ScVSplitPos eWhichY ) const;
-//UNUSED2008-05 SCCOL LastCellsX( ScHSplitPos eWhichX ) const; // Zellen auf der letzten Seite
-//UNUSED2008-05 SCROW LastCellsY( ScVSplitPos eWhichY ) const;
BOOL IsOle();
-//UNUSED2008-05 void UpdateOle( ScSplitPos eWhich );
void SetScreen( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 );
void SetScreen( const Rectangle& rVisArea );
void SetScreenPos( const Point& rVisAreaStart );
diff --git a/sc/source/ui/inc/viewfunc.hxx b/sc/source/ui/inc/viewfunc.hxx
index 8a5aeee..8eaeba8 100644
--- a/sc/source/ui/inc/viewfunc.hxx
+++ b/sc/source/ui/inc/viewfunc.hxx
@@ -83,7 +83,6 @@ private:
public:
ScViewFunc( Window* pParent, ScDocShell& rDocSh, ScTabViewShell* pViewShell );
-//UNUSED2008-05 ScViewFunc( Window* pParent, const ScViewFunc& rViewFunc, ScTabViewShell* pViewShell );
~ScViewFunc();
const ScPatternAttr* GetSelectionPattern ();
@@ -307,10 +306,8 @@ public:
void ReplaceNote( const ScAddress& rPos, const String& rNoteText, const String* pAuthor, const String* pDate );
void DoRefConversion( BOOL bRecord = TRUE );
-//UNUSED2008-05 void DoSpellingChecker( BOOL bRecord = TRUE );
void DoHangulHanjaConversion( BOOL bRecord = TRUE );
void DoThesaurus( BOOL bRecord = TRUE );
-//UNUSED2008-05 DECL_LINK( SpellError, void * );
/** Generic implementation of sheet conversion functions. */
void DoSheetConversion( const ScConversionParam& rParam, BOOL bRecord = TRUE );
@@ -345,8 +342,6 @@ protected:
const SvxBorderLine* pSrcLine,
BOOL bColor );
-//UNUSED2008-05 void PaintWidthHeight( BOOL bColumns, SCCOLROW nStart, SCCOLROW nEnd );
-
private:
void PasteRTF( SCCOL nCol, SCROW nStartRow,
diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx
index efeab20..810c3ce 100644
--- a/sc/source/ui/miscdlgs/acredlin.cxx
+++ b/sc/source/ui/miscdlgs/acredlin.cxx
@@ -2037,10 +2037,6 @@ void ScAcceptChgDlg::InitFilter()
}
}
-//UNUSED2008-05 void ScAcceptChgDlg::SetMyStaticData()
-//UNUSED2008-05 {
-//UNUSED2008-05 }
-
IMPL_LINK( ScAcceptChgDlg, FilterModified, SvxTPFilter*, EMPTYARG )
{
return 0;
diff --git a/sc/source/ui/miscdlgs/conflictsdlg.cxx b/sc/source/ui/miscdlgs/conflictsdlg.cxx
index 161c647..1309f9b 100644
--- a/sc/source/ui/miscdlgs/conflictsdlg.cxx
+++ b/sc/source/ui/miscdlgs/conflictsdlg.cxx
@@ -76,20 +76,6 @@ bool ScConflictsListEntry::HasOwnAction( ULONG nOwnAction ) const
// class ScConflictsListHelper
//=============================================================================
-//UNUSED2008-05 bool ScConflictsListHelper::HasSharedAction( ScConflictsList& rConflictsList, ULONG nSharedAction )
-//UNUSED2008-05 {
-//UNUSED2008-05 ScConflictsList::const_iterator aEnd = rConflictsList.end();
-//UNUSED2008-05 for ( ScConflictsList::const_iterator aItr = rConflictsList.begin(); aItr != aEnd; ++aItr )
-//UNUSED2008-05 {
-//UNUSED2008-05 if ( aItr->HasSharedAction( nSharedAction ) )
-//UNUSED2008-05 {
-//UNUSED2008-05 return true;
-//UNUSED2008-05 }
-//UNUSED2008-05 }
-//UNUSED2008-05
-//UNUSED2008-05 return false;
-//UNUSED2008-05 }
-
bool ScConflictsListHelper::HasOwnAction( ScConflictsList& rConflictsList, ULONG nOwnAction )
{
ScConflictsList::const_iterator aEnd = rConflictsList.end();
@@ -430,11 +416,6 @@ void ScConflictsResolver::HandleAction( ScChangeAction* pAction, bool bIsSharedA
// class ScConflictsListBox
//=============================================================================
-//UNUSED2008-05 ScConflictsListBox::ScConflictsListBox( Window* pParent, WinBits nBits )
-//UNUSED2008-05 :SvxRedlinTable( pParent, nBits )
-//UNUSED2008-05 {
-//UNUSED2008-05 }
-
ScConflictsListBox::ScConflictsListBox( Window* pParent, const ResId& rResId )
:SvxRedlinTable( pParent, rResId )
{
@@ -444,23 +425,6 @@ ScConflictsListBox::~ScConflictsListBox()
{
}
-//UNUSED2008-05 ULONG ScConflictsListBox::GetRootEntryPos( const SvLBoxEntry* pRootEntry ) const
-//UNUSED2008-05 {
-//UNUSED2008-05 ULONG nPos = 0;
-//UNUSED2008-05 SvLBoxEntry* pEntry = GetRootLevelParent( First() );
-//UNUSED2008-05 while ( pEntry )
-//UNUSED2008-05 {
-//UNUSED2008-05 if ( pEntry == pRootEntry )
-//UNUSED2008-05 {
-//UNUSED2008-05 return nPos;
-//UNUSED2008-05 }
-//UNUSED2008-05 pEntry = NextSibling( pEntry );
-//UNUSED2008-05 ++nPos;
-//UNUSED2008-05 }
-//UNUSED2008-05 return 0xffffffff;
-//UNUSED2008-05 }
-
-
//=============================================================================
// class ScConflictsDlg
//=============================================================================
diff --git a/sc/source/ui/miscdlgs/lbseldlg.cxx b/sc/source/ui/miscdlgs/lbseldlg.cxx
index eb010b4..e620138 100644
--- a/sc/source/ui/miscdlgs/lbseldlg.cxx
+++ b/sc/source/ui/miscdlgs/lbseldlg.cxx
@@ -84,13 +84,6 @@ String ScSelEntryDlg::GetSelectEntry() const
//------------------------------------------------------------------------
-//UNUSED2008-05 USHORT ScSelEntryDlg::GetSelectEntryPos() const
-//UNUSED2008-05 {
-//UNUSED2008-05 return aLb.GetSelectEntryPos();
-//UNUSED2008-05 }
-
-//------------------------------------------------------------------------
-
IMPL_LINK_INLINE_START( ScSelEntryDlg, DblClkHdl, void *, EMPTYARG )
{
EndDialog( RET_OK );
... etc. - the rest is truncated
More information about the ooo-build-commit
mailing list