diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-12 14:06:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-17 10:55:17 +0200 |
commit | 3e82897353e576dc6e3fbf55371fda5a0c3415df (patch) | |
tree | 71c2f03128885000efae1852dccb504f8355c79e /vcl/inc | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/canvasbitmap.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/generic/glyphcache.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/impfont.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/impgraph.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/vcl/inc/canvasbitmap.hxx b/vcl/inc/canvasbitmap.hxx index 07fa9973e58c..0f8531d52b7e 100644 --- a/vcl/inc/canvasbitmap.hxx +++ b/vcl/inc/canvasbitmap.hxx @@ -112,7 +112,7 @@ namespace unotools explicit VclCanvasBitmap( const BitmapEx& rBitmap ); /// Retrieve contained bitmap. Call me with locked Solar mutex! - BitmapEx getBitmapEx() const; + BitmapEx getBitmapEx() const { return m_aBmpEx;} }; } } diff --git a/vcl/inc/generic/glyphcache.hxx b/vcl/inc/generic/glyphcache.hxx index e718b044b5ac..d9347df0a15d 100644 --- a/vcl/inc/generic/glyphcache.hxx +++ b/vcl/inc/generic/glyphcache.hxx @@ -180,7 +180,7 @@ public: void FetchFontMetric( ImplFontMetricData&, long& rFactor ) const; const unsigned char* GetTable( const char* pName, sal_uLong* pLength ); - int GetEmUnits() const; + int GetEmUnits() const { return maFaceFT->units_per_EM;} const FT_Size_Metrics& GetMetricsFT() const { return maSizeFT->metrics; } const ImplFontCharMap* GetImplFontCharMap() const; bool GetFontCapabilities(vcl::FontCapabilities &) const; diff --git a/vcl/inc/impfont.hxx b/vcl/inc/impfont.hxx index 61c698daced0..d69e65b1f1b0 100644 --- a/vcl/inc/impfont.hxx +++ b/vcl/inc/impfont.hxx @@ -174,7 +174,7 @@ public: int CountCharsInRange( sal_uInt32 cMin, sal_uInt32 cMax ) const; int GetCharCount() const { return mnCharCount;} - sal_uInt32 GetFirstChar() const; + sal_uInt32 GetFirstChar() const { return mpRangeCodes[0];} sal_uInt32 GetLastChar() const; sal_uInt32 GetNextChar( sal_uInt32 ) const; diff --git a/vcl/inc/impgraph.hxx b/vcl/inc/impgraph.hxx index 1202dbcdece2..2242b44ea574 100644 --- a/vcl/inc/impgraph.hxx +++ b/vcl/inc/impgraph.hxx @@ -159,7 +159,7 @@ private: friend SvStream& ReadImpGraphic( SvStream& rIStm, ImpGraphic& rImpGraphic ); // SvgData support - const SvgDataPtr& getSvgData() const; + const SvgDataPtr& getSvgData() const { return maSvgData;} }; #endif // INCLUDED_VCL_INC_IMPGRAPH_HXX |