[Libreoffice-commits] .: svx/inc

David Tardon dtardon at kemper.freedesktop.org
Sun Jan 16 09:50:09 PST 2011


 svx/inc/svx/svddrgmt.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ba8965dba4055000a4d5a8cb382907e4c08973f2
Author: David Tardon <dtardon at redhat.com>
Date:   Sun Jan 16 09:24:34 2011 +0100

    make public
    
    The SdrDragEntry class is "leaked out" through the functions of
    SVX_DLLPUBLIC SdrDragMethod that use its maSdrDragEntries member (of
    type std::vector<SdrDragEntry*>). That breaks build with debug version
    of libstdc++ (with gcc 4.5, at least) in sd and chart2 because linker
    cannot find typeinfo for SdrDragEntry.
    
    Alternative would be to move the definitions of these functions to
    source/svdraw/svddrgmt.cxx .

diff --git a/svx/inc/svx/svddrgmt.hxx b/svx/inc/svx/svddrgmt.hxx
index 223744d..2e5f7ff 100644
--- a/svx/inc/svx/svddrgmt.hxx
+++ b/svx/inc/svx/svddrgmt.hxx
@@ -52,7 +52,7 @@ class SdrDragStat;
 
 //////////////////////////////////////////////////////////////////////////////
 
-class SdrDragEntry
+class SVX_DLLPUBLIC SdrDragEntry
 {
 private:
     // bitfield


More information about the Libreoffice-commits mailing list