summaryrefslogtreecommitdiff
path: root/sw/source/ui/config
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-07-26 10:44:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-26 20:49:25 +0200
commitd14ab85a4446279e24aa6b6d5e8bfedb48ccdfe1 (patch)
tree2bc28dee84318d52b639b9d4dd14380e964d755e /sw/source/ui/config
parent21cb6039a3320682d0b1617facd86b092fcea10f (diff)
convert these into constants
Change-Id: Ie3e3b497cfeb8c9e9456fb86a04f409658116e1b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119513 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/config')
-rw-r--r--sw/source/ui/config/optcomp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/config/optcomp.cxx b/sw/source/ui/config/optcomp.cxx
index 8a57f054abca..bea377047ae9 100644
--- a/sw/source/ui/config/optcomp.cxx
+++ b/sw/source/ui/config/optcomp.cxx
@@ -219,8 +219,8 @@ void SwCompatibilityOptPage::InitControls( const SfxItemSet& rSet )
const OUString sEntryName = aEntry.getValue<OUString>( SvtCompatibilityEntry::Index::Name );
- const bool bIsUserEntry = ( sEntryName == SvtCompatibilityEntry::getUserEntryName() );
- const bool bIsDefaultEntry = ( sEntryName == SvtCompatibilityEntry::getDefaultEntryName() );
+ const bool bIsUserEntry = ( sEntryName == SvtCompatibilityEntry::USER_ENTRY_NAME );
+ const bool bIsDefaultEntry = ( sEntryName == SvtCompatibilityEntry::DEFAULT_ENTRY_NAME );
aEntry.setDefaultEntry( bIsDefaultEntry );