summaryrefslogtreecommitdiff
path: root/sw/qa/extras/rtfexport
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-06 11:08:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-06 15:34:50 +0200
commit23ebb037ef1b557113738e2fbdf1c0e9328371a9 (patch)
tree3f8fa5edf34cb005a73e775bc06dc61cd2f6b0f7 /sw/qa/extras/rtfexport
parent74a92e5e1168dcf497bfc94c25e51399ecd3cf4e (diff)
loplugin:unusedvariableplus in sw
Change-Id: I0ec780ebe3b347a19a5aa809fe05723a2906cb49 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91738 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/qa/extras/rtfexport')
-rw-r--r--sw/qa/extras/rtfexport/rtfexport2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/rtfexport/rtfexport2.cxx b/sw/qa/extras/rtfexport/rtfexport2.cxx
index 243bf2511585..932b0ae550b4 100644
--- a/sw/qa/extras/rtfexport/rtfexport2.cxx
+++ b/sw/qa/extras/rtfexport/rtfexport2.cxx
@@ -469,7 +469,7 @@ DECLARE_RTFEXPORT_TEST(testFdo76633, "fdo76633.rtf")
CPPUNIT_ASSERT(xShape->supportsService("com.sun.star.text.TextGraphicObject"));
try
{
- uno::Reference<drawing::XShape> xShape2 = getShape(2);
+ getShape(2);
CPPUNIT_FAIL("exception expected");
}
catch (lang::IndexOutOfBoundsException const&)