summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-30 21:01:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-10-31 15:37:18 +0100
commit4e08dd5c31ebb5032a8aa41030410bea21a1eb66 (patch)
tree36ef39730befb0683d7b2070c59a496d860e0ffd /sc
parentb3d62dd95446a7289ddcc33697811e7acefe4057 (diff)
rename to NotifyContainsEmbeddedFont
to indicate better what its users do with this notification. This reflects better the reality that while the embedded font has been read at this point, vcl hasn't been informed of its existence yet. Change-Id: I87f4d0a0361192dac972f6146d3721a69e11ac27 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105086 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/xml/xmlimprt.cxx2
-rw-r--r--sc/source/filter/xml/xmlimprt.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx
index e88fe74dd9f2..84b50188b7b6 100644
--- a/sc/source/filter/xml/xmlimprt.cxx
+++ b/sc/source/filter/xml/xmlimprt.cxx
@@ -1875,7 +1875,7 @@ const ScXMLEditAttributeMap& ScXMLImport::GetEditAttributeMap() const
return *mpEditAttrMap;
}
-void ScXMLImport::NotifyEmbeddedFontRead()
+void ScXMLImport::NotifyContainsEmbeddedFont()
{
if (pDoc)
pDoc->SetEmbedFonts(true);
diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx
index be25dc026062..910617027beb 100644
--- a/sc/source/filter/xml/xmlimprt.hxx
+++ b/sc/source/filter/xml/xmlimprt.hxx
@@ -453,7 +453,7 @@ public:
ScEditEngineDefaulter* GetEditEngine();
const ScXMLEditAttributeMap& GetEditAttributeMap() const;
- virtual void NotifyEmbeddedFontRead() override;
+ virtual void NotifyContainsEmbeddedFont() override;
};
#endif