summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/pivotsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/pivotsh.cxx')
-rw-r--r--sc/source/ui/view/pivotsh.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/sc/source/ui/view/pivotsh.cxx b/sc/source/ui/view/pivotsh.cxx
index d9d3602664cc..8782062421e7 100644
--- a/sc/source/ui/view/pivotsh.cxx
+++ b/sc/source/ui/view/pivotsh.cxx
@@ -38,13 +38,10 @@
#include "dbdocfun.hxx"
#include "uiitems.hxx"
#include "scabstdlg.hxx"
-//------------------------------------------------------------------------
#define ScPivotShell
#include "scslots.hxx"
-//------------------------------------------------------------------------
-
TYPEINIT1( ScPivotShell, SfxShell );
SFX_IMPL_INTERFACE(ScPivotShell, SfxShell, ScResId(SCSTR_PIVOTSHELL))
@@ -52,9 +49,6 @@ SFX_IMPL_INTERFACE(ScPivotShell, SfxShell, ScResId(SCSTR_PIVOTSHELL))
SFX_POPUPMENU_REGISTRATION( ScResId(RID_POPUP_PIVOT) );
}
-
-//------------------------------------------------------------------------
-
ScPivotShell::ScPivotShell( ScTabViewShell* pViewSh ) :
SfxShell(pViewSh),
pViewShell( pViewSh )
@@ -72,12 +66,10 @@ ScPivotShell::ScPivotShell( ScTabViewShell* pViewSh ) :
SfxShell::SetContextName(sfx2::sidebar::EnumContext::GetContextName(sfx2::sidebar::EnumContext::Context_Pivot));
}
-//------------------------------------------------------------------------
ScPivotShell::~ScPivotShell()
{
}
-//------------------------------------------------------------------------
void ScPivotShell::Execute( SfxRequest& rReq )
{
switch ( rReq.GetSlot() )
@@ -140,7 +132,6 @@ void ScPivotShell::Execute( SfxRequest& rReq )
}
}
-//------------------------------------------------------------------------
void ScPivotShell::GetState( SfxItemSet& rSet )
{
ScDocShell* pDocSh = pViewShell->GetViewData()->GetDocShell();
@@ -175,9 +166,6 @@ void ScPivotShell::GetState( SfxItemSet& rSet )
}
}
-
-//------------------------------------------------------------------------
-
ScDPObject* ScPivotShell::GetCurrDPObject()
{
const ScViewData& rViewData = *pViewShell->GetViewData();