From 7649a14222dc1e5a7e01ed7c1d5e45a78143b41b Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 3 Jul 2014 15:28:50 -0400 Subject: Make these non-inline. Change-Id: I0de443a78e3024c7d3834f964a92f5ccdabe3cc3 --- chart2/source/inc/InternalData.hxx | 8 ++++---- chart2/source/tools/InternalData.cxx | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/chart2/source/inc/InternalData.hxx b/chart2/source/inc/InternalData.hxx index 94b7eeee6b33..28506b513c51 100644 --- a/chart2/source/inc/InternalData.hxx +++ b/chart2/source/inc/InternalData.hxx @@ -66,15 +66,15 @@ public: /// @return the index of the newly appended row sal_Int32 appendRow(); - sal_Int32 getRowCount() const { return m_nRowCount;} - sal_Int32 getColumnCount() const { return m_nColumnCount;} + sal_Int32 getRowCount() const; + sal_Int32 getColumnCount() const; typedef ::std::vector< ::std::vector< ::com::sun::star::uno::Any > > tVecVecAny; //inner index is hierarchical level void setComplexRowLabels( const tVecVecAny& rNewRowLabels ); - tVecVecAny getComplexRowLabels() const { return m_aRowLabels;} + tVecVecAny getComplexRowLabels() const; void setComplexColumnLabels( const tVecVecAny& rNewColumnLabels ); - tVecVecAny getComplexColumnLabels() const { return m_aColumnLabels;} + tVecVecAny getComplexColumnLabels() const; void dump() const; diff --git a/chart2/source/tools/InternalData.cxx b/chart2/source/tools/InternalData.cxx index e5b2db6ca462..8f51469ec0c1 100644 --- a/chart2/source/tools/InternalData.cxx +++ b/chart2/source/tools/InternalData.cxx @@ -376,6 +376,16 @@ sal_Int32 InternalData::appendRow() return getRowCount() - 1; } +sal_Int32 InternalData::getRowCount() const +{ + return m_nRowCount; +} + +sal_Int32 InternalData::getColumnCount() const +{ + return m_nColumnCount; +} + void InternalData::insertRow( sal_Int32 nAfterIndex ) { // note: -1 is allowed, as we insert after the given index @@ -496,6 +506,11 @@ void InternalData::setComplexRowLabels( const vector< vector< uno::Any > >& rNew enlargeData( 0, nNewRowCount ); } +InternalData::tVecVecAny InternalData::getComplexRowLabels() const +{ + return m_aRowLabels; +} + void InternalData::setComplexColumnLabels( const vector< vector< uno::Any > >& rNewColumnLabels ) { m_aColumnLabels = rNewColumnLabels; @@ -506,6 +521,11 @@ void InternalData::setComplexColumnLabels( const vector< vector< uno::Any > >& r enlargeData( nNewColumnCount, 0 ); } +InternalData::tVecVecAny InternalData::getComplexColumnLabels() const +{ + return m_aColumnLabels; +} + #ifdef DEBUG_INTERNAL_DATA void InternalData::dump() const { -- cgit v1.2.3