summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-10-23 16:43:51 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-04 12:30:37 -0500
commitb5f6358c0bf3befd1a40ea993a246d50ee5304bf (patch)
tree7422663001abdabcca60bdaf8e94d4f4ef42ef5b /include/svx
parentd5be9c7c17fd839f051641ac947aca550d3638c4 (diff)
CreateObjectSpecificItemSet to return a pointer, not a reference.
I hope the reason is obvious.... Change-Id: Ibe30038991b4916a6af230043176f09bd9952ff9
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/sdr/properties/defaultproperties.hxx2
-rw-r--r--include/svx/sdr/properties/properties.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/sdr/properties/defaultproperties.hxx b/include/svx/sdr/properties/defaultproperties.hxx
index 97fca16cb310..79a20513a902 100644
--- a/include/svx/sdr/properties/defaultproperties.hxx
+++ b/include/svx/sdr/properties/defaultproperties.hxx
@@ -36,7 +36,7 @@ namespace sdr
SfxItemSet* mpItemSet;
// create a new itemset
- virtual SfxItemSet& CreateObjectSpecificItemSet(SfxItemPool& rPool) SAL_OVERRIDE;
+ virtual SfxItemSet* CreateObjectSpecificItemSet(SfxItemPool& rPool) SAL_OVERRIDE;
// test changeability for a single item
virtual bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const SAL_OVERRIDE;
diff --git a/include/svx/sdr/properties/properties.hxx b/include/svx/sdr/properties/properties.hxx
index 6229e45e388e..56d8c2522c3d 100644
--- a/include/svx/sdr/properties/properties.hxx
+++ b/include/svx/sdr/properties/properties.hxx
@@ -56,7 +56,7 @@ namespace sdr
SdrObject& mrObject;
// create a new object specific itemset with object specific ranges.
- virtual SfxItemSet& CreateObjectSpecificItemSet(SfxItemPool& pPool) = 0;
+ virtual SfxItemSet* CreateObjectSpecificItemSet(SfxItemPool& pPool) = 0;
// internal access to SdrObject
SdrObject& GetSdrObject() const