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 ...@@ -60,6 +60,8 @@ namespace cppcanvas
class BitmapAction : public CachedPrimitiveBase class BitmapAction : public CachedPrimitiveBase
{ {
public: public:
using CachedPrimitiveBase::render;
BitmapAction( const ::BitmapEx&, BitmapAction( const ::BitmapEx&,
const ::basegfx::B2DPoint& rDstPoint, const ::basegfx::B2DPoint& rDstPoint,
const CanvasSharedPtr&, const CanvasSharedPtr&,
......
...@@ -79,11 +79,11 @@ namespace cppcanvas ...@@ -79,11 +79,11 @@ namespace cppcanvas
protected: protected:
using Action::render; using Action::render;
private:
virtual bool render( ::com::sun::star::uno::Reference< virtual bool render( ::com::sun::star::uno::Reference<
::com::sun::star::rendering::XCachedPrimitive >& rCachedPrimitive, ::com::sun::star::rendering::XCachedPrimitive >& rCachedPrimitive,
const ::basegfx::B2DHomMatrix& rTransformation ) const = 0; const ::basegfx::B2DHomMatrix& rTransformation ) const = 0;
private:
CanvasSharedPtr mpCanvas; CanvasSharedPtr mpCanvas;
mutable ::com::sun::star::uno::Reference< mutable ::com::sun::star::uno::Reference<
::com::sun::star::rendering::XCachedPrimitive > mxCachedPrimitive; ::com::sun::star::rendering::XCachedPrimitive > mxCachedPrimitive;
......
...@@ -61,6 +61,8 @@ namespace cppcanvas ...@@ -61,6 +61,8 @@ namespace cppcanvas
class PolyPolyAction : public CachedPrimitiveBase class PolyPolyAction : public CachedPrimitiveBase
{ {
public: public:
using CachedPrimitiveBase::render;
PolyPolyAction( const ::basegfx::B2DPolyPolygon&, PolyPolyAction( const ::basegfx::B2DPolyPolygon&,
const CanvasSharedPtr&, const CanvasSharedPtr&,
const OutDevState&, const OutDevState&,
...@@ -245,6 +247,8 @@ namespace cppcanvas ...@@ -245,6 +247,8 @@ namespace cppcanvas
class TexturedPolyPolyAction : public CachedPrimitiveBase class TexturedPolyPolyAction : public CachedPrimitiveBase
{ {
public: public:
using CachedPrimitiveBase::render;
TexturedPolyPolyAction( const ::basegfx::B2DPolyPolygon& rPoly, TexturedPolyPolyAction( const ::basegfx::B2DPolyPolygon& rPoly,
const CanvasSharedPtr& rCanvas, const CanvasSharedPtr& rCanvas,
const OutDevState& rState, const OutDevState& rState,
...@@ -359,6 +363,8 @@ namespace cppcanvas ...@@ -359,6 +363,8 @@ namespace cppcanvas
class StrokedPolyPolyAction : public CachedPrimitiveBase class StrokedPolyPolyAction : public CachedPrimitiveBase
{ {
public: public:
using CachedPrimitiveBase::render;
StrokedPolyPolyAction( const ::basegfx::B2DPolyPolygon& rPoly, StrokedPolyPolyAction( const ::basegfx::B2DPolyPolygon& rPoly,
const CanvasSharedPtr& rCanvas, const CanvasSharedPtr& rCanvas,
const OutDevState& rState, const OutDevState& rState,
......
...@@ -60,6 +60,8 @@ namespace cppcanvas ...@@ -60,6 +60,8 @@ namespace cppcanvas
class RenderGraphicAction : public CachedPrimitiveBase class RenderGraphicAction : public CachedPrimitiveBase
{ {
public: public:
using CachedPrimitiveBase::render;
RenderGraphicAction( const ::vcl::RenderGraphic& rRenderGraphic, RenderGraphicAction( const ::vcl::RenderGraphic& rRenderGraphic,
const ::basegfx::B2DPoint& rDstPoint, const ::basegfx::B2DPoint& rDstPoint,
const ::basegfx::B2DVector& rDstSize, 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