diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-31 13:28:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-31 20:21:42 +0200 |
commit | d9e6d51c7a49d612fbc0b5a44d1c2b85e1aac899 (patch) | |
tree | 9a6789a1af344bc081659762660b11ceaf00d3c9 /sw/source | |
parent | 5c7ba324eb1b66b367c3f00164044a80778b8871 (diff) |
loplugin:unusedfields
Change-Id: Id2dea1d3a56d5d3be03c5a2a4f2ef530a05f9b19
Reviewed-on: https://gerrit.libreoffice.org/52185
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/fields/ddefld.cxx | 1 | ||||
-rw-r--r-- | sw/source/filter/xml/swxml.cxx | 3 | ||||
-rw-r--r-- | sw/source/filter/xml/wrtxml.cxx | 3 | ||||
-rw-r--r-- | sw/source/ui/misc/srtdlg.cxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/inc/srtdlg.hxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/inc/tautofmt.hxx | 1 |
6 files changed, 2 insertions, 8 deletions
diff --git a/sw/source/core/fields/ddefld.cxx b/sw/source/core/fields/ddefld.cxx index f25b012953d5..0c2bfbbb342c 100644 --- a/sw/source/core/fields/ddefld.cxx +++ b/sw/source/core/fields/ddefld.cxx @@ -183,7 +183,6 @@ bool SwIntrnlRefLink::IsInRange( sal_uLong nSttNd, sal_uLong nEndNd, { bool bInRange = false; rFieldType.CallSwClientNotify(sw::InRangeSearchHint( - rFieldType.GetDoc()->GetNodes(), nSttNd, nEndNd, nStt, nEnd, bInRange)); return bInRange; diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx index cb5b122f5373..d64f3c2ccd18 100644 --- a/sw/source/filter/xml/swxml.cxx +++ b/sw/source/filter/xml/swxml.cxx @@ -496,8 +496,7 @@ ErrCode XMLReader::Read( SwDoc &rDoc, const OUString& rBaseURL, SwPaM &rPaM, con return ERR_SWG_READ_ERROR; xGraphicHelper = SvXMLGraphicHelper::Create( xStorage, - SvXMLGraphicHelperMode::Read, - false ); + SvXMLGraphicHelperMode::Read ); xGraphicResolver = xGraphicHelper.get(); SfxObjectShell *pPersist = rDoc.GetPersist(); if( pPersist ) diff --git a/sw/source/filter/xml/wrtxml.cxx b/sw/source/filter/xml/wrtxml.cxx index 269b2cc22e6f..436e5392d81d 100644 --- a/sw/source/filter/xml/wrtxml.cxx +++ b/sw/source/filter/xml/wrtxml.cxx @@ -88,8 +88,7 @@ ErrCode SwXMLWriter::Write_( const uno::Reference < task::XStatusIndicator >& xS OSL_ENSURE( xStg.is(), "Where is my storage?" ); xGraphicHelper = SvXMLGraphicHelper::Create( xStg, - SvXMLGraphicHelperMode::Write, - false ); + SvXMLGraphicHelperMode::Write ); xGraphicResolver = xGraphicHelper.get(); SfxObjectShell *pPersist = pDoc->GetPersist(); diff --git a/sw/source/ui/misc/srtdlg.cxx b/sw/source/ui/misc/srtdlg.cxx index cfade1d4a9a2..8424d9310dc1 100644 --- a/sw/source/ui/misc/srtdlg.cxx +++ b/sw/source/ui/misc/srtdlg.cxx @@ -101,7 +101,6 @@ SwSortDlg::SwSortDlg(weld::Window* pParent, SwWrtShell &rShell) : weld::GenericDialogController(pParent, "modules/swriter/ui/sortdialog.ui", "SortDialog") , m_pParent(pParent) , m_xColLbl(m_xBuilder->weld_label("column")) - , m_xTypLbl(m_xBuilder->weld_label("keytype")) , m_xKeyCB1(m_xBuilder->weld_check_button("key1")) , m_xColEdt1(m_xBuilder->weld_spin_button("colsb1")) , m_xTypDLB1(m_xBuilder->weld_combo_box_text("typelb1")) diff --git a/sw/source/uibase/inc/srtdlg.hxx b/sw/source/uibase/inc/srtdlg.hxx index 6fd8932da096..ed7b877ee226 100644 --- a/sw/source/uibase/inc/srtdlg.hxx +++ b/sw/source/uibase/inc/srtdlg.hxx @@ -29,7 +29,6 @@ class SwSortDlg : public weld::GenericDialogController { weld::Window* m_pParent; std::unique_ptr<weld::Label> m_xColLbl; - std::unique_ptr<weld::Label> m_xTypLbl; std::unique_ptr<weld::CheckButton> m_xKeyCB1; std::unique_ptr<weld::SpinButton> m_xColEdt1; diff --git a/sw/source/uibase/inc/tautofmt.hxx b/sw/source/uibase/inc/tautofmt.hxx index b403565236b0..137d08d0c1dc 100644 --- a/sw/source/uibase/inc/tautofmt.hxx +++ b/sw/source/uibase/inc/tautofmt.hxx @@ -38,7 +38,6 @@ enum AutoFormatLine { TOP_LINE, BOTTOM_LINE, LEFT_LINE, RIGHT_LINE }; class SwAutoFormatDlg : public weld::GenericDialogController { std::unique_ptr<weld::TreeView> m_xLbFormat; - std::unique_ptr<weld::Container> m_xFormatting; std::unique_ptr<weld::CheckButton> m_xBtnNumFormat; std::unique_ptr<weld::CheckButton> m_xBtnBorder; std::unique_ptr<weld::CheckButton> m_xBtnFont; |