summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-03 10:41:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-04 10:34:59 +0200
commitf4bcba6074f394cc0ce3b660308b3ee8e4714978 (patch)
tree621480dd699d02c89bbbc7207659938fa81cd6d6 /writerfilter
parent2fc4af37bf321619cb6bd67cd051856301c7e074 (diff)
loplugin:unusedenumconstants
Change-Id: I6069ca8874329e7f15903aa8ef51000c9c280d47 Reviewed-on: https://gerrit.libreoffice.org/52200 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/PropertyMap.cxx2
-rw-r--r--writerfilter/source/dmapper/PropertyMap.hxx3
2 files changed, 1 insertions, 4 deletions
diff --git a/writerfilter/source/dmapper/PropertyMap.cxx b/writerfilter/source/dmapper/PropertyMap.cxx
index bf3522008f63..c1d16437cfa3 100644
--- a/writerfilter/source/dmapper/PropertyMap.cxx
+++ b/writerfilter/source/dmapper/PropertyMap.cxx
@@ -563,8 +563,6 @@ void SectionPropertyMap::ApplyBorderToPageStyles( const uno::Reference< containe
if ( !m_sFollowPageStyleName.isEmpty() )
xFirst = GetPageStyle( xPageStyles, xTextFactory, false );
break;
- case BorderApply::ToWholeDocument: // whole document?
- // todo: how to apply a border to the whole document - find all sections or access all page styles?
default:
return;
}
diff --git a/writerfilter/source/dmapper/PropertyMap.hxx b/writerfilter/source/dmapper/PropertyMap.hxx
index 07e1707a8a5a..91962a7b0adb 100644
--- a/writerfilter/source/dmapper/PropertyMap.hxx
+++ b/writerfilter/source/dmapper/PropertyMap.hxx
@@ -186,8 +186,7 @@ public:
{
ToAllInSection = 0,
ToFirstPageInSection = 1,
- ToAllButFirstInSection = 2,
- ToWholeDocument = 3,
+ ToAllButFirstInSection = 2
};
enum class BorderOffsetFrom
{