summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc/numberingtypelistbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/misc/numberingtypelistbox.cxx')
-rw-r--r--sw/source/ui/misc/numberingtypelistbox.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/misc/numberingtypelistbox.cxx b/sw/source/ui/misc/numberingtypelistbox.cxx
index e765fd2df33f..223be3177cae 100644
--- a/sw/source/ui/misc/numberingtypelistbox.cxx
+++ b/sw/source/ui/misc/numberingtypelistbox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -92,7 +92,7 @@ void SwNumberingTypeListBox::Reload(USHORT nTypeFlags)
bInsert = 0 != (nTypeFlags&INSERT_NUM_TYPE_NO_NUMBERING);
nPos = 0;
break;
- case style::NumberingType::CHAR_SPECIAL: bInsert = 0 != (nTypeFlags&INSERT_NUM_TYPE_BULLET); break;
+ case style::NumberingType::CHAR_SPECIAL: bInsert = 0 != (nTypeFlags&INSERT_NUM_TYPE_BULLET); break;
case style::NumberingType::PAGE_DESCRIPTOR:bInsert = 0 != (nTypeFlags&INSERT_NUM_TYPE_PAGE_STYLE_NUMBERING); break;
case style::NumberingType::BITMAP:bInsert = 0 != (nTypeFlags&INSERT_NUM_TYPE_BITMAP ); break;
default:
@@ -141,7 +141,7 @@ void SwNumberingTypeListBox::Reload(USHORT nTypeFlags)
}
}
-sal_Int16 SwNumberingTypeListBox::GetSelectedNumberingType()
+sal_Int16 SwNumberingTypeListBox::GetSelectedNumberingType()
{
sal_Int16 nRet = 0;
USHORT nSelPos = GetSelectEntryPos();
@@ -154,7 +154,7 @@ sal_Int16 SwNumberingTypeListBox::GetSelectedNumberingType()
return nRet;
}
-sal_Bool SwNumberingTypeListBox::SelectNumberingType(sal_Int16 nType)
+sal_Bool SwNumberingTypeListBox::SelectNumberingType(sal_Int16 nType)
{
USHORT nPos = GetEntryPos((void*)(ULONG)nType);
SelectEntryPos( nPos );