[Libreoffice-commits] core.git: emfio/inc
Stephan Bergmann
sbergman at redhat.com
Tue Aug 29 15:50:51 UTC 2017
emfio/inc/mtftools.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d5ed3cd6dbd22bb18542778f1c48f4d5b3ae0f95
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Aug 29 17:44:36 2017 +0200
Make WinMtfFontStyle's base class EMFIO_DLLPUBLIC, too
...otherwise the dynamic_cast<WinMtfFontStyle*> in MtfTools::SelectObject
(emfio/source/reader/mtftools.cxx) would not work on macOS in
CppunitTest_emfio_wmf
Change-Id: I5c361544fd273bdb65a4b83c7d694bae714815f5
diff --git a/emfio/inc/mtftools.hxx b/emfio/inc/mtftools.hxx
index fb8dd02a2550..6eb9367bb3e8 100644
--- a/emfio/inc/mtftools.hxx
+++ b/emfio/inc/mtftools.hxx
@@ -295,7 +295,7 @@ namespace emfio
void AddPolyPolygon(const tools::PolyPolygon& rPolyPolygon);
};
- struct GDIObj
+ struct EMFIO_DLLPUBLIC GDIObj
{
virtual ~GDIObj() = default; // Polymorphic base class
};
More information about the Libreoffice-commits
mailing list