summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlexp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 12:47:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 17:55:36 +0000
commitaba0f624c8d4770b8a84a46add07c71656e96318 (patch)
treed385702d539150e3aa8ed7d52b3a3537b8abe48e /sw/source/filter/xml/xmlexp.cxx
parente8260df1d67baf807771cd5c740164a227856515 (diff)
loplugin:expandablemethodds in sw(part3)
Change-Id: I7db01985a35407e4169709ede5324656c6629047 Reviewed-on: https://gerrit.libreoffice.org/30095 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/xml/xmlexp.cxx')
-rw-r--r--sw/source/filter/xml/xmlexp.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx
index abbb8f5bc6c5..50c002e8f179 100644
--- a/sw/source/filter/xml/xmlexp.cxx
+++ b/sw/source/filter/xml/xmlexp.cxx
@@ -98,12 +98,6 @@ SwXMLExport::SwXMLExport(
InitItemExport();
}
-void SwXMLExport::setBlockMode()
-{
- m_bBlock = true;
-
-}
-
sal_uInt32 SwXMLExport::exportDoc( enum XMLTokenEnum eClass )
{
if( !GetModel().is() )
@@ -126,7 +120,7 @@ sal_uInt32 SwXMLExport::exportDoc( enum XMLTokenEnum eClass )
if( auto b = o3tl::tryAccess<bool>(aAny) )
{
if( *b )
- setBlockMode();
+ m_bBlock = true;
}
}
}