summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svl/grabbagitem.hxx4
-rw-r--r--svl/source/items/grabbagitem.cxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/include/svl/grabbagitem.hxx b/include/svl/grabbagitem.hxx
index 1e7c592132b5..e28f2134776b 100644
--- a/include/svl/grabbagitem.hxx
+++ b/include/svl/grabbagitem.hxx
@@ -26,7 +26,7 @@ public:
TYPEINFO();
SfxGrabBagItem();
- SfxGrabBagItem(sal_uInt16 nWhich, const std::map<OUString, com::sun::star::uno::Any> *pMap = 0);
+ SfxGrabBagItem(sal_uInt16 nWhich, const std::map<OUString, com::sun::star::uno::Any>* pMap = 0);
SfxGrabBagItem(const SfxGrabBagItem& rItem);
~SfxGrabBagItem();
@@ -34,7 +34,7 @@ public:
const std::map<OUString, com::sun::star::uno::Any>& GetGrabBag() const;
virtual int operator==(const SfxPoolItem&) const;
- virtual SfxPoolItem* Clone(SfxItemPool *pPool = 0) const;
+ virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
virtual bool PutValue(const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0);
virtual bool QueryValue(com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0) const;
diff --git a/svl/source/items/grabbagitem.cxx b/svl/source/items/grabbagitem.cxx
index 23ab2bd06718..1c6072055e2a 100644
--- a/svl/source/items/grabbagitem.cxx
+++ b/svl/source/items/grabbagitem.cxx
@@ -25,8 +25,8 @@ SfxGrabBagItem::SfxGrabBagItem()
{
}
-SfxGrabBagItem::SfxGrabBagItem(sal_uInt16 nWhich, const std::map<OUString, uno::Any> *pMap) :
- SfxPoolItem( nWhich )
+SfxGrabBagItem::SfxGrabBagItem(sal_uInt16 nWhich, const std::map<OUString, uno::Any>* pMap) :
+ SfxPoolItem(nWhich)
{
if (pMap)
m_aMap = *pMap;
@@ -59,7 +59,7 @@ int SfxGrabBagItem::operator==(const SfxPoolItem& rItem) const
return m_aMap == pItem->m_aMap;
}
-SfxPoolItem* SfxGrabBagItem::Clone(SfxItemPool * /*pPool*/) const
+SfxPoolItem* SfxGrabBagItem::Clone(SfxItemPool* /*pPool*/) const
{
return new SfxGrabBagItem(*this);
}
@@ -67,7 +67,7 @@ SfxPoolItem* SfxGrabBagItem::Clone(SfxItemPool * /*pPool*/) const
bool SfxGrabBagItem::PutValue(const uno::Any& rVal, sal_uInt8 /*nMemberId*/)
{
uno::Sequence<beans::PropertyValue> aValue;
- if ( rVal >>= aValue )
+ if (rVal >>= aValue)
{
m_aMap.clear();
comphelper::OSequenceIterator<beans::PropertyValue> i(aValue);