diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-09 10:09:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-09 10:10:13 +0200 |
commit | 184a00b96235f6432294ded63ce4a4a318effdb5 (patch) | |
tree | e4ae0e00cb168fa43d280cfb51a50515258b5320 /vcl/inc | |
parent | 534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff) |
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/generic/glyphcache.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/generic/printergfx.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/impfont.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/impgraph.hxx | 8 |
4 files changed, 7 insertions, 7 deletions
diff --git a/vcl/inc/generic/glyphcache.hxx b/vcl/inc/generic/glyphcache.hxx index c0eb98d387c4..e718b044b5ac 100644 --- a/vcl/inc/generic/glyphcache.hxx +++ b/vcl/inc/generic/glyphcache.hxx @@ -168,7 +168,7 @@ public: virtual ~ServerFont(); const OString* GetFontFileName() const; - bool TestFont() const; + bool TestFont() const { return mbFaceOk;} FT_Face GetFtFace() const; int GetLoadFlags() const { return (mnLoadFlags & ~FT_LOAD_IGNORE_TRANSFORM); } void SetFontOptions( boost::shared_ptr<ImplFontOptions> ); diff --git a/vcl/inc/generic/printergfx.hxx b/vcl/inc/generic/printergfx.hxx index 1fb877740bd6..c797ea4a5812 100644 --- a/vcl/inc/generic/printergfx.hxx +++ b/vcl/inc/generic/printergfx.hxx @@ -325,7 +325,7 @@ public: void Clear(); // query depth - sal_uInt16 GetBitCount (); + sal_uInt16 GetBitCount () { return mnDepth;} // clip region void ResetClipRegion (); diff --git a/vcl/inc/impfont.hxx b/vcl/inc/impfont.hxx index df6ea1b0c03d..61c698daced0 100644 --- a/vcl/inc/impfont.hxx +++ b/vcl/inc/impfont.hxx @@ -172,7 +172,7 @@ public: bool IsDefaultMap() const; bool HasChar( sal_uInt32 ) const; int CountCharsInRange( sal_uInt32 cMin, sal_uInt32 cMax ) const; - int GetCharCount() const; + int GetCharCount() const { return mnCharCount;} sal_uInt32 GetFirstChar() const; sal_uInt32 GetLastChar() const; diff --git a/vcl/inc/impgraph.hxx b/vcl/inc/impgraph.hxx index 20e305dc5690..1202dbcdece2 100644 --- a/vcl/inc/impgraph.hxx +++ b/vcl/inc/impgraph.hxx @@ -84,7 +84,7 @@ private: void ImplClearGraphics( bool bCreateSwapInfo ); void ImplClear(); - GraphicType ImplGetType() const; + GraphicType ImplGetType() const { return meType;} void ImplSetDefaultType(); bool ImplIsSupportedGraphic() const; @@ -127,14 +127,14 @@ private: private: - GraphicReader* ImplGetContext(); + GraphicReader* ImplGetContext() { return mpContext;} void ImplSetContext( GraphicReader* pReader ); private: void ImplSetDocFileName( const OUString& rName, sal_uLong nFilePos ); const OUString& ImplGetDocFileName() const; - sal_uLong ImplGetDocFilePos() const; + sal_uLong ImplGetDocFilePos() const { return mnDocFilePos;} bool ImplReadEmbedded( SvStream& rIStream, bool bSwap = false ); bool ImplWriteEmbedded( SvStream& rOStream ); @@ -145,7 +145,7 @@ private: bool ImplSwapOut(); bool ImplSwapOut( SvStream* pOStm ); - bool ImplIsSwapOut() const; + bool ImplIsSwapOut() const { return mbSwapOut;} void ImplSetLink( const GfxLink& ); GfxLink ImplGetLink(); |