diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 11:58:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-05 15:20:40 +0200 |
commit | dc9771d36ec48c9d6a9d60cfb580469a80136f60 (patch) | |
tree | d99e1cf530ea9231f290858d74c5e222692b79cf /sc/source/ui | |
parent | d78f53a31d050ac63c33a7219ef464d9906a37b8 (diff) |
ScOrcusStyles::commit_cell_style creates SfxStyleFamily::Para styles
and setAllStandard is only called on the results of that
so rename it to setAllParaStandard and we can safely assume that
the mask should be ::All
Change-Id: I087b40ed919c1b8724d5d36bae2f94180148cec2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93470
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh2.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index b2f7aba2e6b2..96b3d6623364 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -621,7 +621,7 @@ bool ScDocShell::Load( SfxMedium& rMedium ) if (pOrcus) { pOrcus->importODS_Styles(m_aDocument, aPath); - m_aDocument.GetStyleSheetPool()->setAllStandard(); + m_aDocument.GetStyleSheetPool()->setAllParaStandard(); } } diff --git a/sc/source/ui/docshell/docsh2.cxx b/sc/source/ui/docshell/docsh2.cxx index 3749d4eff038..ef5b61f03e53 100644 --- a/sc/source/ui/docshell/docsh2.cxx +++ b/sc/source/ui/docshell/docsh2.cxx @@ -72,7 +72,7 @@ bool ScDocShell::InitNew( const uno::Reference < embed::XStorage >& xStor ) if (pOrcus) { pOrcus->importODS_Styles(m_aDocument, aPath); - m_aDocument.GetStyleSheetPool()->setAllStandard(); + m_aDocument.GetStyleSheetPool()->setAllParaStandard(); } } |