[Libreoffice-commits] .: sd/source
Michael Meeks
mmeeks at kemper.freedesktop.org
Thu Oct 7 09:08:22 PDT 2010
sd/source/ui/func/bulmaper.cxx | 45 -----------------------------------------
1 file changed, 45 deletions(-)
New commits:
commit f126a2f22fb889265f496460f4e6495e1ccdf6b7
Author: krishnan parthasarathi <krishnan.parthasarathi at gmail.com>
Date: Thu Oct 7 17:07:16 2010 +0100
Removing comments from sd/source/ui/func/bulmaper.cxx
diff --git a/sd/source/ui/func/bulmaper.cxx b/sd/source/ui/func/bulmaper.cxx
index 2b34f6d..2804dee 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();
More information about the Libreoffice-commits
mailing list