summaryrefslogtreecommitdiff
path: root/sw/qa/api
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-03 10:53:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-03 12:16:38 +0200
commit77e9216ca1073caa0dcec23ef89808cc7f80fc06 (patch)
tree71ea2c3841f1a1017123dec44552239d74fd7a4a /sw/qa/api
parent81903d443116c643a9ff92d92c092812abc7f57d (diff)
loplugin:unusedfields
and filter out the weld fields, since we're not touching them yet Change-Id: I3cc23c46d2650f13cb29c7d381687939d23e2882 Reviewed-on: https://gerrit.libreoffice.org/80104 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/qa/api')
-rw-r--r--sw/qa/api/SwXTextFrame.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/sw/qa/api/SwXTextFrame.cxx b/sw/qa/api/SwXTextFrame.cxx
index 4e29f31604a9..19fe73f808b7 100644
--- a/sw/qa/api/SwXTextFrame.cxx
+++ b/sw/qa/api/SwXTextFrame.cxx
@@ -43,8 +43,6 @@ class SwXTextFrame final : public test::BootstrapFixture,
{
uno::Reference<uno::XComponentContext> mxComponentContext;
uno::Reference<text::XTextDocument> mxTextDocument;
- uno::Reference<text::XTextRange> mxTextRange;
- uno::Reference<text::XTextContent> mxTextContent;
public:
virtual void setUp() override;
@@ -95,9 +93,6 @@ uno::Reference<uno::XInterface> SwXTextFrame::init()
CPPUNIT_ASSERT(xTextCursor.is());
xText->insertTextContent(xTextCursor, xTextFrame, false);
xTextCursor->gotoEnd(false);
- mxTextRange = uno::Reference<text::XTextRange>(xTextCursor, uno::UNO_QUERY_THROW);
- mxTextContent = uno::Reference<text::XTextContent>(
- xMSF->createInstance("com.sun.star.text.TextFrame"), uno::UNO_QUERY_THROW);
return xTextFrame;
}