summaryrefslogtreecommitdiff
path: root/svl/source/items/aeitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/aeitem.cxx')
-rw-r--r--svl/source/items/aeitem.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/svl/source/items/aeitem.cxx b/svl/source/items/aeitem.cxx
index fdbca831c064..d50b77d85761 100644
--- a/svl/source/items/aeitem.cxx
+++ b/svl/source/items/aeitem.cxx
@@ -23,9 +23,6 @@
#include <cstddef>
#include <vector>
-SfxPoolItem* SfxAllEnumItem::CreateDefault() { return new SfxAllEnumItem; }
-
-
struct SfxAllEnumValue_Impl
{
sal_uInt16 nValue;
@@ -168,27 +165,6 @@ void SfxAllEnumItem::InsertValue( sal_uInt16 nValue )
pValues->insert(pValues->begin() + GetPosByValue_(nValue), aVal); // FIXME: Duplicates?
}
-void SfxAllEnumItem::DisableValue( sal_uInt16 nValue )
-{
- if ( !pDisabledValues )
- pDisabledValues = new std::vector<sal_uInt16>;
-
- pDisabledValues->push_back( nValue );
-}
-
-bool SfxAllEnumItem::IsEnabled( sal_uInt16 nValue ) const
-{
- if ( pDisabledValues )
- {
- for (sal_uInt16 nDisabledValue : *pDisabledValues)
- if ( nDisabledValue == nValue )
- return false;
- }
-
- return true;
-}
-
-
void SfxAllEnumItem::RemoveValue( sal_uInt16 nValue )
{
sal_uInt16 nPos = GetPosByValue(nValue);