summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Suo <suokunlong@126.com>2021-11-03 19:50:40 +0800
committerMike Kaganski <mike.kaganski@collabora.com>2021-11-09 10:49:57 +0100
commit1798edc6bacf678aef20f9cff46c26acb93abb66 (patch)
tree55b6e4252cac4219eef25631cbfefb948d36dcfe
parentbecbabbb785545af6a1799f5ecd445785534d478 (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.cxx2
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)
{