diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:27:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:27:41 +0200 |
commit | 34fb5d7e91a7cd4c986434e6d6a3a67f12c65f7a (patch) | |
tree | 0f421d58ba594af311b066434a3f5f0be0cb1f7d /include/vcl/ITiledRenderable.hxx | |
parent | 1cea5a80a71243e780bfc2cc161044449a87eda9 (diff) |
loplugin:casttovoid: vcl
Change-Id: Icdc9d009849f2a93f6e1dbba07b1042dbb1ff561
Diffstat (limited to 'include/vcl/ITiledRenderable.hxx')
-rw-r--r-- | include/vcl/ITiledRenderable.hxx | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/include/vcl/ITiledRenderable.hxx b/include/vcl/ITiledRenderable.hxx index 5c5d8339b8a1..1689eee3543d 100644 --- a/include/vcl/ITiledRenderable.hxx +++ b/include/vcl/ITiledRenderable.hxx @@ -51,10 +51,7 @@ public: * Set the document "part", i.e. slide for a slideshow, and * tab for a spreadsheet. */ - virtual void setPart( int nPart ) - { - (void) nPart; - } + virtual void setPart( int ) {} /** * Get the number of parts -- see setPart for further details. @@ -77,9 +74,8 @@ public: * Get the name of the currently displayed part, i.e. sheet in a spreadsheet * or slide in a presentation. */ - virtual OUString getPartName(int nPart) + virtual OUString getPartName(int) { - (void) nPart; return OUString(); } @@ -90,10 +86,7 @@ public: virtual OUString getPartHash(int nPart) = 0; /// @see lok::Document::setPartMode(). - virtual void setPartMode(int nPartMode) - { - (void) nPartMode; - } + virtual void setPartMode(int) {} /** * Setup various document properties that are needed for the document to @@ -155,9 +148,8 @@ public: * @param rRectangle - if not empty, then limit the output only to the area of this rectangle * @return a JSON describing position/content of rows/columns */ - virtual OUString getRowColumnHeaders(const tools::Rectangle& rRectangle) + virtual OUString getRowColumnHeaders(const tools::Rectangle& /*rRectangle*/) { - (void) rRectangle; return OUString(); } @@ -189,16 +181,11 @@ public: * @param nTileTwipWidth - tile width in twips * @param nTileTwipHeight - tile height in twips */ - virtual void setClientZoom(int nTilePixelWidth, - int nTilePixelHeight, - int nTileTwipWidth, - int nTileTwipHeight) - { - (void) nTilePixelWidth; - (void) nTilePixelHeight; - (void) nTileTwipWidth; - (void) nTileTwipHeight; - } + virtual void setClientZoom(int /*nTilePixelWidth*/, + int /*nTilePixelHeight*/, + int /*nTileTwipWidth*/, + int /*nTileTwipHeight*/) + {} /// @see lok::Document::setClientVisibleArea(). virtual void setClientVisibleArea(const tools::Rectangle& /*rRectangle*/) |