[Libreoffice-commits] core.git: cui/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Sep 22 15:53:01 UTC 2018
cui/source/tabpages/chardlg.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit f576512912599c527d4465e34df5844371c5b530
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Sep 21 13:04:51 2018 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Sep 22 17:52:40 2018 +0200
eState is not that of SID_ATTR_CHAR_WORDLINEMODE as it should be
Change-Id: Ibafbaf7c1f7ab0c4922eeaf9cf27b39d90af03bf
Reviewed-on: https://gerrit.libreoffice.org/60870
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index 84d0aa2b2006..8ca732247b6c 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -1810,6 +1810,8 @@ void SvxCharEffectsPage::Reset( const SfxItemSet* rSet )
// WordLineMode
nWhich = GetWhich( SID_ATTR_CHAR_WORDLINEMODE );
+ eState = rSet->GetItemState( nWhich );
+
switch ( eState )
{
case SfxItemState::UNKNOWN:
More information about the Libreoffice-commits
mailing list