summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-05-09 13:00:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-05-09 14:31:12 +0200
commit7f6d5dfb2244468e2faa7be05d4258692c6e84dc (patch)
tree8c03b0980c003a66f2a2683920c1557a3ada6e8e /svl
parentb4009daccd11e416865efd5fd3c205c46691bb12 (diff)
loplugin:unusedmethods
Change-Id: I7b4d2e5e611935284e2902b0089950768dfb7717 Reviewed-on: https://gerrit.libreoffice.org/72036 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/cenumitm.cxx8
-rw-r--r--svl/source/items/macitem.cxx2
2 files changed, 1 insertions, 9 deletions
diff --git a/svl/source/items/cenumitm.cxx b/svl/source/items/cenumitm.cxx
index 3889d72a924c..6646647d763e 100644
--- a/svl/source/items/cenumitm.cxx
+++ b/svl/source/items/cenumitm.cxx
@@ -89,14 +89,6 @@ SfxPoolItem* SfxBoolItem::CreateDefault()
return new SfxBoolItem();
}
-SfxBoolItem::SfxBoolItem(sal_uInt16 const nWhich, SvStream & rStream)
- : SfxPoolItem(nWhich)
-{
- bool tmp = false;
- rStream.ReadCharAsBool( tmp );
- m_bValue = tmp;
-}
-
// virtual
bool SfxBoolItem::operator ==(const SfxPoolItem & rItem) const
{
diff --git a/svl/source/items/macitem.cxx b/svl/source/items/macitem.cxx
index 3c7fac91143a..4eeaa823e2a3 100644
--- a/svl/source/items/macitem.cxx
+++ b/svl/source/items/macitem.cxx
@@ -138,7 +138,7 @@ SvStream& SvxMacroTableDtor::Write( SvStream& rStream ) const
{
sal_uInt16 nVersion = SOFFICE_FILEFORMAT_31 == rStream.GetVersion()
? SVX_MACROTBL_VERSION31
- : SVX_MACROTBL_AKTVERSION;
+ : SVX_MACROTBL_VERSION40;
if( SVX_MACROTBL_VERSION40 <= nVersion )
rStream.WriteUInt16( nVersion );