diff options
author | Kevin Suo <suokunlong@126.com> | 2021-11-03 19:50:40 +0800 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-11-09 10:49:57 +0100 |
commit | 1798edc6bacf678aef20f9cff46c26acb93abb66 (patch) | |
tree | 55b6e4252cac4219eef25631cbfefb948d36dcfe | |
parent | becbabbb785545af6a1799f5ecd445785534d478 (diff) |
Remove this hard-coded "Default" style name in Calc
Replace it with the defined SC_STYLE_PROG_STANDARD macro.
Hard-coded style names can cause problems such as tdf#134161.
Change-Id: I27b5dfd3a4f60785622d51fe903484982f51f803
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124644
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r-- | sc/source/filter/orcus/interface.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx index 1bcc914a0ada..674c2cfe7c8f 100644 --- a/sc/source/filter/orcus/interface.cxx +++ b/sc/source/filter/orcus/interface.cxx @@ -1510,7 +1510,7 @@ ScOrcusStyles::xf::xf(): } ScOrcusStyles::cell_style::cell_style(): - maParentName("Default"), + maParentName(OUString(SC_STYLE_PROG_STANDARD)), mnXFId(0), mnBuiltInId(0) { |