[Libreoffice-commits] core.git: canvas/workben
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Tue Nov 26 21:17:53 UTC 2019
canvas/workben/canvasdemo.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit c32dedb3a6b44c6f9e5badb656883792adbcb0a2
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Nov 26 19:40:37 2019 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Nov 26 22:16:32 2019 +0100
Remove unused DemoRenderer::maColorWhite
(found by upcoming loplugin:unusedmember)
Change-Id: I518c70d3f4011bd5f0f582ca239dc6f8e49d9656
Reviewed-on: https://gerrit.libreoffice.org/83813
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/canvas/workben/canvasdemo.cxx b/canvas/workben/canvasdemo.cxx
index 00acbe9a5d82..603ec295ba0d 100644
--- a/canvas/workben/canvasdemo.cxx
+++ b/canvas/workben/canvasdemo.cxx
@@ -82,7 +82,6 @@ class DemoRenderer
rendering::ViewState maViewState;
rendering::RenderState maRenderState;
uno::Sequence< double > maColorBlack;
- uno::Sequence< double > maColorWhite;
uno::Sequence< double > maColorRed;
uno::Reference< rendering::XCanvas > mxCanvas;
uno::Reference< rendering::XCanvasFont > mxDefaultFont;
@@ -96,7 +95,6 @@ class DemoRenderer
maViewState(),
maRenderState(),
maColorBlack( vcl::unotools::colorToStdColorSpaceSequence( COL_BLACK) ),
- maColorWhite( vcl::unotools::colorToStdColorSpaceSequence( COL_WHITE) ),
maColorRed( vcl::unotools::colorToStdColorSpaceSequence( COL_RED) ),
mxCanvas(xCanvas),
mxDefaultFont(),
More information about the Libreoffice-commits
mailing list