[Libreoffice-commits] core.git: sc/inc sc/source
Eike Rathke
erack at redhat.com
Tue Mar 10 16:00:40 PDT 2015
sc/inc/token.hxx | 1 +
sc/source/core/tool/token.cxx | 5 +++++
2 files changed, 6 insertions(+)
New commits:
commit a408811fb5519d55c0fcf943bfc08325682e0399
Author: Eike Rathke <erack at redhat.com>
Date: Tue Mar 10 23:51:59 2015 +0100
virtual ScTableRefToken::SetIndex(); of course..
Change-Id: I4a43ea664e9db2bb44e0e7f089a71abf6f572b1e
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index 5564a20..a0a12ab 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -227,6 +227,7 @@ public:
virtual ~ScTableRefToken();
virtual sal_uInt16 GetIndex() const SAL_OVERRIDE;
+ virtual void SetIndex( sal_uInt16 n ) SAL_OVERRIDE;
virtual bool operator==( const formula::FormulaToken& rToken ) const SAL_OVERRIDE;
virtual FormulaToken* Clone() const SAL_OVERRIDE { return new ScTableRefToken(*this); }
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 203f378..eab3f8f 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -851,6 +851,11 @@ sal_uInt16 ScTableRefToken::GetIndex() const
return mnIndex;
}
+void ScTableRefToken::SetIndex( sal_uInt16 n )
+{
+ mnIndex = n;
+}
+
ScTableRefToken::Item ScTableRefToken::GetItem() const
{
return meItem;
More information about the Libreoffice-commits
mailing list