diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-18 07:37:17 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-18 11:26:44 +0200 |
commit | b946842a744c2b869e5c01adf90335edf07f09ad (patch) | |
tree | 8a6b21fb1040a0e825856e06f20bd1250fbeaf27 /starmath | |
parent | 35ea75e9c2be75a70298a3f4e7d703c1d0f9497e (diff) |
Clean up the remaining uses of OUStringConstExpr, and drop it
Change-Id: I30b2ac77b58e2ae1d1e997a0c830c513542b973d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158101
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/dialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index bacc84fcba87..cea78036d59a 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -734,7 +734,7 @@ void SmDistanceDialog::SetCategory(sal_uInt16 nCategory) // 0 is used in case of unused combinations. assert(NOCATEGORIES == 10 && "Sm : array doesn't fit into the number of categories"); static constexpr OUStringLiteral EMPTY(u""); - static constexpr rtl::OUStringConstExpr aCatMf2Hid[10][4] = + static constexpr OUString aCatMf2Hid[10][4] = { { HID_SMA_DEFAULT_DIST, HID_SMA_LINE_DIST, HID_SMA_ROOT_DIST, EMPTY }, { HID_SMA_SUP_DIST, HID_SMA_SUB_DIST , EMPTY, EMPTY }, @@ -784,7 +784,7 @@ void SmDistanceDialog::SetCategory(sal_uInt16 nCategory) // To determine which Controls should be active, the existence // of an associated HelpID is checked - bActive = !aCatMf2Hid[nCategory][i].asView().empty(); + bActive = !aCatMf2Hid[nCategory][i].isEmpty(); pFT->set_visible(bActive); pFT->set_sensitive(bActive); |