From c040ca84e5f6b888f36f4041cdb2bd173d45c716 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 23 Mar 2015 13:57:44 +0100 Subject: vcl::ITiledRenderable: can mark these methods as pure virtual Change-Id: Ic6b594ee3ed668f5038a1f998ec9e514ecb75169 --- include/vcl/ITiledRenderable.hxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/vcl/ITiledRenderable.hxx b/include/vcl/ITiledRenderable.hxx index 5340f06d7ec0..76a18f00d838 100644 --- a/include/vcl/ITiledRenderable.hxx +++ b/include/vcl/ITiledRenderable.hxx @@ -89,9 +89,7 @@ public: * Setup various document properties that are needed for the document to * be renderable via tiled rendering. */ - virtual void initializeForTiledRendering() - { - } + virtual void initializeForTiledRendering() = 0; /** * Registers a callback that will be invoked whenever the tiled renderer @@ -100,14 +98,14 @@ public: * @param pCallBack is the callback function * @param pData is private data of the client that will be sent back when the callback is invoked */ - virtual void registerCallback(LibreOfficeKitCallback /*pCallback*/, void* /*pData*/) { } + virtual void registerCallback(LibreOfficeKitCallback pCallback, void* pData) = 0; /** * Posts a mouse event on the document. * * @see lok::Document::postMouseEvent(). */ - virtual void postMouseEvent(int /*nType*/, int /*nX*/, int /*nY*/, int /*nCount*/) { } + virtual void postMouseEvent(int nType, int nX, int nY, int nCount) = 0; /** * Sets the start or end of a text selection. -- cgit