summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-05 21:30:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-05 22:41:56 +0000
commit9999eab5fe5e92118574468905cae0e3c8982c7f (patch)
tree2bc04015f09e30c8d8dbb000f12f08749c21be59 /sc/inc
parentb234008ba5096f251fffec4c467f2103f4ba3cc0 (diff)
getPropertyMap can return a reference instead of a pointer
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/cellsuno.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index 7c458105080f..24dcb850881d 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -223,7 +223,7 @@ protected:
const ScMarkData* GetMarkData();
// GetItemPropertyMap for derived classes must contain all entries, including base class
- virtual const SfxItemPropertyMap* GetItemPropertyMap();
+ virtual const SfxItemPropertyMap& GetItemPropertyMap();
virtual ::com::sun::star::beans::PropertyState GetOnePropertyState(
sal_uInt16 nItemWhich, const SfxItemPropertySimpleEntry* pEntry );
virtual void GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
@@ -618,7 +618,7 @@ private:
protected:
const ScRange& GetRange() const { return aRange; }
- virtual const SfxItemPropertyMap* GetItemPropertyMap();
+ virtual const SfxItemPropertyMap& GetItemPropertyMap();
virtual void GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
::com::sun::star::uno::Any& )
throw(::com::sun::star::uno::RuntimeException);
@@ -840,7 +840,7 @@ private:
com::sun::star::table::CellContentType GetResultType_Impl();
protected:
- virtual const SfxItemPropertyMap* GetItemPropertyMap();
+ virtual const SfxItemPropertyMap& GetItemPropertyMap();
virtual void GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
::com::sun::star::uno::Any& )
throw(::com::sun::star::uno::RuntimeException);
@@ -851,7 +851,7 @@ protected:
public:
static const SvxItemPropertySet* GetEditPropertySet();
- static const SfxItemPropertyMap* GetCellPropertyMap();
+ static const SfxItemPropertyMap& GetCellPropertyMap();
ScCellObj(ScDocShell* pDocSh, const ScAddress& rP);
virtual ~ScCellObj();
@@ -1021,7 +1021,7 @@ private:
void PrintAreaUndo_Impl( ScPrintRangeSaver* pOldRanges );
protected:
- virtual const SfxItemPropertyMap* GetItemPropertyMap();
+ virtual const SfxItemPropertyMap& GetItemPropertyMap();
virtual void GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
::com::sun::star::uno::Any& )
throw(::com::sun::star::uno::RuntimeException);
@@ -1256,7 +1256,7 @@ private:
const SfxItemPropertySet* pColPropSet;
protected:
- virtual const SfxItemPropertyMap* GetItemPropertyMap();
+ virtual const SfxItemPropertyMap& GetItemPropertyMap();
virtual void GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
::com::sun::star::uno::Any& )
throw(::com::sun::star::uno::RuntimeException);
@@ -1307,7 +1307,7 @@ private:
const SfxItemPropertySet* pRowPropSet;
protected:
- virtual const SfxItemPropertyMap* GetItemPropertyMap();
+ virtual const SfxItemPropertyMap& GetItemPropertyMap();
virtual void GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
::com::sun::star::uno::Any& )
throw(::com::sun::star::uno::RuntimeException);