diff options
author | krishnan parthasarathi <krishnan.parthasarathi@gmail.com> | 2010-10-07 17:07:16 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-10-07 17:07:16 +0100 |
commit | 2bbe25827196f104285db69a6fe12adb0f28c036 (patch) | |
tree | d4e6377eb568cb24c1b45d7f8ea4a1ecad007d17 /sd | |
parent | e4035c6b3453ce2015ccc0e62c8b33ac14970b24 (diff) |
Removing comments from sd/source/ui/func/bulmaper.cxx
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/bulmaper.cxx | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/sd/source/ui/func/bulmaper.cxx b/sd/source/ui/func/bulmaper.cxx index e2a1c16d1fbf..f61e40eb4a98 100644 --- a/sd/source/ui/func/bulmaper.cxx +++ b/sd/source/ui/func/bulmaper.cxx @@ -59,51 +59,6 @@ #define GetWhich(nSlot) rSet.GetPool()->GetWhich( nSlot ) -/* #i35937# - -void SdBulletMapper::PreMapNumBulletForDialog( SfxItemSet& rSet ) -{ - if( SFX_ITEM_SET == rSet.GetItemState( EE_PARA_NUMBULLET, FALSE ) ) - { - SvxNumRule* pRule = ((SvxNumBulletItem*)rSet.GetItem( EE_PARA_NUMBULLET ))->GetNumRule(); - - if(pRule && pRule->GetNumRuleType() == SVX_RULETYPE_PRESENTATION_NUMBERING) - { - // 10er Bullet Item auf 9er Item mappen - SvxNumRule aNewRule( pRule->GetFeatureFlags(), 9, FALSE, SVX_RULETYPE_PRESENTATION_NUMBERING ); - - for( USHORT i = 0; i < 9; i++ ) - aNewRule.SetLevel(i, pRule->GetLevel(i)); - - rSet.Put( SvxNumBulletItem( aNewRule, EE_PARA_NUMBULLET ) ); - } - } -} - -void SdBulletMapper::PostMapNumBulletForDialog( SfxItemSet& rSet ) -{ - if( SFX_ITEM_SET == rSet.GetItemState( EE_PARA_NUMBULLET, FALSE ) ) - { - SvxNumRule* pRule = ((SvxNumBulletItem*)rSet.GetItem( EE_PARA_NUMBULLET ))->GetNumRule(); - - if(pRule) - { - pRule->UnLinkGraphics(); - if(pRule->GetNumRuleType() == SVX_RULETYPE_PRESENTATION_NUMBERING) - { - // 9er Bullet Item auf 10er Item mappen - SvxNumRule aNewRule( pRule->GetFeatureFlags(), 10, FALSE, SVX_RULETYPE_PRESENTATION_NUMBERING ); - - for( USHORT i = 0; i < 9; i++ ) - aNewRule.SetLevel(i, pRule->GetLevel(i)); - - rSet.Put( SvxNumBulletItem( aNewRule, EE_PARA_NUMBULLET ) ); - } - } - } -} -*/ - void SdBulletMapper::MapFontsInNumRule( SvxNumRule& aNumRule, const SfxItemSet& rSet ) { const USHORT nCount = aNumRule.GetLevelCount(); |