summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-10-31 13:53:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-11-01 18:40:07 +0100
commit43464d9f31c4aaea07cc84c03d5ce67ce2cdc142 (patch)
tree1b8cab2ee2118932b9066104f48563cd08de8c0d /cui
parent883b50c06ea00a5437a757c1a4a49dc27a92e30a (diff)
new loplugin:fieldcanbelocal
Change-Id: I33fe8afcbba1d461bee98c92507c878e4e5d41d7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158756 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/inc/chardlg.hxx1
-rw-r--r--cui/source/tabpages/chardlg.cxx4
2 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/inc/chardlg.hxx b/cui/source/inc/chardlg.hxx
index b1fd167d6a72..6d6bf958c2e2 100644
--- a/cui/source/inc/chardlg.hxx
+++ b/cui/source/inc/chardlg.hxx
@@ -167,7 +167,6 @@ private:
bool m_bNewFontColor;
bool m_bEnableNoneFontColor;
Color m_aOrigFontColor;
- sal_uInt16 m_nHtmlMode;
weld::TriStateEnabled m_aOutlineState;
weld::TriStateEnabled m_aShadowState;
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index d8ea76e9a9d4..e851816c1787 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -1368,8 +1368,8 @@ void SvxCharEffectsPage::Initialize()
}
if (pHtmlModeItem)
{
- m_nHtmlMode = pHtmlModeItem->GetValue();
- if ( ( m_nHtmlMode & HTMLMODE_ON ) == HTMLMODE_ON )
+ sal_uInt16 nHtmlMode = pHtmlModeItem->GetValue();
+ if ( ( nHtmlMode & HTMLMODE_ON ) == HTMLMODE_ON )
{
//!!! hide some controls please
}