include/xmloff/settingsstore.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 082773aa308c854d91b824e414903c296e110d85
Author: Stephan Bergmann <>
Date:   Fri Feb 16 23:15:56 2018 +0100

    DocumentSettingsSerializer must be SAL_DLLPUBLIC_RTTI for dynamic_cast SdXMLImport::SetConfigurationSettings 
(xmloff/source/draw/sdxmlimp.cxx) to
    work with instances of sd::DocumentSettings (defined in
    sd/source/ui/unoidl/UnoDocumentSettings.cxx, derived from
    DocumentSettingsSerializer), at least on platforms using the strict 
    RTTI equality check form (e.g., macOS).
    (Cross-casts like this are not detected by loplugin:dyncastvisibility.)
    Change-Id: I3f8712f9c64852cc8cb17c0c25211963360f117c
    Tested-by: Jenkins <>
    Reviewed-by: Stephan Bergmann <>
    (cherry picked from commit ff570b4b58dbf274d3094d21d974f18b613e9b4b)
    Reviewed-by: Michael Stahl <>

diff --git a/include/xmloff/settingsstore.hxx b/include/xmloff/settingsstore.hxx
index e78ae0a82ca3..0878a5ec288f 100644
--- a/include/xmloff/settingsstore.hxx
+++ b/include/xmloff/settingsstore.hxx
@@ -18,7 +18,7 @@
 // Scans list of properties for certain URL properties that could refer
 // to internal objects, and initializes from these.
-class DocumentSettingsSerializer {
+class SAL_DLLPUBLIC_RTTI DocumentSettingsSerializer {
   // Import objects and update properties (eliding URLs)
   virtual css::uno::Sequence<css::beans::PropertyValue>
Libreoffice-commits mailing list

Reply via email to