summaryrefslogtreecommitdiff
path: root/test/source/text/xtextcontent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/text/xtextcontent.cxx')
-rw-r--r--test/source/text/xtextcontent.cxx1
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);