diff options
author | Noel Power <noel.power@suse.com> | 2013-02-21 10:39:10 +0000 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-02-21 13:02:58 +0000 |
commit | db28ed792e08d3eef3e901eaedb255bdc66d1db1 (patch) | |
tree | 4346a345b39cedb87ae8589eabc2828629caa768 /xmloff | |
parent | c4a8e6b62e80d79d98743af022b3d5e5d1f22f51 (diff) |
adapt writer to use centralised font dialog and fix some minor bugs
fixed incorrect return of EmbeddFonts property and also make sure that NotifyEmbeddedFontRead
is called on reload
Change-Id: I085f50ff88bbf73b5dcdb9630b6c5844430a47c2
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/XMLFontStylesContext.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmloff/source/style/XMLFontStylesContext.cxx b/xmloff/source/style/XMLFontStylesContext.cxx index e822fc6a9895..86433b8480db 100644 --- a/xmloff/source/style/XMLFontStylesContext.cxx +++ b/xmloff/source/style/XMLFontStylesContext.cxx @@ -265,6 +265,7 @@ void XMLFontStyleContextFontFaceUri::handleEmbeddedFont( const OUString& url ) case osl::File::E_None: break; // ok case osl::File::E_EXIST: + GetImport().NotifyEmbeddedFontRead(); return; // Assume it's already been added correctly. default: SAL_WARN( "xmloff", "Cannot open file for temporary font" ); |