summaryrefslogtreecommitdiff
path: root/unotools/source/config/itemholder1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/config/itemholder1.cxx')
-rw-r--r--unotools/source/config/itemholder1.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/unotools/source/config/itemholder1.cxx b/unotools/source/config/itemholder1.cxx
index cc9e4dd97ab3..da36d669ffd3 100644
--- a/unotools/source/config/itemholder1.cxx
+++ b/unotools/source/config/itemholder1.cxx
@@ -49,7 +49,7 @@
#include <unotools/options.hxx>
#include <unotools/syslocaleoptions.hxx>
-//-----------------------------------------------
+
ItemHolder1::ItemHolder1()
: ItemHolderMutexBase()
{
@@ -80,20 +80,20 @@ ItemHolder1::ItemHolder1()
#endif
}
-//-----------------------------------------------
+
ItemHolder1::~ItemHolder1()
{
impl_releaseAllItems();
}
-//-----------------------------------------------
+
void ItemHolder1::holdConfigItem(EItem eItem)
{
static ItemHolder1* pHolder = new ItemHolder1();
pHolder->impl_addItem(eItem);
}
-//-----------------------------------------------
+
void SAL_CALL ItemHolder1::disposing(const css::lang::EventObject&)
throw(css::uno::RuntimeException)
{
@@ -101,7 +101,7 @@ void SAL_CALL ItemHolder1::disposing(const css::lang::EventObject&)
impl_releaseAllItems();
}
-//-----------------------------------------------
+
void ItemHolder1::impl_addItem(EItem eItem)
{
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -123,7 +123,7 @@ void ItemHolder1::impl_addItem(EItem eItem)
m_lItems.push_back(aNewItem);
}
-//-----------------------------------------------
+
void ItemHolder1::impl_releaseAllItems()
{
::osl::ResettableMutexGuard aLock(m_aLock);
@@ -139,7 +139,7 @@ void ItemHolder1::impl_releaseAllItems()
m_lItems.clear();
}
-//-----------------------------------------------
+
void ItemHolder1::impl_newItem(TItemInfo& rItem)
{
switch(rItem.eItem)
@@ -250,7 +250,7 @@ void ItemHolder1::impl_newItem(TItemInfo& rItem)
}
}
-//-----------------------------------------------
+
void ItemHolder1::impl_deleteItem(TItemInfo& rItem)
{
if (rItem.pItem)