summaryrefslogtreecommitdiff
path: root/chart2/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-12 14:06:28 +0200
committerNoel Grandin <noel@peralex.com>2014-06-17 10:55:17 +0200
commit3e82897353e576dc6e3fbf55371fda5a0c3415df (patch)
tree71c2f03128885000efae1852dccb504f8355c79e /chart2/source/inc
parentec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff)
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'chart2/source/inc')
-rw-r--r--chart2/source/inc/InternalData.hxx4
-rw-r--r--chart2/source/inc/MediaDescriptorHelper.hxx2
-rw-r--r--chart2/source/inc/ObjectIdentifier.hxx4
-rw-r--r--chart2/source/inc/ReferenceSizeProvider.hxx2
-rw-r--r--chart2/source/inc/WrappedProperty.hxx2
5 files changed, 7 insertions, 7 deletions
diff --git a/chart2/source/inc/InternalData.hxx b/chart2/source/inc/InternalData.hxx
index 77ed6cabd501..082f6ee3b6b6 100644
--- a/chart2/source/inc/InternalData.hxx
+++ b/chart2/source/inc/InternalData.hxx
@@ -72,9 +72,9 @@ public:
typedef ::std::vector< ::std::vector< ::com::sun::star::uno::Any > > tVecVecAny; //inner index is hierarchical level
void setComplexRowLabels( const tVecVecAny& rNewRowLabels );
- tVecVecAny getComplexRowLabels() const;
+ tVecVecAny getComplexRowLabels() const { return m_aRowLabels;}
void setComplexColumnLabels( const tVecVecAny& rNewColumnLabels );
- tVecVecAny getComplexColumnLabels() const;
+ tVecVecAny getComplexColumnLabels() const { return m_aColumnLabels;}
#if OSL_DEBUG_LEVEL > 1
void traceData() const;
diff --git a/chart2/source/inc/MediaDescriptorHelper.hxx b/chart2/source/inc/MediaDescriptorHelper.hxx
index 6b056122bc46..dead054ca0a2 100644
--- a/chart2/source/inc/MediaDescriptorHelper.hxx
+++ b/chart2/source/inc/MediaDescriptorHelper.hxx
@@ -52,7 +52,7 @@ public:
::com::sun::star::beans::PropertyValue > & rMediaDescriptor );
::com::sun::star::uno::Sequence<
- ::com::sun::star::beans::PropertyValue > getReducedForModel();
+ ::com::sun::star::beans::PropertyValue > getReducedForModel() { return m_aModelProperties;}
public:
//all properties given in the constructor are stored in the following three sequences
diff --git a/chart2/source/inc/ObjectIdentifier.hxx b/chart2/source/inc/ObjectIdentifier.hxx
index d30a00df8a2b..937da78571df 100644
--- a/chart2/source/inc/ObjectIdentifier.hxx
+++ b/chart2/source/inc/ObjectIdentifier.hxx
@@ -265,8 +265,8 @@ public:
bool isValid() const;
bool isAutoGeneratedObject() const;
bool isAdditionalShape() const;
- OUString getObjectCID() const;
- ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > getAdditionalShape() const;
+ OUString getObjectCID() const { return m_aObjectCID;}
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > getAdditionalShape() const { return m_xAdditionalShape;}
::com::sun::star::uno::Any getAny() const;
private:
diff --git a/chart2/source/inc/ReferenceSizeProvider.hxx b/chart2/source/inc/ReferenceSizeProvider.hxx
index d1275c718a2f..9c15afd3ad69 100644
--- a/chart2/source/inc/ReferenceSizeProvider.hxx
+++ b/chart2/source/inc/ReferenceSizeProvider.hxx
@@ -51,7 +51,7 @@ public:
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartDocument > & xChartDoc );
- ::com::sun::star::awt::Size getPageSize() const;
+ ::com::sun::star::awt::Size getPageSize() const { return m_aPageSize;}
/** Retrieves the state auto-resize from all objects that support this
feature. If all objects return the same state, AUTO_RESIZE_YES or
diff --git a/chart2/source/inc/WrappedProperty.hxx b/chart2/source/inc/WrappedProperty.hxx
index 2baa2f2b9e22..d5f0bea15eef 100644
--- a/chart2/source/inc/WrappedProperty.hxx
+++ b/chart2/source/inc/WrappedProperty.hxx
@@ -37,7 +37,7 @@ public:
WrappedProperty( const OUString& rOuterName, const OUString& rInnerName );
virtual ~WrappedProperty();
- const OUString& getOuterName() const;
+ const OUString& getOuterName() const { return m_aOuterName;}
virtual OUString getInnerName() const;
virtual void setPropertyValue( const ::com::sun::star::uno::Any& rOuterValue, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xInnerPropertySet ) const