diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-11-14 14:20:52 +0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-11-23 09:45:38 +0100 |
commit | fec1501374860983d837d482cd175d80f4635b6f (patch) | |
tree | 3a5d4650212d290cab358674591970403b422e35 /include | |
parent | e777bda2398e2507bca7e13582f23cad0d2d8689 (diff) |
Use specific SvtModuleOptions::Is*Installed for clarity
Change-Id: Ibe64b9fcccf33471d96bb0fb1aa896cb456657f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177069
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/unotools/moduleoptions.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/unotools/moduleoptions.hxx b/include/unotools/moduleoptions.hxx index 8aa9860ceb1a..1599473faa02 100644 --- a/include/unotools/moduleoptions.hxx +++ b/include/unotools/moduleoptions.hxx @@ -155,14 +155,14 @@ class SAL_WARN_UNUSED UNOTOOLS_DLLPUBLIC SvtModuleOptions final : public utl::de OUString GetDefaultModuleName() const; - bool IsMath () const; - bool IsChart () const; - bool IsCalc () const; - bool IsDraw () const; - bool IsWriter () const; - bool IsImpress () const; - static bool IsBasicIDE () { return true; } - bool IsDataBase () const; + bool IsMathInstalled() const { return IsModuleInstalled(EModule::MATH); } + bool IsChartInstalled() const { return IsModuleInstalled(EModule::CHART); } + bool IsCalcInstalled() const { return IsModuleInstalled(EModule::CALC); } + bool IsDrawInstalled() const { return IsModuleInstalled(EModule::DRAW); } + bool IsWriterInstalled() const { return IsModuleInstalled(EModule::WRITER); } + bool IsImpressInstalled() const { return IsModuleInstalled(EModule::IMPRESS); } + static bool IsBasicIDEInstalled() { return true; } + bool IsDataBaseInstalled() const { return IsModuleInstalled(EModule::DATABASE); } css::uno::Sequence < OUString > GetAllServiceNames(); |