summaryrefslogtreecommitdiff
path: root/sc/source/filter/html/htmlexp.cxx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2020-11-06 09:57:39 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2020-11-10 12:07:21 +0100
commit7002053174aed5c3a7b1fe5b1785011080aa6cbe (patch)
tree1c848f0c508caf04a1bc45f586c1086838f0496f /sc/source/filter/html/htmlexp.cxx
parent3f765ee646cbbf9f5738aaee4c478e930fe1af8d (diff)
Revert "tdf#132137 Rename Default Style in Calc."
This reverts commit 4111ed76906bf6be05b704bf52fa91353dfef183. the document would also hang if define STR_STYLENAME_STANDARD NC_("STR_STYLENAME_STANDARD", "Default"); is replaced by define STR_STYLENAME_STANDARD NC_("STR_STYLENAME_STANDARD", "DefaultTest"); meaning somewhere in the code 'Default' is harcoded as git grep "\"Default\"" sc/source/ shows Reverting for now so we can backport it to libreoffice-7-0 while a better solution is provided for tdf#132137 Some other problems of the reverted commit are mentioned in comment 4 and comment 5 of tdf#134161 I'm adding a unittest in another commit so this one can be easily reverted in the future Change-Id: Ifabc133b8f72547fb506da0925df97f1b006291c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105390 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc/source/filter/html/htmlexp.cxx')
-rw-r--r--sc/source/filter/html/htmlexp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index 81f01f3f096d..18124981f0ba 100644
--- a/sc/source/filter/html/htmlexp.cxx
+++ b/sc/source/filter/html/htmlexp.cxx
@@ -439,7 +439,7 @@ const SfxItemSet& ScHTMLExport::PageDefaults( SCTAB nTab )
if ( !aHTMLStyle.bInitialized )
{
pStyleSheet = pStylePool->Find(
- ScResId(STR_STYLENAME_STANDARD_CELL),
+ ScResId(STR_STYLENAME_STANDARD),
SfxStyleFamily::Para );
OSL_ENSURE( pStyleSheet, "ParaStyle not found! :-(" );
if (!pStyleSheet)