summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-01-08 09:51:47 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-01-08 09:52:49 -0500
commitab3be69580024da53653e06b34f515bef6ef690e (patch)
tree68b60222ee51f20938727593496521a57c9cc953 /sc/inc
parent7d620e26070fda48f91a8ebe0a088224d6d19f75 (diff)
Let's not have two variants of this getter. One is enough.
And let's stick with the one that returns the data pointer. Change-Id: I931be0d73adcf6f3888d05ef58bc0f905f5a6958
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/cell.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/inc/cell.hxx b/sc/inc/cell.hxx
index 30ee12bf96d4..ee040a280014 100644
--- a/sc/inc/cell.hxx
+++ b/sc/inc/cell.hxx
@@ -242,10 +242,9 @@ public:
void SetData( const EditTextObject* pObject,
const SfxItemPool* pFromPool /* = NULL */ );
- void GetData( const EditTextObject*& rpObject ) const;
rtl::OUString GetString() const;
- const EditTextObject* GetData() const { return pData; }
+ const EditTextObject* GetData() const;
/** Removes character attribute based on new pattern attributes. */
void RemoveCharAttribs( const ScPatternAttr& rAttr );