diff options
Diffstat (limited to 'xmloff/source/style/XMLFontAutoStylePool.cxx')
-rw-r--r-- | xmloff/source/style/XMLFontAutoStylePool.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx b/xmloff/source/style/XMLFontAutoStylePool.cxx index 407f1ae8ecc6..d16997977f10 100644 --- a/xmloff/source/style/XMLFontAutoStylePool.cxx +++ b/xmloff/source/style/XMLFontAutoStylePool.cxx @@ -28,6 +28,7 @@ #include <vcl/embeddedfontshelper.hxx> #include <osl/file.hxx> #include <sal/log.hxx> +#include <tools/diagnose_ex.h> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/embed/ElementModes.hpp> @@ -649,9 +650,9 @@ OUString XMLFontAutoStylePool::embedFontFile(OUString const & fileUrl, OUString return sInternalName; } } - } catch( const Exception& e ) + } catch( const Exception& ) { - SAL_WARN( "xmloff", "Exception when embedding a font file:" << e ); + TOOLS_WARN_EXCEPTION( "xmloff", "Exception when embedding a font file" ); } return OUString(); } |