diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-04-06 17:13:43 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-04-06 17:19:54 +0200 |
commit | c4c51709eaa02a5c9a2af3e5d436790307109813 (patch) | |
tree | c67362b4f2c3d3f34655ca65ec10d54e1509cf73 /sc/source/ui/attrdlg/tabpages.cxx | |
parent | c78f918a7cb267a713804b8feacc3425196d4428 (diff) |
whitespace cleanup in sc
Change-Id: Id1dcadcac179c52977e48a6912ce4d5fd542f60c
Diffstat (limited to 'sc/source/ui/attrdlg/tabpages.cxx')
-rw-r--r-- | sc/source/ui/attrdlg/tabpages.cxx | 14 |
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 ) |