summaryrefslogtreecommitdiffstats
path: root/binfilter/bf_sc/source/core/data
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-09-08 21:05:58 -0700
committerJoseph Powers <jpowers27@cox.net>2011-09-08 21:27:02 -0700
commit872daba66c4be77c9df9d6fe6a1c501abe087d04 (patch)
treed37ac247d0d4f8cf0dcdfa91fb76e9d2663d347d /binfilter/bf_sc/source/core/data
parentWaE: remove newly unused variables (diff)
downloadbinfilter-872daba66c4be77c9df9d6fe6a1c501abe087d04.tar.gz
binfilter-872daba66c4be77c9df9d6fe6a1c501abe087d04.zip
Hopefully this is the last of the cleanups for class ScDocument for now.
Diffstat (limited to 'binfilter/bf_sc/source/core/data')
-rw-r--r--binfilter/bf_sc/source/core/data/sc_documen2.cxx5
-rw-r--r--binfilter/bf_sc/source/core/data/sc_documen5.cxx22
-rw-r--r--binfilter/bf_sc/source/core/data/sc_documen7.cxx16
-rw-r--r--binfilter/bf_sc/source/core/data/sc_documen8.cxx84
-rw-r--r--binfilter/bf_sc/source/core/data/sc_documen9.cxx27
-rw-r--r--binfilter/bf_sc/source/core/data/sc_document.cxx98
-rw-r--r--binfilter/bf_sc/source/core/data/sc_stlsheet.cxx8
7 files changed, 8 insertions, 252 deletions
diff --git a/binfilter/bf_sc/source/core/data/sc_documen2.cxx b/binfilter/bf_sc/source/core/data/sc_documen2.cxx
index 04ad33e03..5a6460b03 100644
--- a/binfilter/bf_sc/source/core/data/sc_documen2.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_documen2.cxx
@@ -951,7 +951,6 @@ namespace binfilter {
/*N*/ if (VALIDTAB(nDestPos) && pTab[nDestPos])
/*N*/ {
/*N*/ pTab[nDestPos]->DeleteArea( 0,0, MAXCOL,MAXROW, IDF_ALL );
-/*N*/ // ClearDrawPage(nDestPos);
/*N*/ }
/*N*/ else
/*N*/ bValid = FALSE;
@@ -1025,10 +1024,6 @@ namespace binfilter {
/*N*/ pSrcDoc->SetAutoCalc( bOldAutoCalcSrc );
/*N*/ SetAutoCalc( bOldAutoCalc );
/*N*/
-/*N*/ // Drawing kopieren
-/*N*/
-/*N*/ if (bInsertNew)
-/*?*/ TransferDrawPage( pSrcDoc, nSrcPos, nDestPos );
/*N*/ }
/*N*/ if (!bValid)
/*N*/ nRetVal = 0;
diff --git a/binfilter/bf_sc/source/core/data/sc_documen5.cxx b/binfilter/bf_sc/source/core/data/sc_documen5.cxx
index a5ede56db..65262f755 100644
--- a/binfilter/bf_sc/source/core/data/sc_documen5.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_documen5.cxx
@@ -253,7 +253,6 @@ void ScDocument::UpdateChartRef( UpdateRefMode eUpdateRefMode,
(ScChartListener*) (pChartListenerCollection->At(nIndex));
ScRangeListRef aRLR( pChartListener->GetRangeList() );
ScRangeListRef aNewRLR( new ScRangeList );
- BOOL bChanged = FALSE;
BOOL bDataChanged = FALSE;
for ( ScRangePtr pR = aRLR->First(); pR; pR = aRLR->Next() )
{
@@ -271,7 +270,6 @@ void ScDocument::UpdateChartRef( UpdateRefMode eUpdateRefMode,
theCol2,theRow2,theTab2 );
if ( eRes != UR_NOTHING )
{
- bChanged = TRUE;
aNewRLR->Append( ScRange(
theCol1, theRow1, theTab1,
theCol2, theRow2, theTab2 ));
@@ -291,10 +289,6 @@ void ScDocument::UpdateChartRef( UpdateRefMode eUpdateRefMode,
else
aNewRLR->Append( *pR );
}
- if ( bChanged )
- {
- DBG_BF_ASSERT(0, "STRIP");
- }
}
}
@@ -306,12 +300,6 @@ BOOL ScDocument::HasData( USHORT nCol, USHORT nRow, USHORT nTab )
return FALSE;
}
-SchMemChart* ScDocument::FindChartData(const String&, BOOL)
-{
- DBG_BF_ASSERT(0, "STRIP");
- return NULL;
-}
-
BOOL lcl_StringInCollection( const StrCollection* pColl, const String& rStr )
{
if ( !pColl )
@@ -424,7 +412,6 @@ void ScDocument::UpdateChartListenerCollection()
}
}
}
- #if 1
BOOL bEnabled = aIPObj->IsEnableSetModified();
if (bEnabled)
aIPObj->EnableSetModified(FALSE);
@@ -433,15 +420,6 @@ void ScDocument::UpdateChartListenerCollection()
//! pChartData got deleted, don't use it anymore
if (bEnabled)
aIPObj->EnableSetModified(TRUE);
- #endif
- if ( bForceSave )
- {
- // the return value of DoSave() was not checked, this is not a good style...
- // due to the suppression of the function DoSave() this stay here just for
- // pro memoria, waiting that all the if is cleaned out
- // the same for DoSaveCompleted()
- DBG_BF_ASSERT(0, "return value of DoSave() and DoSaveComleted was not checked here!");
- }
}
}
}
diff --git a/binfilter/bf_sc/source/core/data/sc_documen7.cxx b/binfilter/bf_sc/source/core/data/sc_documen7.cxx
index a8fa9fffd..92956f104 100644
--- a/binfilter/bf_sc/source/core/data/sc_documen7.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_documen7.cxx
@@ -353,14 +353,14 @@ extern const ScFormulaCell* pLastFormulaTreeTop; // cellform.cxx Err527 WorkA
/*N*/ if ( bHaveForced )
/*N*/ {
/*?*/ SetForcedFormulas( TRUE );
-/*?*/ if ( bAutoCalc && !IsAutoCalcShellDisabled() && !IsInInterpreter()
-/*?*/ && !IsCalculatingFormulaTree() )
-{DBG_BF_ASSERT(0, "STRIP"); }
-/*?*/ else
+ if ( !( bAutoCalc
+ && !IsAutoCalcShellDisabled()
+ && !IsInInterpreter()
+ && !IsCalculatingFormulaTree()
+ )
+ )
/*?*/ SetForcedFormulaPending( TRUE );
/*N*/ }
-///*N*/ if ( !bWasWaiting )
-///*N*/ Application::LeaveWait();
/*N*/ }
/*N*/ DBG_ASSERT( nFormulaTrackCount==0, "TrackFormulas: nFormulaTrackCount!=0" );
/*N*/ }
@@ -391,13 +391,9 @@ extern const ScFormulaCell* pLastFormulaTreeTop; // cellform.cxx Err527 WorkA
/*N*/ {
/*?*/ if ( IsAutoCalcShellDisabled() )
/*?*/ SetForcedFormulaPending( TRUE );
-/*?*/ else if ( !IsInInterpreter() )
-DBG_BF_ASSERT(0, "STRIP");
/*N*/ }
/*N*/ }
-
-
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binfilter/bf_sc/source/core/data/sc_documen8.cxx b/binfilter/bf_sc/source/core/data/sc_documen8.cxx
index 1b538ee63..c9190a6f4 100644
--- a/binfilter/bf_sc/source/core/data/sc_documen8.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_documen8.cxx
@@ -204,21 +204,6 @@ namespace binfilter {
//------------------------------------------------------------------------
-
-//------------------------------------------------------------------------
-
-
-//------------------------------------------------------------------------
-
-
-//------------------------------------------------------------------------
-
-
-//------------------------------------------------------------------------
-
-
-//------------------------------------------------------------------------
-
/*N*/ BOOL ScDocument::RemovePageStyleInUse( const String& rStyle )
/*N*/ {
/*N*/ BOOL bWasInUse = FALSE;
@@ -234,7 +219,6 @@ namespace binfilter {
/*N*/ return bWasInUse;
/*N*/ }
-
//------------------------------------------------------------------------
/*M*/ BYTE ScDocument::GetEditTextDirection(USHORT nTab) const
@@ -326,22 +310,6 @@ namespace binfilter {
/*N*/ }
-/*N*/ BOOL ScDocument::UpdateDdeLink( const String&, const String&, const String& )
-/*N*/ {
-/*N*/ // fuer refresh() per StarOne Api
-/*N*/ // ResetValue() fuer einzelnen Link nicht noetig
-/*N*/ //! wenn's mal alles asynchron wird, aber auch hier
-/*N*/
-/*N*/ BOOL bFound = FALSE;
-/*N*/ if (pLinkManager)
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-/*N*/ return bFound;
-/*N*/ }
-
-
-
/*N*/ USHORT ScDocument::GetDdeLinkCount() const
/*N*/ {
/*N*/ USHORT nDdeCount = 0;
@@ -437,34 +405,6 @@ namespace binfilter {
/*N*/ return FALSE;
/*N*/ }
-/*N*/ BOOL ScDocument::GetDdeLinkResult(const ScMatrix*, USHORT, USHORT, String&, double&, BOOL&)
-/*N*/ {
-DBG_BF_ASSERT(0, "STRIP");
-/*N*/ return TRUE;
-/*N*/ }
-
-/*N*/ void ScDocument::CreateDdeLink(const String&, const String&, const String&, const BYTE)
-/*N*/ {
-DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-
-/*N*/ BOOL ScDocument::FindDdeLink(const String&, const String&, const String&, const BYTE, USHORT&)
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ return FALSE;
-/*N*/ }
-
-/*N*/ BOOL ScDocument::CreateDdeLinkResultDimension(USHORT, USHORT, USHORT, ScMatrix*&)
-/*N*/ {
-DBG_BF_ASSERT(0, "STRIP");
-/*N*/ return FALSE;
-/*N*/ }
-
-void ScDocument::SetDdeLinkResult(ScMatrix*, const USHORT, const USHORT, const String&, const double&, BOOL, BOOL )
-{
-DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-
//------------------------------------------------------------------------
/*N*/ void ScDocument::UpdateRefAreaLinks( UpdateRefMode eUpdateRefMode,
@@ -516,34 +456,10 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/
/*N*/ USHORT nCount;
/*N*/ rStream >> nCount;
-/*N*/ for (USHORT i=0; i<nCount; i++)
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*?*/
-/*N*/ }
-/*N*/ }
-
-
-//------------------------------------------------------------------------
-
-// TimerDelays etc.
-
-// ----------------------------------------------------------------------------
-
-/*N*/ BOOL ScDocument::CheckMacroWarn()
-/*N*/ {
-/*N*/ // The check for macro configuration, macro warning and disabling is now handled
-/*N*/ // in SfxObjectShell::AdjustMacroMode, called by SfxObjectShell::CallBasic.
-/*N*/
-/*N*/ return TRUE;
/*N*/ }
-
-
//------------------------------------------------------------------------
-
-
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binfilter/bf_sc/source/core/data/sc_documen9.cxx b/binfilter/bf_sc/source/core/data/sc_documen9.cxx
index f8974b1c4..759445fb7 100644
--- a/binfilter/bf_sc/source/core/data/sc_documen9.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_documen9.cxx
@@ -83,25 +83,6 @@ namespace binfilter {
/*N*/ }
/*N*/ }
-/*N*/ void ScDocument::TransferDrawPage(ScDocument* pSrcDoc, USHORT nSrcPos, USHORT nDestPos)
-/*N*/ {
-/*N*/ if (pDrawLayer && pSrcDoc->pDrawLayer)
-/*N*/ {
-/*?*/ SdrPage* pOldPage = pSrcDoc->pDrawLayer->GetPage(nSrcPos);
-/*?*/ SdrPage* pNewPage = pDrawLayer->GetPage(nDestPos);
-/*?*/
-/*?*/ if (pOldPage && pNewPage)
-/*?*/ {
-/*?*/ SdrObjListIter aIter( *pOldPage, IM_FLAT );
-/*?*/ SdrObject* pOldObject = aIter.Next();
-/*?*/ while (pOldObject)
-/*?*/ {DBG_BF_ASSERT(0, "STRIP");
-/*?*/ }
-/*?*/ }
-/*N*/ }
-/*N*/ }
-
-
/*N*/ void ScDocument::InitDrawLayer( SfxObjectShell* pDocShell )
/*N*/ {
/*N*/ if (pDocShell && !pShell)
@@ -345,14 +326,6 @@ namespace binfilter {
/*N*/ }
/*N*/ }
-/*N*/ BOOL ScDocument::IsPrintEmpty( USHORT, USHORT, USHORT,
-/*N*/ USHORT, USHORT, BOOL,
-/*N*/ ScRange*, Rectangle* ) const
-/*N*/ {
- DBG_BF_ASSERT(0, "STRIP");
-/*N*/ return TRUE;
-/*N*/ }
-
/*N*/ void ScDocument::Clear()
/*N*/ {
/*N*/ for (USHORT i=0; i<=MAXTAB; i++)
diff --git a/binfilter/bf_sc/source/core/data/sc_document.cxx b/binfilter/bf_sc/source/core/data/sc_document.cxx
index cc5302332..2ae349120 100644
--- a/binfilter/bf_sc/source/core/data/sc_document.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_document.cxx
@@ -265,8 +265,6 @@ namespace binfilter {
/*N*/ URM_INSDEL, 0,0,nPos, MAXCOL,MAXROW,MAXTAB, 0,0,1 );
/*N*/ if (pDPCollection)
/*?*/ pDPCollection->UpdateReference( URM_INSDEL, aRange, 0,0,1 );
-/*N*/ if (pDetOpList)
-/*?*/ {DBG_BF_ASSERT(0, "STRIP");}
/*N*/ UpdateChartRef( URM_INSDEL, 0,0,nPos, MAXCOL,MAXROW,MAXTAB, 0,0,1 );
/*N*/ UpdateRefAreaLinks( URM_INSDEL, aRange, 0,0,1 );
/*N*/ if ( pUnoBroadcaster )
@@ -778,16 +776,6 @@ namespace binfilter {
/*N*/ pRefUndoDoc, pUndoOutline );
/*N*/ }
-/*N*/ BOOL ScDocument::CanFitBlock( const ScRange&, const ScRange& )
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP"); return FALSE;
-/*N*/ }
-
-/*N*/ void ScDocument::FitBlock( const ScRange&, const ScRange&, BOOL )
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-
/*N*/ void ScDocument::DeleteArea(USHORT nCol1, USHORT nRow1,
/*N*/ USHORT nCol2, USHORT nRow2,
/*N*/ const ScMarkData& rMark, USHORT nDelFlag)
@@ -911,10 +899,6 @@ namespace binfilter {
/*N*/ {
/*N*/ PutInOrder( nCol1, nCol2 );
/*N*/ PutInOrder( nRow1, nRow2 );
-/*N*/ if (!pClipDoc)
-/*N*/ {
-DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
/*N*/
/*N*/ pClipDoc->aDocName = aDocName;
/*N*/ pClipDoc->aClipRange = ScRange( nCol1,nRow1,0, nCol2,nRow2,0 );
@@ -939,52 +923,11 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ pData->SetIndex(nIndex);
/*N*/ }
/*N*/ }
-/*N*/ for (i = 0; i <= MAXTAB; i++)
-/*N*/ if (pTab[i] && pClipDoc->pTab[i])
-/*N*/ if ( bAllTabs || !pMarks || pMarks->GetTableSelect(i) )
-/*N*/ {
-DBG_BF_ASSERT(0, "STRIP");
-/*N*/
-/*N*/ if ( pDrawLayer && bIncludeObjects )
-/*N*/ {
-/*N*/ // also copy drawing objects
-/*N*/
-DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-/*N*/ }
/*N*/
/*N*/ pClipDoc->bCutMode = bCut;
/*N*/ }
/*N*/ }
-void ScDocument::StartListeningFromClip( USHORT, USHORT, USHORT, USHORT, const ScMarkData&, USHORT )
-{
-}
-
-/*N*/ void ScDocument::BroadcastFromClip( USHORT, USHORT,
-/*N*/ USHORT, USHORT,
-/*N*/ const ScMarkData&, USHORT )
-/*N*/ {
-DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-
-/*N*/ void ScDocument::CopyBlockFromClip( USHORT, USHORT,
-/*N*/ USHORT, USHORT,
-/*N*/ const ScMarkData&,
-/*N*/ short, short,
-/*N*/ const ScCopyBlockFromClipParams* )
-/*N*/ {
-DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-
-/*N*/ void ScDocument::CopyNonFilteredFromClip( USHORT, USHORT,
-/*N*/ USHORT, USHORT,
-/*N*/ const ScMarkData&,
-/*N*/ short, short,
-/*N*/ const ScCopyBlockFromClipParams* )
-/*N*/ {
-DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
/*N*/ void ScDocument::CopyFromClip( const ScRange& rDestRange, const ScMarkData& rMark,
@@ -1073,7 +1016,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ nXw -= pClipDoc->aClipRange.aEnd.Col();
/*N*/ nYw -= pClipDoc->aClipRange.aEnd.Row(); // only extra value from ExtendMerge
/*N*/ USHORT nDestAddX(0), nDestAddY(0);
-/*N*/ pClipDoc->GetClipArea( nDestAddX, nDestAddY, bIncludeFiltered );
/*N*/ nXw += nDestAddX;
/*N*/ nYw += nDestAddY; // ClipArea, plus ExtendMerge value
/*N*/
@@ -1092,8 +1034,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ USHORT nR1_a = nRow1;
/*N*/ USHORT nC2_a = nC1_a + nXw;
/*N*/ USHORT nR2_a = nR1_a + nYw;
-/*N*/ USHORT nClipStartCol = pClipDoc->aClipRange.aStart.Col();
-/*N*/ USHORT nClipStartRow = pClipDoc->aClipRange.aStart.Row();
/*N*/
/*N*/ ScCopyBlockFromClipParams aCBFCP;
/*N*/ aCBFCP.pRefUndoDoc = pRefUndoDoc;
@@ -1127,12 +1067,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ {
/*N*/ do
/*N*/ {
-/*N*/ short nDx = ((short)nC1_a) - nClipStartCol;
-/*N*/ short nDy = ((short)nR1_a) - nClipStartRow;
-/*N*/ if ( bIncludeFiltered )
-/*N*/ CopyBlockFromClip( nC1_a, nR1_a, nC2_a, nR2_a, rMark, nDx, nDy, &aCBFCP );
-/*N*/ else
-/*N*/ CopyNonFilteredFromClip( nC1_a, nR1_a, nC2_a, nR2_a, rMark, nDx, nDy, &aCBFCP );
/*N*/ nC1_a = nC2_a + 1;
/*N*/ nC2_a = Min((USHORT)(nC1_a + nXw), nCol2);
/*N*/ }
@@ -1187,10 +1121,7 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ }
/*N*/ if ( pClipRangeNames )
/*N*/ delete [] pClipRangeNames;
-/*N*/ // Listener aufbauen nachdem alles inserted wurde
-/*N*/ StartListeningFromClip( nCol1, nRow1, nCol2, nRow2, rMark, nInsFlag );
-/*N*/ // nachdem alle Listener aufgebaut wurden, kann gebroadcastet werden
-/*N*/ BroadcastFromClip( nCol1, nRow1, nCol2, nRow2, rMark, nInsFlag );
+
/*N*/ if (bResetCut)
/*N*/ pClipDoc->bCutMode = FALSE;
/*N*/ SetAutoCalc( bOldAutoCalc );
@@ -1198,10 +1129,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ }
/*N*/ }
-/*N*/ void ScDocument::GetClipArea(USHORT&, USHORT&, BOOL)
-/*N*/ {
-DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
/*N*/ void ScDocument::PutCell( USHORT nCol, USHORT nRow, USHORT nTab, ScBaseCell* pCell, BOOL bForceTab )
/*N*/ {
@@ -1807,11 +1734,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ return bRet;
/*N*/ }
-/*N*/ BOOL ScDocument::GetRowDefault( USHORT, USHORT, USHORT, USHORT&)
-/*N*/ {
-/*N*/ BOOL bRet(FALSE);
-/*N*/ return bRet;
-/*N*/ }
//
// Attribute ----------------------------------------------------------
@@ -1974,9 +1896,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ }
/*N*/ }
-/*N*/ BOOL ScDocument::IsStyleSheetUsed( const ScStyleSheet&, BOOL ) const
-/*N*/ {DBG_BF_ASSERT(0, "STRIP"); return FALSE;
-/*N*/ }
/*N*/ BOOL ScDocument::ApplyFlagsTab( USHORT nStartCol, USHORT nStartRow,
/*N*/ USHORT nEndCol, USHORT nEndRow, USHORT nTab, INT16 nFlags )
@@ -1989,11 +1908,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ return FALSE;
/*N*/ }
-/*N*/ BOOL ScDocument::RemoveFlagsTab( USHORT, USHORT,
-/*N*/ USHORT, USHORT, USHORT, INT16 )
-/*N*/ {DBG_BF_ASSERT(0, "STRIP");
-/*N*/ return FALSE;
-/*N*/ }
/*N*/ ScPatternAttr* ScDocument::CreateSelectionPattern( const ScMarkData& rMark, BOOL bDeep )
/*N*/ {
@@ -2136,13 +2050,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ nMask );
/*N*/ }
-/*N*/ BOOL ScDocument::IsBlockEmpty( USHORT /*nTab*/, USHORT /*nStartCol*/, USHORT /*nStartRow*/,
-/*N*/ USHORT /*nEndCol*/, USHORT /*nEndRow*/ ) const
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ return FALSE;
-/*N*/ }
-
/*N*/ void ScDocument::LockTable(USHORT nTab)
/*N*/ {
@@ -2348,9 +2255,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ {
/*N*/ if (pTab[nTab])
/*N*/ bFound = pTab[nTab]->ExtendMerge( nStartCol, nStartRow, rEndCol, rEndRow, bRefresh, bAttrs );
-/*N*/
-/*N*/ if (bRefresh)
-DBG_BF_ASSERT(0, "STRIP");
/*N*/ }
/*N*/ else
/*N*/ OSL_FAIL("ExtendMerge: falscher Bereich");
diff --git a/binfilter/bf_sc/source/core/data/sc_stlsheet.cxx b/binfilter/bf_sc/source/core/data/sc_stlsheet.cxx
index 2dd5d6467..5318762d7 100644
--- a/binfilter/bf_sc/source/core/data/sc_stlsheet.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_stlsheet.cxx
@@ -235,13 +235,7 @@ namespace binfilter {
/*N*/ {
/*N*/ if ( GetFamily() == SFX_STYLE_FAMILY_PARA )
/*N*/ {
-/*?*/ // Always query the document to let it decide if a rescan is necessary,
-/*?*/ // and store the state.
-/*?*/ ScDocument* pDoc = ((ScStyleSheetPool&)rPool).GetDocument();
-/*?*/ if ( pDoc && pDoc->IsStyleSheetUsed( *this, TRUE ) )
-/*?*/ eUsage = USED;
-/*?*/ else
-/*?*/ eUsage = NOTUSED;
+/*?*/ eUsage = NOTUSED;
/*?*/ return eUsage == USED;
/*N*/ }
/*N*/ else