summaryrefslogtreecommitdiff
path: root/include/vcl/graph.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-03-13 11:33:02 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-03-13 14:38:02 +0100
commitb195b98587c61fb8a3b9f12f24a8430e3455ce38 (patch)
treee13e5a115468261b6c4c6b7980990029ac519188 /include/vcl/graph.hxx
parent0436896da915ad2834ba39cb648bdfeb2495fb21 (diff)
vcl: warn about unused GraphicConversionParameters instances
I just made the mistake of creating one but then forgetting to use it, warn about that. Change-Id: Ie7e6e34eb234468d4a255e438b9551c81a9d2fe2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90459 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/vcl/graph.hxx')
-rw-r--r--include/vcl/graph.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx
index 6986f5f9b0b1..6030f3058a76 100644
--- a/include/vcl/graph.hxx
+++ b/include/vcl/graph.hxx
@@ -50,7 +50,7 @@ class ImpGraphic;
class OutputDevice;
class GraphicReader;
-class VCL_DLLPUBLIC GraphicConversionParameters
+class SAL_WARN_UNUSED VCL_DLLPUBLIC GraphicConversionParameters
{
private:
Size const maSizePixel; // default is (0,0)