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, 7 insertions, 7 deletions
diff --git a/sc/source/ui/attrdlg/tabpages.cxx b/sc/source/ui/attrdlg/tabpages.cxx
index b4f30e43f069..88090598be77 100644
--- a/sc/source/ui/attrdlg/tabpages.cxx
+++ b/sc/source/ui/attrdlg/tabpages.cxx
@@ -68,14 +68,14 @@ 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 )
{
@@ -120,7 +120,7 @@ void ScTabPageProtection::Reset( const SfxItemSet& rCoreAttrs )
UpdateButtons();
}
-// -----------------------------------------------------------------------
+
sal_Bool ScTabPageProtection::FillItemSet( SfxItemSet& rCoreAttrs )
{
@@ -144,7 +144,7 @@ sal_Bool ScTabPageProtection::FillItemSet( SfxItemSet& rCoreAttrs )
bAttrsChanged = !pOldItem || !( aProtAttr == *(const ScProtectionAttr*)pOldItem );
}
- //--------------------------------------------------
+
if ( bAttrsChanged )
rCoreAttrs.Put( aProtAttr );
@@ -154,7 +154,7 @@ sal_Bool ScTabPageProtection::FillItemSet( SfxItemSet& rCoreAttrs )
return bAttrsChanged;
}
-//------------------------------------------------------------------------
+
int ScTabPageProtection::DeactivatePage( SfxItemSet* pSetP )
{
@@ -164,7 +164,7 @@ int ScTabPageProtection::DeactivatePage( SfxItemSet* pSetP )
return LEAVE_PAGE;
}
-//------------------------------------------------------------------------
+
IMPL_LINK( ScTabPageProtection, ButtonClickHdl, TriStateBox*, pBox )
{
@@ -195,7 +195,7 @@ IMPL_LINK( ScTabPageProtection, ButtonClickHdl, TriStateBox*, pBox )
return 0;
}
-//------------------------------------------------------------------------
+
void ScTabPageProtection::UpdateButtons()
{