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 86b99ab408
.
This commit is contained in:
@@ -79,11 +79,11 @@ namespace cppcanvas
|
||||
protected:
|
||||
using Action::render;
|
||||
|
||||
virtual bool render( ::com::sun::star::uno::Reference<
|
||||
private:
|
||||
virtual bool renderPrimitive( ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::rendering::XCachedPrimitive >& rCachedPrimitive,
|
||||
const ::basegfx::B2DHomMatrix& rTransformation ) const = 0;
|
||||
|
||||
private:
|
||||
CanvasSharedPtr mpCanvas;
|
||||
mutable ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::rendering::XCachedPrimitive > mxCachedPrimitive;
|
||||
|
Reference in New Issue
Block a user