diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-04-12 23:05:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-04-13 07:48:07 +0200 |
commit | 396f3fd0ab1cdabf0b4800b5c45a418534f83e5c (patch) | |
tree | 1a87ae175c6dcbaaa221f2891571a764ff82b07c /vcl | |
parent | 8a4fdf8a18fac2829b5a95ce9e3f4323f5eec9b4 (diff) |
-Werror,-Wunused-variable
Unused ever since the two variables got introduced in
919a4ef592b6026a7533a93682f39118fef29ce8 "tdf#105461 PDF export of editeng fill
color: restrict to logic map modes" and fddd956c0cf3b2c22a152bbb30554def1336b466
"tdf#96892 vcl: add unit test for misplaced soft-hyphen ...", respectively.
(Found with an experimental Clang build supporting __attribute__((warn_unused))
on individual ctors rather than just whole class types, and the corresponding
css::uno::Reference ctor marked accordingly.)
Change-Id: I538a8cf410355ca4b5230f89947587b58d67e205
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150304
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qa/cppunit/pdfexport/pdfexport.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/pdfexport/pdfexport.cxx b/vcl/qa/cppunit/pdfexport/pdfexport.cxx index 65e1a06a4b99..a11e2a820506 100644 --- a/vcl/qa/cppunit/pdfexport/pdfexport.cxx +++ b/vcl/qa/cppunit/pdfexport/pdfexport.cxx @@ -212,7 +212,6 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest, testTdf107868) // Import the bugdoc and print to PDF. loadFromURL(u"tdf107868.odt"); - uno::Reference<frame::XStorable> xStorable(mxComponent, uno::UNO_QUERY); uno::Reference<view::XPrintable> xPrintable(mxComponent, uno::UNO_QUERY); CPPUNIT_ASSERT(xPrintable.is()); uno::Sequence<beans::PropertyValue> aOptions(comphelper::InitPropertySequence( @@ -452,7 +451,6 @@ CPPUNIT_TEST_FIXTURE(PdfExportTest, testSofthyphenPos) // Import the bugdoc and print to PDF. loadFromURL(u"softhyphen_pdf.odt"); - uno::Reference<frame::XStorable> xStorable(mxComponent, uno::UNO_QUERY); uno::Reference<view::XPrintable> xPrintable(mxComponent, uno::UNO_QUERY); CPPUNIT_ASSERT(xPrintable.is()); uno::Sequence<beans::PropertyValue> aOptions(comphelper::InitPropertySequence( |