diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-11 15:40:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-12 09:56:01 +0200 |
commit | 389da66dfc96d06c407bff156c4ea21e940c5e06 (patch) | |
tree | 2d1ebce6bdb2d952700ed5aaeb808289e9f72a7d /test/source/text | |
parent | a651dbcfca9e198b5c2561076961504586bc6bea (diff) |
remove unused uno::Reference vars
found by temporarily marking Reference as SAL_WARN_UNUSED.
Change-Id: I18809b62654467f890016adcc92576980ced393b
Reviewed-on: https://gerrit.libreoffice.org/37511
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'test/source/text')
-rw-r--r-- | test/source/text/xtextcontent.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/source/text/xtextcontent.cxx b/test/source/text/xtextcontent.cxx index 6f6b00ff87c1..528241a8dd8b 100644 --- a/test/source/text/xtextcontent.cxx +++ b/test/source/text/xtextcontent.cxx @@ -28,7 +28,6 @@ void XTextContent::testGetAnchor() void XTextContent::testAttach() { uno::Reference< text::XTextContent > xTextContent(init(), UNO_QUERY_THROW); - uno::Reference< text::XTextRange > xAnchor = xTextContent->getAnchor(); uno::Reference< text::XTextContent > xContent(getTextContent(), UNO_QUERY_THROW); uno::Reference< text::XTextRange > xRange(getTextRange(), UNO_QUERY_THROW); |