diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-10-21 11:39:43 +0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-10-21 12:40:34 +0200 |
commit | 8fdf154cd8d4afafdbe068a3d764ac23f14549df (patch) | |
tree | b06985d4783999165c7c0765bd768113ee58b4fa /sw | |
parent | 70d3278ad49dd8c3a41f8dbfcc53357124b245f8 (diff) |
In MSVC, non-static constexpr objects are initialized at run-time
Similar to commit c785399884650fd0a1a4ffc3008fbb665e47a9d3 (In MSVC,
non-static constexpr objects are initialized at run-time, 2024-09-04).
Change-Id: Id1c9ca961efdcbfd897a03e4f85869a6f4e5260b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175297
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unotext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx index b78be39a98e9..efb5d7287501 100644 --- a/sw/source/core/unocore/unotext.cxx +++ b/sw/source/core/unocore/unotext.cxx @@ -2256,7 +2256,7 @@ SwXText::convertToSwTable( { try { - constexpr auto vDenylist = frozen::make_unordered_set<std::u16string_view>({ + static constexpr auto vDenylist = frozen::make_unordered_set<std::u16string_view>({ u"BottomBorder", u"CharAutoKerning", u"CharFontName", |