From db28ed792e08d3eef3e901eaedb255bdc66d1db1 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Thu, 21 Feb 2013 10:39:10 +0000 Subject: 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 --- xmloff/source/style/XMLFontStylesContext.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'xmloff/source/style') 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" ); -- cgit v1.2.3