[Libreoffice-commits] core.git: include/vcl

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 30 15:34:52 UTC 2020


 include/vcl/toolkit/field.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 64cf52d47968d512afd383ce9a7321a4bd72b2ca
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jul 30 16:17:16 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jul 30 17:34:13 2020 +0200

    ASan/UBSan build still needs DateField RTTI
    
    ...after 0c311bfbf67441823f8b3916db963e2680e9eb43 "make some classes private":
    
    > [GAL] sounds
    > instdir/program/gengal.bin: symbol lookup error: instdir/program/libtklo.so: undefined symbol: _ZTI9DateField
    > make[1]: *** [solenv/gbuild/Gallery.mk:56: workdir/Gallery/sounds.done] Error 1
    
    with
    
    > $ find workdir/CxxObject/toolkit/source -name \*.o -exec bash -c 'nm "$0" | grep -F _ZTI9DateField && echo "^ $0"' {} \;
    >                  U _ZTI9DateField
    > ^ workdir/CxxObject/toolkit/source/awt/vclxwindows.o
    >                  U _ZTI9DateField
    > ^ workdir/CxxObject/toolkit/source/awt/vclxtoolkit.o
    
    Change-Id: Ica4f1ce6dfd5de0a3ca6cdddd59f85831348b81e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99802
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/include/vcl/toolkit/field.hxx b/include/vcl/toolkit/field.hxx
index 83bd3f91ed2c..705e734c20d9 100644
--- a/include/vcl/toolkit/field.hxx
+++ b/include/vcl/toolkit/field.hxx
@@ -468,7 +468,7 @@ public:
     bool             IsEnforceValidValue( ) const { return mbEnforceValidValue; }
 };
 
-class DateField : public SpinField, public DateFormatter
+class SAL_DLLPUBLIC_RTTI DateField : public SpinField, public DateFormatter
 {
 private:
     Date                    maFirst;


More information about the Libreoffice-commits mailing list