summaryrefslogtreecommitdiff
path: root/sw/source/filter/docx/swdocxreader.cxx
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/source/filter/docx/swdocxreader.cxx
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/source/filter/docx/swdocxreader.cxx')
-rw-r--r--sw/source/filter/docx/swdocxreader.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/filter/docx/swdocxreader.cxx b/sw/source/filter/docx/swdocxreader.cxx
index 09dea9ba57be..84c0f18f7c0c 100644
--- a/sw/source/filter/docx/swdocxreader.cxx
+++ b/sw/source/filter/docx/swdocxreader.cxx
@@ -50,7 +50,6 @@ ErrCode SwDOCXReader::Read(SwDoc& rDoc, const OUString& /* rBaseURL */, SwPaM& r
return ERR_SWG_READ_ERROR;
// We want to work in an empty paragraph.
- auto pSttNdIdx = std::make_shared<SwNodeIndex>(rDoc.GetNodes());
const SwPosition* pPos = rPam.GetPoint();
rDoc.getIDocumentContentOperations().SplitNode(*pPos, false);
rDoc.SetTextFormatColl(rPam, rDoc.getIDocumentStylePoolAccess().GetTextCollFromPool(RES_POOLCOLL_STANDARD, false));