diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2015-01-11 19:23:59 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2015-01-11 19:37:02 +1100 |
commit | 7ac95954df17090abdd2225428c771917f2b7188 (patch) | |
tree | aabd0bb02e1b2e107263f2ad1fc6984f5861817e /vcl | |
parent | 85819f2374d94b891ba6702ac9dfbdc3b6db9795 (diff) |
vcl: LayoutEngine::layout() to LayoutEngine::Layout()
Convention is that public functions used by other non-implementation classes
use uppercase function names.
Change-Id: I9a57b231b6a92dc8ac37dc417fdb8177a8c2fa11
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/generic/glyphs/gcach_layout.cxx | 6 | ||||
-rw-r--r-- | vcl/inc/generic/glyphcache.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/generic/glyphs/gcach_layout.cxx b/vcl/generic/glyphs/gcach_layout.cxx index abd04baf41cf..d47b3d2ceff1 100644 --- a/vcl/generic/glyphs/gcach_layout.cxx +++ b/vcl/generic/glyphs/gcach_layout.cxx @@ -50,7 +50,7 @@ void ServerFontLayout::DrawText( SalGraphics& rSalGraphics ) const bool ServerFontLayout::LayoutText( ImplLayoutArgs& rArgs ) { - return mrServerFont.GetLayoutEngine()->layout(*this, rArgs); + return mrServerFont.GetLayoutEngine()->Layout(*this, rArgs); } void ServerFontLayout::AdjustLayout( ImplLayoutArgs& rArgs ) @@ -316,7 +316,7 @@ public: HbLayoutEngine(ServerFont&); virtual ~HbLayoutEngine(); - virtual bool layout(ServerFontLayout&, ImplLayoutArgs&) SAL_OVERRIDE; + virtual bool Layout(ServerFontLayout&, ImplLayoutArgs&) SAL_OVERRIDE; }; HbLayoutEngine::HbLayoutEngine(ServerFont& rServerFont) @@ -351,7 +351,7 @@ struct HbScriptRun typedef std::vector<HbScriptRun> HbScriptRuns; -bool HbLayoutEngine::layout(ServerFontLayout& rLayout, ImplLayoutArgs& rArgs) +bool HbLayoutEngine::Layout(ServerFontLayout& rLayout, ImplLayoutArgs& rArgs) { ServerFont& rFont = rLayout.GetServerFont(); FT_Face aFtFace = rFont.GetFtFace(); diff --git a/vcl/inc/generic/glyphcache.hxx b/vcl/inc/generic/glyphcache.hxx index 6526cfbaf886..b45365a1d73e 100644 --- a/vcl/inc/generic/glyphcache.hxx +++ b/vcl/inc/generic/glyphcache.hxx @@ -316,7 +316,7 @@ class ServerFontLayoutEngine public: virtual ~ServerFontLayoutEngine() {} - virtual bool layout(ServerFontLayout&, ImplLayoutArgs&) = 0; + virtual bool Layout(ServerFontLayout&, ImplLayoutArgs&) = 0; }; class GlyphCachePeer |