summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlatr.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-28 11:47:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-28 11:47:44 +0200
commit810437129ac5d114d28692446243670e1e3efa2e (patch)
tree7273b14b3bdf9fd6acb801a4e7c6350d39bb127e /sw/source/filter/html/htmlatr.cxx
parent4aabef0212d3651cfba81c6e66e957c2edcd3da9 (diff)
-Werror=ignored-qualifiers (GCC 8)
Change-Id: Icc576de378c27764aa50457f8d548564eb4a3aec
Diffstat (limited to 'sw/source/filter/html/htmlatr.cxx')
-rw-r--r--sw/source/filter/html/htmlatr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx
index 0a61af5dbc77..b576b62dcd6e 100644
--- a/sw/source/filter/html/htmlatr.cxx
+++ b/sw/source/filter/html/htmlatr.cxx
@@ -1205,7 +1205,7 @@ HTMLOnOffState HTMLEndPosLst::GetHTMLItemState( const SfxPoolItem& rItem )
break;
case RES_CHRATR_ESCAPEMENT:
- switch( (const SvxEscapement)
+ switch( (SvxEscapement)
static_cast<const SvxEscapementItem&>(rItem).GetEnumValue() )
{
case SvxEscapement::Superscript:
@@ -2784,7 +2784,7 @@ static Writer& OutHTML_SvxEscapement( Writer& rWrt, const SfxPoolItem& rHt )
return rWrt;
const SvxEscapement eEscape =
- (const SvxEscapement)static_cast<const SvxEscapementItem&>(rHt).GetEnumValue();
+ (SvxEscapement)static_cast<const SvxEscapementItem&>(rHt).GetEnumValue();
const sal_Char *pStr = nullptr;
switch( eEscape )
{