[Libreoffice-commits] core.git: include/svl svl/source
Miklos Vajna
vmiklos at collabora.co.uk
Thu Dec 19 09:37:00 PST 2013
include/svl/grabbagitem.hxx | 4 ++--
svl/source/items/grabbagitem.cxx | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
New commits:
commit e111aa0c20c2e88d13164c025359982fc6d0bd18
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Thu Dec 19 18:31:17 2013 +0100
svl: whitespace fixes in grabbagitem
Change-Id: I363e8c0f1a51a18bf0ad0ac4f931107137fd1c58
diff --git a/include/svl/grabbagitem.hxx b/include/svl/grabbagitem.hxx
index 1e7c592..e28f213 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 23ab2bd..1c60720 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);
More information about the Libreoffice-commits
mailing list