summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-10-24 15:23:58 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-04 12:30:38 -0500
commitbd84b356d4d817a933985e891112b62ca6815212 (patch)
treea67e1dcada8ae73a3bd18871993825fabf1ab708 /include/svx
parent3f1b1f7f08effe21a5b7443ab19c5f19fb660ed8 (diff)
Make this member private. Nobody accesses it directly.
Change-Id: Id00917198bda71eb80768526375eb83ba46dba11
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/sdr/properties/properties.hxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/svx/sdr/properties/properties.hxx b/include/svx/sdr/properties/properties.hxx
index 56d8c2522c3d..511b74956acc 100644
--- a/include/svx/sdr/properties/properties.hxx
+++ b/include/svx/sdr/properties/properties.hxx
@@ -50,19 +50,20 @@ namespace sdr
{
class SVX_DLLPUBLIC BaseProperties
{
- protected:
+ private:
// the owner of this Properties. Set from constructor and not
// to be changed in any way.
SdrObject& mrObject;
+ protected:
+
// create a new object specific itemset with object specific ranges.
virtual SfxItemSet* CreateObjectSpecificItemSet(SfxItemPool& pPool) = 0;
// internal access to SdrObject
- SdrObject& GetSdrObject() const
- {
- return mrObject;
- }
+ const SdrObject& GetSdrObject() const;
+
+ SdrObject& GetSdrObject();
// Test changeability for a single item. If a implementation wants to prevent
// changing an item this method may be overloaded.