diff options
-rw-r--r-- | sc/inc/stlpool.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/stlpool.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh2.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/sc/inc/stlpool.hxx b/sc/inc/stlpool.hxx index 0f1a873603c1..012d4b714658 100644 --- a/sc/inc/stlpool.hxx +++ b/sc/inc/stlpool.hxx @@ -56,7 +56,7 @@ public: virtual SfxStyleSheetBase& Make( const OUString&, SfxStyleFamily eFam, SfxStyleSearchBits nMask = SfxStyleSearchBits::All) override; - void setAllStandard(); + void setAllParaStandard(); private: virtual ~ScStyleSheetPool() override; diff --git a/sc/source/core/data/stlpool.cxx b/sc/source/core/data/stlpool.cxx index 8f38c8846da2..9dc911258d68 100644 --- a/sc/source/core/data/stlpool.cxx +++ b/sc/source/core/data/stlpool.cxx @@ -420,9 +420,9 @@ ScStyleSheet* ScStyleSheetPool::FindCaseIns( const OUString& rName, SfxStyleFami return nullptr; } -void ScStyleSheetPool::setAllStandard() +void ScStyleSheetPool::setAllParaStandard() { - SfxStyleSheetBase* pSheet = First(GetSearchFamily(), GetSearchMask()); + SfxStyleSheetBase* pSheet = First(SfxStyleFamily::Para); while (pSheet) { pSheet->SetMask(SfxStyleSearchBits::ScStandard); 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(); } } |