summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undotab.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undotab.cxx')
-rw-r--r--sc/source/ui/undo/undotab.cxx23
1 files changed, 0 insertions, 23 deletions
diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx
index d5be4ed0778f..65691391d69b 100644
--- a/sc/source/ui/undo/undotab.cxx
+++ b/sc/source/ui/undo/undotab.cxx
@@ -26,7 +26,6 @@
*
************************************************************************/
-
#include <sfx2/app.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/dispatch.hxx>
@@ -68,8 +67,6 @@ using ::std::auto_ptr;
using ::std::vector;
using ::boost::shared_ptr;
-// STATIC DATA -----------------------------------------------------------
-
TYPEINIT1(ScUndoInsertTab, SfxUndoAction);
TYPEINIT1(ScUndoInsertTables, SfxUndoAction);
TYPEINIT1(ScUndoDeleteTab, SfxUndoAction);
@@ -86,7 +83,6 @@ TYPEINIT1(ScUndoRenameObject, SfxUndoAction);
TYPEINIT1(ScUndoLayoutRTL, SfxUndoAction);
TYPEINIT1(ScUndoTabColor, SfxUndoAction);
-
ScUndoInsertTab::ScUndoInsertTab( ScDocShell* pNewDocShell,
SCTAB nTabNum,
sal_Bool bApp,
@@ -181,7 +177,6 @@ sal_Bool ScUndoInsertTab::CanRepeat(SfxRepeatTarget& rTarget) const
return (rTarget.ISA(ScTabViewTarget));
}
-
ScUndoInsertTables::ScUndoInsertTables( ScDocShell* pNewDocShell,
SCTAB nTabNum,
sal_Bool bApp,std::vector<rtl::OUString>& newNameList) :
@@ -278,7 +273,6 @@ sal_Bool ScUndoInsertTables::CanRepeat(SfxRepeatTarget& rTarget) const
return (rTarget.ISA(ScTabViewTarget));
}
-
ScUndoDeleteTab::ScUndoDeleteTab( ScDocShell* pNewDocShell, const vector<SCTAB> &aTab, //SCTAB nNewTab,
ScDocument* pUndoDocument, ScRefUndoData* pRefData ) :
ScMoveUndo( pNewDocShell, pUndoDocument, pRefData, SC_UNDO_REFLAST )
@@ -438,7 +432,6 @@ sal_Bool ScUndoDeleteTab::CanRepeat(SfxRepeatTarget& rTarget) const
return (rTarget.ISA(ScTabViewTarget));
}
-
ScUndoRenameTab::ScUndoRenameTab( ScDocShell* pNewDocShell,
SCTAB nT,
const String& rOldName,
@@ -496,7 +489,6 @@ sal_Bool ScUndoRenameTab::CanRepeat(SfxRepeatTarget& /* rTarget */) const
return false;
}
-
ScUndoMoveTab::ScUndoMoveTab(
ScDocShell* pNewDocShell, vector<SCTAB>* pOldTabs, vector<SCTAB>* pNewTabs,
vector<OUString>* pOldNames, vector<OUString>* pNewNames) :
@@ -602,7 +594,6 @@ sal_Bool ScUndoMoveTab::CanRepeat(SfxRepeatTarget& /* rTarget */) const
return false;
}
-
ScUndoCopyTab::ScUndoCopyTab(
ScDocShell* pNewDocShell,
vector<SCTAB>* pOldTabs, vector<SCTAB>* pNewTabs,
@@ -812,7 +803,6 @@ sal_Bool ScUndoTabColor::CanRepeat(SfxRepeatTarget& /* rTarget */) const
return false;
}
-
ScUndoMakeScenario::ScUndoMakeScenario( ScDocShell* pNewDocShell,
SCTAB nSrc, SCTAB nDest,
const String& rN, const String& rC,
@@ -900,7 +890,6 @@ sal_Bool ScUndoMakeScenario::CanRepeat(SfxRepeatTarget& rTarget) const
return (rTarget.ISA(ScTabViewTarget));
}
-
ScUndoImportTab::ScUndoImportTab( ScDocShell* pShell,
SCTAB nNewTab, SCTAB nNewCount, sal_Bool bNewLink ) :
ScSimpleUndo( pShell ),
@@ -1056,7 +1045,6 @@ sal_Bool ScUndoImportTab::CanRepeat(SfxRepeatTarget& rTarget) const
return (rTarget.ISA(ScTabViewTarget));
}
-
ScUndoRemoveLink::ScUndoRemoveLink( ScDocShell* pShell, const String& rDoc ) :
ScSimpleUndo( pShell ),
aDocName( rDoc ),
@@ -1138,7 +1126,6 @@ sal_Bool ScUndoRemoveLink::CanRepeat(SfxRepeatTarget& /* rTarget */) const
return false;
}
-
ScUndoShowHideTab::ScUndoShowHideTab( ScDocShell* pShell, SCTAB nNewTab, sal_Bool bNewShow ) :
ScSimpleUndo( pShell ),
nTab( nNewTab ),
@@ -1192,8 +1179,6 @@ rtl::OUString ScUndoShowHideTab::GetComment() const
return ScGlobal::GetRscString( nId );
}
-// ============================================================================
-
SAL_WNODEPRECATED_DECLARATIONS_PUSH
ScUndoDocProtect::ScUndoDocProtect(ScDocShell* pShell, auto_ptr<ScDocProtection> pProtectSettings) :
ScSimpleUndo(pShell),
@@ -1265,8 +1250,6 @@ rtl::OUString ScUndoDocProtect::GetComment() const
return ScGlobal::GetRscString( nId );
}
-// ============================================================================
-
SAL_WNODEPRECATED_DECLARATIONS_PUSH
ScUndoTabProtect::ScUndoTabProtect(ScDocShell* pShell, SCTAB nTab, auto_ptr<ScTableProtection> pProtectSettings) :
ScSimpleUndo(pShell),
@@ -1339,7 +1322,6 @@ rtl::OUString ScUndoTabProtect::GetComment() const
return ScGlobal::GetRscString( nId );
}
-
ScUndoPrintRange::ScUndoPrintRange( ScDocShell* pShell, SCTAB nNewTab,
ScPrintRangeSaver* pOld, ScPrintRangeSaver* pNew ) :
ScSimpleUndo( pShell ),
@@ -1401,9 +1383,6 @@ rtl::OUString ScUndoPrintRange::GetComment() const
return ScGlobal::GetRscString( STR_UNDO_PRINTRANGES );
}
-
-//------------------------------------------------------------------------
-
ScUndoScenarioFlags::ScUndoScenarioFlags( ScDocShell* pNewDocShell, SCTAB nT,
const String& rON, const String& rNN, const String& rOC, const String& rNC,
const Color& rOCol, const Color& rNCol, sal_uInt16 nOF, sal_uInt16 nNF ) :
@@ -1473,7 +1452,6 @@ sal_Bool ScUndoScenarioFlags::CanRepeat(SfxRepeatTarget& /* rTarget */) const
return false;
}
-
// (move to different file?)
ScUndoRenameObject::ScUndoRenameObject( ScDocShell* pNewDocShell, const String& rPN,
const String& rON, const String& rNN ) :
@@ -1551,7 +1529,6 @@ sal_Bool ScUndoRenameObject::CanRepeat(SfxRepeatTarget& /* rTarget */) const
return false;
}
-
ScUndoLayoutRTL::ScUndoLayoutRTL( ScDocShell* pShell, SCTAB nNewTab, sal_Bool bNewRTL ) :
ScSimpleUndo( pShell ),
nTab( nNewTab ),