summaryrefslogtreecommitdiff
path: root/sc/source/ui/attrdlg/tabpages.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/attrdlg/tabpages.cxx')
-rw-r--r--sc/source/ui/attrdlg/tabpages.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/sc/source/ui/attrdlg/tabpages.cxx b/sc/source/ui/attrdlg/tabpages.cxx
index 9931208e1943..0b20eee29e08 100644
--- a/sc/source/ui/attrdlg/tabpages.cxx
+++ b/sc/source/ui/attrdlg/tabpages.cxx
@@ -68,15 +68,11 @@ sal_uInt16* ScTabPageProtection::GetRanges()
return pProtectionRanges;
}
-
-
SfxTabPage* ScTabPageProtection::Create( Window* pParent, const SfxItemSet& rAttrSet )
{
return ( new ScTabPageProtection( pParent, rAttrSet ) );
}
-
-
void ScTabPageProtection::Reset( const SfxItemSet& rCoreAttrs )
{
// Initialize variables
@@ -120,8 +116,6 @@ void ScTabPageProtection::Reset( const SfxItemSet& rCoreAttrs )
UpdateButtons();
}
-
-
bool ScTabPageProtection::FillItemSet( SfxItemSet& rCoreAttrs )
{
sal_Bool bAttrsChanged = false;
@@ -144,8 +138,6 @@ bool ScTabPageProtection::FillItemSet( SfxItemSet& rCoreAttrs )
bAttrsChanged = !pOldItem || !( aProtAttr == *(const ScProtectionAttr*)pOldItem );
}
-
-
if ( bAttrsChanged )
rCoreAttrs.Put( aProtAttr );
else if ( eItemState == SFX_ITEM_DEFAULT )
@@ -154,8 +146,6 @@ bool ScTabPageProtection::FillItemSet( SfxItemSet& rCoreAttrs )
return bAttrsChanged;
}
-
-
int ScTabPageProtection::DeactivatePage( SfxItemSet* pSetP )
{
if ( pSetP )
@@ -164,8 +154,6 @@ int ScTabPageProtection::DeactivatePage( SfxItemSet* pSetP )
return LEAVE_PAGE;
}
-
-
IMPL_LINK( ScTabPageProtection, ButtonClickHdl, TriStateBox*, pBox )
{
TriState eState = pBox->GetState();
@@ -195,8 +183,6 @@ IMPL_LINK( ScTabPageProtection, ButtonClickHdl, TriStateBox*, pBox )
return 0;
}
-
-
void ScTabPageProtection::UpdateButtons()
{
if ( bDontCare )