diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-04-04 06:55:01 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-04-04 08:27:23 +0300 |
commit | 66aed6f470c795f172fa85b89ae9d25c76eb38bd (patch) | |
tree | 533a5f471583737dc068e365d57cec7c5a5e33ab /cppcanvas/source/mtfrenderer/lineaction.cxx | |
parent | 2c91cb08d65cd35fa8ef6eaca3677aa82fb58cbe (diff) |
New try to sort out the overloaded virtual method weirdness
Revert "Clang WaE: -Woverloaded-virtual weirdness, this seems to help"
as that broke tinderboxes. Try another way instead, renaming two
versions of the overloaded render() method, so that there is no longer
any overloading.
Compiles -Werror-clean with Clang, hopefully no problem with other
compilers either.
This reverts commit 86b99ab408c7235604a1a02d7bc531fe5d5f97f6.
Diffstat (limited to 'cppcanvas/source/mtfrenderer/lineaction.cxx')
-rw-r--r-- | cppcanvas/source/mtfrenderer/lineaction.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cppcanvas/source/mtfrenderer/lineaction.cxx b/cppcanvas/source/mtfrenderer/lineaction.cxx index 47032d060a5f..f27eab0706b2 100644 --- a/cppcanvas/source/mtfrenderer/lineaction.cxx +++ b/cppcanvas/source/mtfrenderer/lineaction.cxx @@ -65,8 +65,8 @@ namespace cppcanvas const OutDevState& ); virtual bool render( const ::basegfx::B2DHomMatrix& rTransformation ) const; - virtual bool render( const ::basegfx::B2DHomMatrix& rTransformation, - const Subset& rSubset ) const; + virtual bool renderSubset( const ::basegfx::B2DHomMatrix& rTransformation, + const Subset& rSubset ) const; virtual ::basegfx::B2DRange getBounds( const ::basegfx::B2DHomMatrix& rTransformation ) const; virtual ::basegfx::B2DRange getBounds( const ::basegfx::B2DHomMatrix& rTransformation, @@ -110,8 +110,8 @@ namespace cppcanvas return true; } - bool LineAction::render( const ::basegfx::B2DHomMatrix& rTransformation, - const Subset& rSubset ) const + bool LineAction::renderSubset( const ::basegfx::B2DHomMatrix& rTransformation, + const Subset& rSubset ) const { // line only contains a single action, fail if subset // requests different range |