summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2017-03-31 11:48:28 +0200
committerOliver Specht <oliver.specht@cib.de>2017-03-31 12:50:02 +0000
commite3aa0e4c567afc734c45c715e44d9e3040cb9f29 (patch)
treed4015d75cd3fa50f4c44447b108b558dc5956c3d
parentdf30caea7979235b5d1a6a038133dbac2ef7ecac (diff)
tdf#101846: update spelling on URL changes
call setWrong if URL attributes are applied to force re-spelling Change-Id: I8a5fa20c45cdf1df33975c4d6bee5e2c0f3f272f Reviewed-on: https://gerrit.libreoffice.org/35962 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
-rw-r--r--sw/source/core/text/txtfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx
index 60bc86cf9293..7100e0dfcaa9 100644
--- a/sw/source/core/text/txtfrm.cxx
+++ b/sw/source/core/text/txtfrm.cxx
@@ -1029,7 +1029,7 @@ void SwTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew )
InvalidateRange_( SwCharRange( nPos, nLen) );
const sal_uInt16 nTmp = static_cast<const SwUpdateAttr*>(pNew)->getWhichAttr();
- if( ! nTmp || RES_TXTATR_CHARFMT == nTmp || RES_TXTATR_AUTOFMT == nTmp ||
+ if( ! nTmp || RES_TXTATR_CHARFMT == nTmp || RES_TXTATR_INETFMT == nTmp || RES_TXTATR_AUTOFMT == nTmp ||
RES_FMT_CHG == nTmp || RES_ATTRSET_CHG == nTmp )
{
lcl_SetWrong( *this, nPos, nPos + nLen, false );