diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-10-30 21:01:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-10-31 15:37:18 +0100 |
commit | 4e08dd5c31ebb5032a8aa41030410bea21a1eb66 (patch) | |
tree | 36ef39730befb0683d7b2070c59a496d860e0ffd /sw/source/filter/xml | |
parent | b3d62dd95446a7289ddcc33697811e7acefe4057 (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 'sw/source/filter/xml')
-rw-r--r-- | sw/source/filter/xml/xmlfonte.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/xml/xmlimp.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmlfonte.cxx b/sw/source/filter/xml/xmlfonte.cxx index 9b90f94fd419..ce415aeb41e5 100644 --- a/sw/source/filter/xml/xmlfonte.cxx +++ b/sw/source/filter/xml/xmlfonte.cxx @@ -84,7 +84,7 @@ XMLFontAutoStylePool* SwXMLExport::CreateFontAutoStylePool() return new SwXMLFontAutoStylePool_Impl( *this, !blockFontEmbedding ); } -void SwXMLImport::NotifyEmbeddedFontRead() +void SwXMLImport::NotifyContainsEmbeddedFont() { getDoc()->getIDocumentSettingAccess().set( DocumentSettingId::EMBED_FONTS, true ); } diff --git a/sw/source/filter/xml/xmlimp.hxx b/sw/source/filter/xml/xmlimp.hxx index 060186339e46..3be18e1b5bfd 100644 --- a/sw/source/filter/xml/xmlimp.hxx +++ b/sw/source/filter/xml/xmlimp.hxx @@ -173,7 +173,7 @@ public: css::uno::Reference<css::document::XDocumentProperties> GetDocumentProperties() const; - virtual void NotifyEmbeddedFontRead() override; + virtual void NotifyContainsEmbeddedFont() override; const SwDoc* getDoc() const; SwDoc* getDoc(); |