Kaydet (Commit) 86b99ab4 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Clang WaE: -Woverloaded-virtual weirdness, this seems to help

üst 558d34fe
......@@ -60,6 +60,8 @@ namespace cppcanvas
class BitmapAction : public CachedPrimitiveBase
{
public:
using CachedPrimitiveBase::render;
BitmapAction( const ::BitmapEx&,
const ::basegfx::B2DPoint& rDstPoint,
const CanvasSharedPtr&,
......
......@@ -79,11 +79,11 @@ namespace cppcanvas
protected:
using Action::render;
private:
virtual bool render( ::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;
......
......@@ -61,6 +61,8 @@ namespace cppcanvas
class PolyPolyAction : public CachedPrimitiveBase
{
public:
using CachedPrimitiveBase::render;
PolyPolyAction( const ::basegfx::B2DPolyPolygon&,
const CanvasSharedPtr&,
const OutDevState&,
......@@ -245,6 +247,8 @@ namespace cppcanvas
class TexturedPolyPolyAction : public CachedPrimitiveBase
{
public:
using CachedPrimitiveBase::render;
TexturedPolyPolyAction( const ::basegfx::B2DPolyPolygon& rPoly,
const CanvasSharedPtr& rCanvas,
const OutDevState& rState,
......@@ -359,6 +363,8 @@ namespace cppcanvas
class StrokedPolyPolyAction : public CachedPrimitiveBase
{
public:
using CachedPrimitiveBase::render;
StrokedPolyPolyAction( const ::basegfx::B2DPolyPolygon& rPoly,
const CanvasSharedPtr& rCanvas,
const OutDevState& rState,
......
......@@ -60,6 +60,8 @@ namespace cppcanvas
class RenderGraphicAction : public CachedPrimitiveBase
{
public:
using CachedPrimitiveBase::render;
RenderGraphicAction( const ::vcl::RenderGraphic& rRenderGraphic,
const ::basegfx::B2DPoint& rDstPoint,
const ::basegfx::B2DVector& rDstSize,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment