summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/nbdtmgfact.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sidebar/nbdtmgfact.cxx')
-rw-r--r--svx/source/sidebar/nbdtmgfact.cxx15
1 files changed, 3 insertions, 12 deletions
diff --git a/svx/source/sidebar/nbdtmgfact.cxx b/svx/source/sidebar/nbdtmgfact.cxx
index ba57105ed8d4..ff6589fc7c9a 100644
--- a/svx/source/sidebar/nbdtmgfact.cxx
+++ b/svx/source/sidebar/nbdtmgfact.cxx
@@ -23,24 +23,15 @@ namespace svx { namespace sidebar { namespace NBOutlineTypeMgrFact {
NBOTypeMgrBase* CreateInstance(const NBOType aType)
{
- //NBOTypeMgrBase* pRet= 0;
- if ( aType == eNBOType::BULLETS )
+ if ( aType == NBOType::Bullets )
{
return &BulletsTypeMgr::GetInstance();
}
- else if ( aType == eNBOType::GRAPHICBULLETS )
- {
- return &GraphicBulletsTypeMgr::GetInstance();
- }
- else if ( aType == eNBOType::MIXBULLETS )
- {
- return &MixBulletsTypeMgr::GetInstance();
- }
- else if ( aType == eNBOType::NUMBERING )
+ else if ( aType == NBOType::Numbering )
{
return &NumberingTypeMgr::GetInstance();
}
- else if ( aType == eNBOType::OUTLINE )
+ else if ( aType == NBOType::Outline )
{
return &OutlineTypeMgr::GetInstance();
}