summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-20 15:59:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 12:16:17 +0200
commit9e61a951374a3f7705de67295e406e929c603a42 (patch)
tree1e7166ddbc847e796c41fb0c0527c5d74084a6b7 /sw
parent95c348afa8f4f17c058c449ded75025175af0e4a (diff)
loplugin:unusedfields in svtools
Change-Id: Ic8f67d40825d9843fd57535bd61bef51b470a8be Reviewed-on: https://gerrit.libreoffice.org/39016 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/html/swhtml.cxx4
-rw-r--r--sw/source/ui/frmdlg/column.cxx1
2 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index a431b466f9b3..dbb4f7c26775 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -916,7 +916,7 @@ void SwHTMLParser::DocumentDetected()
if( IsNewDoc() )
{
if( IsInHeader() )
- FinishHeader( true );
+ FinishHeader();
CallEndAction( true );
@@ -1991,7 +1991,7 @@ void SwHTMLParser::NextToken( HtmlTokenId nToken )
case HtmlTokenId::NOFRAMES_ON:
if( IsInHeader() )
- FinishHeader( true );
+ FinishHeader();
bInsertUnknown = m_bKeepUnknown;
break;
diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx
index 809165a1ff45..84431a85e5e6 100644
--- a/sw/source/ui/frmdlg/column.cxx
+++ b/sw/source/ui/frmdlg/column.cxx
@@ -494,7 +494,6 @@ SwColumnPage::SwColumnPage(vcl::Window *pParent, const SfxItemSet &rSet)
m_pLinePosDLB->SetSelectHdl(LINK(this, SwColumnPage, UpdateColMgrListBox));
// Separator line
- m_pLineTypeDLB->SetUnit( FUNIT_POINT );
m_pLineTypeDLB->SetSourceUnit( FUNIT_TWIP );
// Fill the line styles listbox