chart2/source/inc/InternalData.hxx | 8 ++++---- chart2/source/tools/InternalData.cxx | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-)
New commits: commit 7649a14222dc1e5a7e01ed7c1d5e45a78143b41b Author: Kohei Yoshida <kohei.yosh...@collabora.com> Date: Thu Jul 3 15:28:50 2014 -0400 Make these non-inline. Change-Id: I0de443a78e3024c7d3834f964a92f5ccdabe3cc3 diff --git a/chart2/source/inc/InternalData.hxx b/chart2/source/inc/InternalData.hxx index 94b7eee..28506b5 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 e5b2db6..8f51469 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 { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits