include/vcl/graph.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b195b98587c61fb8a3b9f12f24a8430e3455ce38 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Fri Mar 13 11:33:02 2020 +0100 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Fri Mar 13 14:38:02 2020 +0100 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 <vmik...@collabora.com> 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits