sc/source/filter/orcus/interface.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1798edc6bacf678aef20f9cff46c26acb93abb66
Author:     Kevin Suo <suokunl...@126.com>
AuthorDate: Wed Nov 3 19:50:40 2021 +0800
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Tue Nov 9 10:49:57 2021 +0100

    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.kagan...@collabora.com>

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)
 {

Reply via email to