diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-08-06 15:40:43 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-08-12 19:46:26 -0400 |
commit | 01bc4976a058628a40337f8041c0daedfa63da97 (patch) | |
tree | b736d6ade8b55e1237fbf73db15d772415940055 /sc/inc | |
parent | 492f0ad5347ed640c3a12b61e22d279b29becb88 (diff) |
Const correctness at ScFormulaCell side.
Though I had to use const_cast in some places...
Change-Id: I22830bf291179efafc1b400f33a520072b7fab0f
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/formulacell.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx index 3d702009820b..0d258a062a99 100644 --- a/sc/inc/formulacell.hxx +++ b/sc/inc/formulacell.hxx @@ -248,7 +248,8 @@ public: sal_uInt16 GetRawError(); // don't interpret, just return code or result error bool GetErrorOrValue( sal_uInt16& rErr, double& rVal ); sal_uInt8 GetMatrixFlag() const; - ScTokenArray* GetCode() const; + ScTokenArray* GetCode(); + const ScTokenArray* GetCode() const; bool IsRunning() const; void SetRunning( bool bVal ); |