[Libreoffice-commits] core.git: include/oox include/svx include/toolkit include/tools sc/inc sc/source sd/inc sd/source sw/inc sw/source

David Tardon dtardon at redhat.com
Wed Apr 15 23:53:51 PDT 2015


 include/oox/core/fastparser.hxx        |    4 +++-
 include/oox/vml/vmlshape.hxx           |    2 +-
 include/svx/AccessibleControlShape.hxx |    2 +-
 include/svx/gridctrl.hxx               |    2 +-
 include/svx/srchdlg.hxx                |    2 +-
 include/toolkit/awt/vclxwindows.hxx    |    8 ++++----
 include/tools/errinf.hxx               |    2 +-
 include/tools/inetstrm.hxx             |    2 +-
 sc/inc/chgtrack.hxx                    |   10 +++++-----
 sc/inc/dapiuno.hxx                     |    2 +-
 sc/inc/dbdata.hxx                      |    2 +-
 sc/inc/queryparam.hxx                  |    4 ++--
 sc/inc/scmod.hxx                       |    2 +-
 sc/inc/stlpool.hxx                     |    2 +-
 sc/inc/stlsheet.hxx                    |    2 +-
 sc/inc/userdat.hxx                     |    2 +-
 sc/source/ui/inc/condformatdlg.hxx     |    2 +-
 sc/source/ui/inc/dbfunc.hxx            |    2 +-
 sc/source/ui/inc/gridwin.hxx           |    2 +-
 sc/source/ui/inc/preview.hxx           |    2 +-
 sc/source/ui/inc/prevwsh.hxx           |    2 +-
 sc/source/ui/inc/tabvwsh.hxx           |    2 +-
 sc/source/ui/inc/transobj.hxx          |    2 +-
 sd/inc/CustomAnimationEffect.hxx       |    2 +-
 sd/inc/sdmod.hxx                       |    2 +-
 sd/inc/stlpool.hxx                     |    2 +-
 sd/source/ui/inc/View.hxx              |    2 +-
 sd/source/ui/inc/ViewShell.hxx         |    2 +-
 sw/inc/authfld.hxx                     |    2 +-
 sw/inc/dcontact.hxx                    |    2 +-
 sw/inc/docufld.hxx                     |   20 ++++++++++----------
 sw/inc/expfld.hxx                      |    4 ++--
 sw/inc/flddat.hxx                      |    2 +-
 sw/inc/flddropdown.hxx                 |    2 +-
 sw/inc/fmtautofmt.hxx                  |    2 +-
 sw/inc/fmtflcnt.hxx                    |    2 +-
 sw/inc/fmtrfmrk.hxx                    |    2 +-
 sw/inc/modcfg.hxx                      |   10 +++++-----
 sw/inc/node.hxx                        |    4 ++--
 sw/inc/reffld.hxx                      |    2 +-
 sw/inc/swatrset.hxx                    |    2 +-
 sw/inc/txatbase.hxx                    |    2 +-
 sw/inc/txtfld.hxx                      |    2 +-
 sw/inc/txttxmrk.hxx                    |    2 +-
 sw/inc/unocrsr.hxx                     |    2 +-
 sw/inc/unotbl.hxx                      |    2 +-
 sw/inc/viscrs.hxx                      |    2 +-
 sw/source/uibase/inc/chldwrap.hxx      |    2 +-
 sw/source/uibase/inc/pview.hxx         |    2 +-
 49 files changed, 74 insertions(+), 72 deletions(-)

New commits:
commit add2ca7b3ab10ed9d18e60d8e50020168d922836
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Apr 15 13:36:28 2015 +0200

    make more classes dllpublic
    
    ... to fix asan+ubsan+dbgutil build
    
    Change-Id: I1400774d383879bbff9bf28251a104cd53bafaed

diff --git a/include/oox/core/fastparser.hxx b/include/oox/core/fastparser.hxx
index 8d41dee..d482799 100644
--- a/include/oox/core/fastparser.hxx
+++ b/include/oox/core/fastparser.hxx
@@ -23,6 +23,8 @@
 #include <com/sun/star/uno/XComponentContext.hpp>
 #include <com/sun/star/xml/sax/XFastParser.hpp>
 
+#include <oox/dllapi.h>
+
 namespace oox {
     struct NamespaceMap;
     class StorageBase;
@@ -40,7 +42,7 @@ namespace core {
 /** Wrapper for a fast SAX parser that works on automatically generated OOXML
     token and namespace identifiers.
  */
-class FastParser
+class OOX_DLLPUBLIC FastParser
 {
 public:
     explicit            FastParser(
diff --git a/include/oox/vml/vmlshape.hxx b/include/oox/vml/vmlshape.hxx
index 6cc180c..a9d506e 100644
--- a/include/oox/vml/vmlshape.hxx
+++ b/include/oox/vml/vmlshape.hxx
@@ -114,7 +114,7 @@ struct OOX_DLLPUBLIC ShapeTypeModel
 
 /** A shape template contains all formatting properties of shapes and can serve
     as templates for several shapes in a drawing. */
-class ShapeType
+class OOX_DLLPUBLIC ShapeType
 {
 public:
     explicit            ShapeType( Drawing& rDrawing );
diff --git a/include/svx/AccessibleControlShape.hxx b/include/svx/AccessibleControlShape.hxx
index e19cf14..f7543e6 100644
--- a/include/svx/AccessibleControlShape.hxx
+++ b/include/svx/AccessibleControlShape.hxx
@@ -48,7 +48,7 @@ namespace accessibility {
                                 >   AccessibleControlShape_Base;
 /** @descr
 */
-class AccessibleControlShape
+class SVX_DLLPUBLIC AccessibleControlShape
         :public AccessibleShape
         ,public AccessibleControlShape_Base
 {
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index e50c6e5..ff8f83b 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -61,7 +61,7 @@ enum GridRowStatus
 // DbGridRow, description of rows
 
 
-class DbGridRow : public SvRefBase
+class SVX_DLLPUBLIC DbGridRow : public SvRefBase
 {
     ::com::sun::star::uno::Any  m_aBookmark;        // Bookmark of the row, can be set
     DbDataColumns               m_aVariants;
diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx
index 15d221b..4cc4662 100644
--- a/include/svx/srchdlg.hxx
+++ b/include/svx/srchdlg.hxx
@@ -111,7 +111,7 @@ public:
     <SvxSearchItem><SID_ATTR_SEARCH>
 */
 
-class SvxSearchDialog : public SfxModelessDialog
+class SVX_DLLPUBLIC SvxSearchDialog : public SfxModelessDialog
 {
 friend class SvxSearchController;
 friend class SvxSearchDialogWrapper;
diff --git a/include/toolkit/awt/vclxwindows.hxx b/include/toolkit/awt/vclxwindows.hxx
index 1985154..9bebe68 100644
--- a/include/toolkit/awt/vclxwindows.hxx
+++ b/include/toolkit/awt/vclxwindows.hxx
@@ -219,7 +219,7 @@ protected:
 
 //  class VCLXCheckBox
 
-class VCLXCheckBox :    public ::com::sun::star::awt::XCheckBox,
+class TOOLKIT_DLLPUBLIC VCLXCheckBox :    public ::com::sun::star::awt::XCheckBox,
                         public ::com::sun::star::awt::XButton,
                         public VCLXGraphicControl
 {
@@ -277,7 +277,7 @@ public:
 
 //  class VCLXRadioButton
 
-class VCLXRadioButton : public ::com::sun::star::awt::XRadioButton,
+class TOOLKIT_DLLPUBLIC VCLXRadioButton : public ::com::sun::star::awt::XRadioButton,
                         public ::com::sun::star::awt::XButton,
                         public VCLXGraphicControl
 {
@@ -622,7 +622,7 @@ public:
 
 //  class VCLXScrollBar
 
-class VCLXScrollBar :   public ::com::sun::star::awt::XScrollBar,
+class TOOLKIT_DLLPUBLIC VCLXScrollBar :   public ::com::sun::star::awt::XScrollBar,
                         public VCLXWindow
 {
 private:
@@ -930,7 +930,7 @@ public:
 
 //  class VCLXFormattedSpinField
 
-class VCLXFormattedSpinField : public VCLXSpinField
+class TOOLKIT_DLLPUBLIC VCLXFormattedSpinField : public VCLXSpinField
 {
 private:
     FormatterBase*  mpFormatter;
diff --git a/include/tools/errinf.hxx b/include/tools/errinf.hxx
index a16b56a..caaa1a3 100644
--- a/include/tools/errinf.hxx
+++ b/include/tools/errinf.hxx
@@ -32,7 +32,7 @@ class EDcr_Impl;
 class ErrHdl_Impl;
 namespace vcl { class Window; }
 
-class ErrorInfo
+class TOOLS_DLLPUBLIC ErrorInfo
 {
 private:
     sal_uIntPtr             lUserId;
diff --git a/include/tools/inetstrm.hxx b/include/tools/inetstrm.hxx
index ea6be1f..b4fde8a 100644
--- a/include/tools/inetstrm.hxx
+++ b/include/tools/inetstrm.hxx
@@ -47,7 +47,7 @@ enum INetMessageStreamState
 };
 
 /// Message Generator Interface.
-class INetMessageIStream
+class TOOLS_DLLPUBLIC INetMessageIStream
 {
     INetMIMEMessage *pSourceMsg;
     bool            bHeaderGenerated;
diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx
index 6599d84..84ecc70 100644
--- a/sc/inc/chgtrack.hxx
+++ b/sc/inc/chgtrack.hxx
@@ -214,7 +214,7 @@ class ScChangeActionIns;
 class ScChangeActionDel;
 class ScChangeActionContent;
 
-class ScChangeAction
+class SC_DLLPUBLIC ScChangeAction
 {
     friend class ScChangeTrack;
     friend class ScChangeActionIns;
@@ -415,7 +415,7 @@ public:
 };
 
 //  ScChangeActionIns
-class ScChangeActionIns : public ScChangeAction
+class SC_DLLPUBLIC ScChangeActionIns : public ScChangeAction
 {
     friend class ScChangeTrack;
 
@@ -560,7 +560,7 @@ public:
 };
 
 //  ScChangeActionMove
-class ScChangeActionMove : public ScChangeAction
+class SC_DLLPUBLIC ScChangeActionMove : public ScChangeAction
 {
     friend class ScChangeTrack;
     friend class ScChangeActionDel;
@@ -661,7 +661,7 @@ enum ScChangeActionContentCellType
     SC_CACCT_MATREF
 };
 
-class ScChangeActionContent : public ScChangeAction
+class SC_DLLPUBLIC ScChangeActionContent : public ScChangeAction
 {
     friend class ScChangeTrack;
 
@@ -893,7 +893,7 @@ enum ScChangeTrackMergeState
 // and are decremented, to keep values in a table separated from "normal" actions.
 #define SC_CHGTRACK_GENERATED_START ((sal_uInt32) 0xfffffff0)
 
-class ScChangeTrack : public utl::ConfigurationListener
+class SC_DLLPUBLIC ScChangeTrack : public utl::ConfigurationListener
 {
     friend void ScChangeAction::RejectRestoreContents( ScChangeTrack*, SCsCOL, SCsROW );
     friend bool ScChangeActionDel::Reject( ScDocument* pDoc );
diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx
index 3052b37..6a8e4d5 100644
--- a/sc/inc/dapiuno.hxx
+++ b/sc/inc/dapiuno.hxx
@@ -150,7 +150,7 @@ public:
 };
 
 //  ScDataPilotDescriptorBase is never instantiated directly
-class ScDataPilotDescriptorBase : public com::sun::star::sheet::XDataPilotDescriptor,
+class SC_DLLPUBLIC ScDataPilotDescriptorBase : public com::sun::star::sheet::XDataPilotDescriptor,
                                   public com::sun::star::beans::XPropertySet,
                                   public com::sun::star::sheet::XDataPilotDataLayoutFieldSupplier,
                                   public com::sun::star::lang::XServiceInfo,
diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx
index 708bd85..c66d7e0 100644
--- a/sc/inc/dbdata.hxx
+++ b/sc/inc/dbdata.hxx
@@ -35,7 +35,7 @@ struct ScQueryParam;
 struct ScSubTotalParam;
 struct ScImportParam;
 
-class ScDBData : public ScRefreshTimer
+class SC_DLLPUBLIC ScDBData : public ScRefreshTimer
 {
 private:
     boost::scoped_ptr<ScSortParam> mpSortParam;
diff --git a/sc/inc/queryparam.hxx b/sc/inc/queryparam.hxx
index 867b15d..a29844d 100644
--- a/sc/inc/queryparam.hxx
+++ b/sc/inc/queryparam.hxx
@@ -36,7 +36,7 @@ class SharedStringPool;
 
 }
 
-struct ScQueryParamBase
+struct SC_DLLPUBLIC ScQueryParamBase
 {
     bool            bHasHeader;
     bool            bByRow;
@@ -76,7 +76,7 @@ protected:
     EntriesType maEntries;
 };
 
-struct ScQueryParamTable
+struct SC_DLLPUBLIC ScQueryParamTable
 {
     SCCOL           nCol1;
     SCROW           nRow1;
diff --git a/sc/inc/scmod.hxx b/sc/inc/scmod.hxx
index 2673e2f..54ddc41 100644
--- a/sc/inc/scmod.hxx
+++ b/sc/inc/scmod.hxx
@@ -80,7 +80,7 @@ class ScAnyRefModalDlg;
 #define SC_DROP_NAVIGATOR       1
 #define SC_DROP_TABLE           2
 
-class ScModule: public SfxModule, public SfxListener, utl::ConfigurationListener
+class SC_DLLPUBLIC ScModule: public SfxModule, public SfxListener, utl::ConfigurationListener
 {
     Timer               aIdleTimer;
     Idle                aSpellIdle;
diff --git a/sc/inc/stlpool.hxx b/sc/inc/stlpool.hxx
index e83aef0..640c658 100644
--- a/sc/inc/stlpool.hxx
+++ b/sc/inc/stlpool.hxx
@@ -25,7 +25,7 @@
 class ScStyleSheet;
 class ScDocument;
 
-class ScStyleSheetPool : public SfxStyleSheetPool
+class SC_DLLPUBLIC ScStyleSheetPool : public SfxStyleSheetPool
 {
 public:
                         ScStyleSheetPool( SfxItemPool&  rPool,
diff --git a/sc/inc/stlsheet.hxx b/sc/inc/stlsheet.hxx
index cb65a01..85f42f9 100644
--- a/sc/inc/stlsheet.hxx
+++ b/sc/inc/stlsheet.hxx
@@ -26,7 +26,7 @@
 
 class ScStyleSheetPool;
 
-class ScStyleSheet : public SfxStyleSheet
+class SC_DLLPUBLIC ScStyleSheet : public SfxStyleSheet
 {
 friend class ScStyleSheetPool;
 
diff --git a/sc/inc/userdat.hxx b/sc/inc/userdat.hxx
index 5083c98..4a87aac 100644
--- a/sc/inc/userdat.hxx
+++ b/sc/inc/userdat.hxx
@@ -75,7 +75,7 @@ public:
     const ImageMap& GetImageMap() const             { return aImageMap; }
 };
 
-class ScMacroInfo : public SdrObjUserData
+class SC_DLLPUBLIC ScMacroInfo : public SdrObjUserData
 {
 public:
                     ScMacroInfo();
diff --git a/sc/source/ui/inc/condformatdlg.hxx b/sc/source/ui/inc/condformatdlg.hxx
index 6f6d2c0..181376c 100644
--- a/sc/source/ui/inc/condformatdlg.hxx
+++ b/sc/source/ui/inc/condformatdlg.hxx
@@ -92,7 +92,7 @@ public:
     DECL_LINK( ColFormatTypeHdl, ListBox*);
 };
 
-class ScCondFormatDlg : public ScAnyRefModalDlg
+class SC_DLLPUBLIC ScCondFormatDlg : public ScAnyRefModalDlg
 {
 private:
     PushButton* mpBtnAdd;
diff --git a/sc/source/ui/inc/dbfunc.hxx b/sc/source/ui/inc/dbfunc.hxx
index 207fdbf..7ae49cf 100644
--- a/sc/source/ui/inc/dbfunc.hxx
+++ b/sc/source/ui/inc/dbfunc.hxx
@@ -36,7 +36,7 @@ class ScDPSaveData;
 struct ScDPNumGroupInfo;
 struct ScSubTotalParam;
 
-class ScDBFunc : public ScViewFunc
+class SC_DLLPUBLIC ScDBFunc : public ScViewFunc
 {
 private:
     void GetSelectedMemberList(ScDPUniqueStringSet& rEntries, long& rDimension);
diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx
index 0221e60..8b22bb9 100644
--- a/sc/source/ui/inc/gridwin.hxx
+++ b/sc/source/ui/inc/gridwin.hxx
@@ -81,7 +81,7 @@ struct SpellCallbackInfo;
 // predefines
 namespace sdr { namespace overlay { class OverlayObjectList; }}
 
-class ScGridWindow : public vcl::Window, public DropTargetHelper, public DragSourceHelper
+class SC_DLLPUBLIC ScGridWindow : public vcl::Window, public DropTargetHelper, public DragSourceHelper
 {
     // ScFilterListBox is always used for selection list
     friend class ScFilterListBox;
diff --git a/sc/source/ui/inc/preview.hxx b/sc/source/ui/inc/preview.hxx
index bcf4fbc..b8b266c 100644
--- a/sc/source/ui/inc/preview.hxx
+++ b/sc/source/ui/inc/preview.hxx
@@ -29,7 +29,7 @@ class ScDocShell;
 class ScPreviewShell;
 class FmFormView;
 
-class ScPreview : public vcl::Window
+class SC_DLLPUBLIC ScPreview : public vcl::Window
 {
 private:
     ScMarkData::MarkedTabsType maSelectedTabs;
diff --git a/sc/source/ui/inc/prevwsh.hxx b/sc/source/ui/inc/prevwsh.hxx
index d8bec53..93e43a2 100644
--- a/sc/source/ui/inc/prevwsh.hxx
+++ b/sc/source/ui/inc/prevwsh.hxx
@@ -36,7 +36,7 @@ struct ScHeaderFieldData;
 class ScPreviewLocationData;
 class CommandEvent;
 
-class ScPreviewShell: public SfxViewShell
+class SC_DLLPUBLIC ScPreviewShell: public SfxViewShell
 {
     ScDocShell*     pDocShell;
 
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index 81e8004..17e7ebc 100644
--- a/sc/source/ui/inc/tabvwsh.hxx
+++ b/sc/source/ui/inc/tabvwsh.hxx
@@ -89,7 +89,7 @@ enum ObjectSelectionType
     OST_Media
 };
 
-class ScTabViewShell: public SfxViewShell, public ScDBFunc
+class SC_DLLPUBLIC ScTabViewShell: public SfxViewShell, public ScDBFunc
 {
 private:
     static sal_uInt16           nInsertCtrlState;
diff --git a/sc/source/ui/inc/transobj.hxx b/sc/source/ui/inc/transobj.hxx
index 57d8ea6..4d2b85c 100644
--- a/sc/source/ui/inc/transobj.hxx
+++ b/sc/source/ui/inc/transobj.hxx
@@ -36,7 +36,7 @@ namespace com { namespace sun { namespace star {
 
 #include <sfx2/objsh.hxx>
 
-class ScTransferObj : public TransferableHelper
+class SC_DLLPUBLIC ScTransferObj : public TransferableHelper
 {
 private:
     ScDocument*                     pDoc;
diff --git a/sd/inc/CustomAnimationEffect.hxx b/sd/inc/CustomAnimationEffect.hxx
index e415989..8e4b628 100644
--- a/sd/inc/CustomAnimationEffect.hxx
+++ b/sd/inc/CustomAnimationEffect.hxx
@@ -379,7 +379,7 @@ private:
 typedef boost::shared_ptr< InteractiveSequence > InteractiveSequencePtr;
 typedef std::list< InteractiveSequencePtr > InteractiveSequenceList;
 
-class MainSequence : public EffectSequenceHelper, public ISequenceListener
+class SD_DLLPUBLIC MainSequence : public EffectSequenceHelper, public ISequenceListener
 {
     friend class UndoAnimation;
     friend class MainSequenceRebuildGuard;
diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx
index 5ad63fd..e79ccde 100644
--- a/sd/inc/sdmod.hxx
+++ b/sd/inc/sdmod.hxx
@@ -75,7 +75,7 @@ typedef std::map< sal_uInt32, css::uno::Sequence< css::uno::Type> > SdTypesCache
 
 */
 
-class SdModule : public SfxModule, public SfxListener
+class SD_DLLPUBLIC SdModule : public SfxModule, public SfxListener
 {
 public:
                             TYPEINFO_OVERRIDE();
diff --git a/sd/inc/stlpool.hxx b/sd/inc/stlpool.hxx
index 5a22993..2303c7f 100644
--- a/sd/inc/stlpool.hxx
+++ b/sd/inc/stlpool.hxx
@@ -52,7 +52,7 @@ typedef ::cppu::ImplInheritanceHelper4< SfxStyleSheetPool,
                                         ::com::sun::star::container::XNameAccess,
                                         ::com::sun::star::lang::XComponent > SdStyleSheetPoolBase;
 
-class SdStyleSheetPool : public SdStyleSheetPoolBase, public SfxListener
+class SD_DLLPUBLIC SdStyleSheetPool : public SdStyleSheetPoolBase, public SfxListener
 {
     friend class SdDrawDocument;
 public:
diff --git a/sd/source/ui/inc/View.hxx b/sd/source/ui/inc/View.hxx
index 1b22016..264a65c 100644
--- a/sd/source/ui/inc/View.hxx
+++ b/sd/source/ui/inc/View.hxx
@@ -82,7 +82,7 @@ public:
     void End();
 };
 
-class View : public FmFormView
+class SD_DLLPUBLIC View : public FmFormView
 {
 public:
     TYPEINFO_OVERRIDE();
diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx
index 1b46129..dd5e1ea 100644
--- a/sd/source/ui/inc/ViewShell.hxx
+++ b/sd/source/ui/inc/ViewShell.hxx
@@ -79,7 +79,7 @@ class ZoomList;
 
     <p>This class replaces the former ViewShell class.</p>
 */
-class ViewShell
+class SD_DLLPUBLIC ViewShell
     : public SfxShell
 {
 public:
diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx
index 6e3926b..3e127e6 100644
--- a/sw/inc/authfld.hxx
+++ b/sw/inc/authfld.hxx
@@ -141,7 +141,7 @@ public:
 
 };
 
-class SwAuthorityField : public SwField
+class SW_DLLPUBLIC SwAuthorityField : public SwField
 {
     sal_IntPtr          m_nHandle;
     mutable sal_IntPtr  m_nTempSequencePos;
diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx
index f49c491..1b79e01 100644
--- a/sw/inc/dcontact.hxx
+++ b/sw/inc/dcontact.hxx
@@ -66,7 +66,7 @@ SwContact* GetUserCall( const SdrObject* );
 bool IsMarqueeTextObj( const SdrObject& rObj );
 
 /// Base class for the following contact objects (frame + draw objects).
-class SwContact : public SdrObjUserCall, public SwClient
+class SW_DLLPUBLIC SwContact : public SdrObjUserCall, public SwClient
 {
     /** boolean, indicating destruction of contact object
      important note: boolean has to be set at the beginning of each destructor
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index d9f8294..93bad78 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -129,7 +129,7 @@ enum SwJumpEditFormat
     JE_FMT_OLE
 };
 
-class SwPageNumberFieldType : public SwFieldType
+class SW_DLLPUBLIC SwPageNumberFieldType : public SwFieldType
 {
     sal_Int16   nNumberingType;
     bool            bVirtuell;
@@ -203,7 +203,7 @@ public:
     virtual bool        PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
 };
 
-class SwFileNameFieldType : public SwFieldType
+class SW_DLLPUBLIC SwFileNameFieldType : public SwFieldType
 {
     SwDoc *pDoc;
 public:
@@ -230,7 +230,7 @@ public:
     virtual bool        PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
 };
 
-class SwTemplNameFieldType : public SwFieldType
+class SW_DLLPUBLIC SwTemplNameFieldType : public SwFieldType
 {
     SwDoc *pDoc;
 public:
@@ -252,7 +252,7 @@ public:
 };
 
 // Document statistics
-class SwDocStatFieldType : public SwFieldType
+class SW_DLLPUBLIC SwDocStatFieldType : public SwFieldType
 {
     SwDoc*          pDoc;
     sal_Int16       nNumberingType; ///< com::sun::star::style::NumberingType
@@ -378,7 +378,7 @@ public:
     virtual bool        PutValue( const com::sun::star::uno::Any& rVal, sal_uInt16 nWhich ) SAL_OVERRIDE;
 };
 
-class SwMacroFieldType : public SwFieldType
+class SW_DLLPUBLIC SwMacroFieldType : public SwFieldType
 {
     SwDoc* pDoc;
 
@@ -426,7 +426,7 @@ public:
     static bool isScriptURL( const OUString& str );
 };
 
-class SwPostItFieldType : public SwFieldType
+class SW_DLLPUBLIC SwPostItFieldType : public SwFieldType
 {
 private:
     SwDoc* mpDoc;
@@ -489,7 +489,7 @@ public:
     virtual OUString    GetDescription() const SAL_OVERRIDE;
 };
 
-class SwDocInfoFieldType : public SwValueFieldType
+class SW_DLLPUBLIC SwDocInfoFieldType : public SwValueFieldType
 {
 public:
     SwDocInfoFieldType(SwDoc* pDc);
@@ -569,7 +569,7 @@ protected:
 };
 
 // Relative page numbering.
-class SwRefPageSetField : public SwField
+class SW_DLLPUBLIC SwRefPageSetField : public SwField
 {
     short   nOffset;
     bool    bOn;
@@ -672,7 +672,7 @@ public:
     virtual SwFieldType*    Copy() const SAL_OVERRIDE;
 };
 
-class SwScriptField : public SwField
+class SW_DLLPUBLIC SwScriptField : public SwField
 {
     OUString sType;  ///< Type of Code (Java/VBScript/...)
     OUString sCode;  /**< Code as text.
@@ -703,7 +703,7 @@ public:
 };
 
 // Combined Character Fieldtype
-class SwCombinedCharFieldType : public SwFieldType
+class SW_DLLPUBLIC SwCombinedCharFieldType : public SwFieldType
 {
 public:
     SwCombinedCharFieldType();
diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx
index e58953c..a1ad125 100644
--- a/sw/inc/expfld.hxx
+++ b/sw/inc/expfld.hxx
@@ -70,7 +70,7 @@ public:
     void Clear() { maData.clear(); }
 };
 
-class SwGetExpFieldType : public SwValueFieldType
+class SW_DLLPUBLIC SwGetExpFieldType : public SwValueFieldType
 {
 public:
         SwGetExpFieldType(SwDoc* pDoc);
@@ -280,7 +280,7 @@ inline bool SwSetExpField::GetInputFlag() const
 inline bool SwSetExpField::IsSequenceFld() const
     { return 0 != (nsSwGetSetExpType::GSE_SEQ & static_cast<SwSetExpFieldType*>(GetTyp())->GetType()); }
 
-class SwInputFieldType : public SwFieldType
+class SW_DLLPUBLIC SwInputFieldType : public SwFieldType
 {
     SwDoc* pDoc;
 public:
diff --git a/sw/inc/flddat.hxx b/sw/inc/flddat.hxx
index 2bfbec1..4dbcdf1 100644
--- a/sw/inc/flddat.hxx
+++ b/sw/inc/flddat.hxx
@@ -80,7 +80,7 @@ enum SwDateSubFormat
     DATE_VAR
 };
 
-class SwDateTimeFieldType : public SwValueFieldType
+class SW_DLLPUBLIC SwDateTimeFieldType : public SwValueFieldType
 {
 public:
         SwDateTimeFieldType(SwDoc* pDoc);
diff --git a/sw/inc/flddropdown.hxx b/sw/inc/flddropdown.hxx
index 4992d1e..3032140 100644
--- a/sw/inc/flddropdown.hxx
+++ b/sw/inc/flddropdown.hxx
@@ -28,7 +28,7 @@
 /**
     Field type for dropdown boxes.
 */
-class SwDropDownFieldType : public SwFieldType
+class SW_DLLPUBLIC SwDropDownFieldType : public SwFieldType
 {
 public:
     /**
diff --git a/sw/inc/fmtautofmt.hxx b/sw/inc/fmtautofmt.hxx
index e781623..16be223 100644
--- a/sw/inc/fmtautofmt.hxx
+++ b/sw/inc/fmtautofmt.hxx
@@ -23,7 +23,7 @@
 #include <format.hxx>
 #include <memory>
 
-class SwFmtAutoFmt: public SfxPoolItem
+class SW_DLLPUBLIC SwFmtAutoFmt: public SfxPoolItem
 {
     std::shared_ptr<SfxItemSet> mpHandle;
 
diff --git a/sw/inc/fmtflcnt.hxx b/sw/inc/fmtflcnt.hxx
index 136038d..260b660 100644
--- a/sw/inc/fmtflcnt.hxx
+++ b/sw/inc/fmtflcnt.hxx
@@ -29,7 +29,7 @@ class SwTxtFlyCnt;
  *
  * A pool item that is attached to the placeholder character of an as-character frame. (TextFrame, etc.)
  */
-class SwFmtFlyCnt : public SfxPoolItem
+class SW_DLLPUBLIC SwFmtFlyCnt : public SfxPoolItem
 {
     friend class SwTxtFlyCnt;
     SwTxtFlyCnt* pTxtAttr;
diff --git a/sw/inc/fmtrfmrk.hxx b/sw/inc/fmtrfmrk.hxx
index cfa8efd..0b30ddd 100644
--- a/sw/inc/fmtrfmrk.hxx
+++ b/sw/inc/fmtrfmrk.hxx
@@ -33,7 +33,7 @@ class SwTxtRefMark;
 
 // ATT_REFMARK
 
-class SwFmtRefMark
+class SW_DLLPUBLIC SwFmtRefMark
     : public SfxPoolItem
     , public SwModify
 {
diff --git a/sw/inc/modcfg.hxx b/sw/inc/modcfg.hxx
index e79c236..9ab20dc5 100644
--- a/sw/inc/modcfg.hxx
+++ b/sw/inc/modcfg.hxx
@@ -60,7 +60,7 @@ public:
     void Insert(InsCaptionOpt* pObj);
 };
 
-class SwRevisionConfig : public utl::ConfigItem
+class SW_DLLPUBLIC SwRevisionConfig : public utl::ConfigItem
 {
     friend class SwModuleOptions;
 
@@ -86,7 +86,7 @@ public:
     void                    SetModified(){ConfigItem::SetModified();}
 };
 
-class SwCompareConfig : public utl::ConfigItem
+class SW_DLLPUBLIC SwCompareConfig : public utl::ConfigItem
 {
     friend class SwModuleOptions;
 
@@ -110,7 +110,7 @@ public:
     void            SetModified() {ConfigItem::SetModified(); }
 };
 
-class SwInsertConfig : public utl::ConfigItem
+class SW_DLLPUBLIC SwInsertConfig : public utl::ConfigItem
 {
     friend class SwModuleOptions;
 
@@ -138,7 +138,7 @@ public:
     void                    SetModified(){ConfigItem::SetModified();}
 };
 
-class SwTableConfig : public utl::ConfigItem
+class SW_DLLPUBLIC SwTableConfig : public utl::ConfigItem
 {
     friend class SwModuleOptions;
 
@@ -165,7 +165,7 @@ public:
     void                    SetModified(){ConfigItem::SetModified();}
 };
 
-class SwMiscConfig : public utl::ConfigItem
+class SW_DLLPUBLIC SwMiscConfig : public utl::ConfigItem
 {
     friend class SwModuleOptions;
 
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index 843daeb..78e5ab1 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -291,7 +291,7 @@ private:
 };
 
 /// Starts a section of nodes in the document model.
-class SwStartNode: public SwNode
+class SW_DLLPUBLIC SwStartNode: public SwNode
 {
     friend class SwNode;
     friend class SwNodes;
@@ -521,7 +521,7 @@ private:
     SwTableNode & operator= ( const SwTableNode & rNode ) SAL_DELETED_FUNCTION;
 };
 
-class SwSectionNode
+class SW_DLLPUBLIC SwSectionNode
     : public SwStartNode
 {
     friend class SwNodes;
diff --git a/sw/inc/reffld.hxx b/sw/inc/reffld.hxx
index 740a561..9e0e0df 100644
--- a/sw/inc/reffld.hxx
+++ b/sw/inc/reffld.hxx
@@ -60,7 +60,7 @@ enum REFERENCEMARK
 
 /// Get reference.
 
-class SwGetRefFieldType : public SwFieldType
+class SW_DLLPUBLIC SwGetRefFieldType : public SwFieldType
 {
     SwDoc* pDoc;
 protected:
diff --git a/sw/inc/swatrset.hxx b/sw/inc/swatrset.hxx
index 867f269..6392494 100644
--- a/sw/inc/swatrset.hxx
+++ b/sw/inc/swatrset.hxx
@@ -135,7 +135,7 @@ class SwTblBoxNumFormat;
 class SwTblBoxFormula;
 class SwTblBoxValue;
 
-class SwAttrPool : public SfxItemPool
+class SW_DLLPUBLIC SwAttrPool : public SfxItemPool
 {
 private:
     //UUUU helpers to add/rmove DrawingLayer ItemPool, used in constructor
diff --git a/sw/inc/txatbase.hxx b/sw/inc/txatbase.hxx
index d8ccb02..257540d 100644
--- a/sw/inc/txatbase.hxx
+++ b/sw/inc/txatbase.hxx
@@ -38,7 +38,7 @@
 class SfxItemPool;
 class SvXMLAttrContainerItem;
 
-class SwTxtAttr : private boost::noncopyable
+class SW_DLLPUBLIC SwTxtAttr : private boost::noncopyable
 {
 private:
     SfxPoolItem * const m_pAttr;
diff --git a/sw/inc/txtfld.hxx b/sw/inc/txtfld.hxx
index fa40f76..9a53eb4 100644
--- a/sw/inc/txtfld.hxx
+++ b/sw/inc/txtfld.hxx
@@ -28,7 +28,7 @@
 class SwPaM;
 class SwTxtNode;
 
-class SwTxtFld : public virtual SwTxtAttr
+class SW_DLLPUBLIC SwTxtFld : public virtual SwTxtAttr
 {
     mutable OUString m_aExpand; // only used to determine, if field content is changing in <ExpandTxtFld()>
     SwTxtNode * m_pTxtNode;
diff --git a/sw/inc/txttxmrk.hxx b/sw/inc/txttxmrk.hxx
index 6436b85..a63aeae 100644
--- a/sw/inc/txttxmrk.hxx
+++ b/sw/inc/txttxmrk.hxx
@@ -25,7 +25,7 @@ class SwTxtNode;
 class SwDoc;
 
 // Attribute for indices/tables of contents.
-class SwTxtTOXMark : public SwTxtAttrEnd
+class SW_DLLPUBLIC SwTxtTOXMark : public SwTxtAttrEnd
 {
     SwTxtNode * m_pTxtNode;
     sal_Int32 * m_pEnd;   // 0 if SwTOXMark without AlternativeText
diff --git a/sw/inc/unocrsr.hxx b/sw/inc/unocrsr.hxx
index 66aa05a..2cdedef 100644
--- a/sw/inc/unocrsr.hxx
+++ b/sw/inc/unocrsr.hxx
@@ -22,7 +22,7 @@
 #include <swcrsr.hxx>
 #include <calbck.hxx>
 
-class SwUnoCrsr : public virtual SwCursor, public SwModify
+class SW_DLLPUBLIC SwUnoCrsr : public virtual SwCursor, public SwModify
 {
 private:
     bool m_bRemainInSection : 1;
diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx
index 20c9403..602516e 100644
--- a/sw/inc/unotbl.hxx
+++ b/sw/inc/unotbl.hxx
@@ -289,7 +289,7 @@ struct SwRangeDescriptor
 };
 
 class SwTableProperties_Impl;
-class SwXTextTable : public cppu::WeakImplHelper
+class SW_DLLPUBLIC SwXTextTable : public cppu::WeakImplHelper
 <
     ::com::sun::star::text::XTextTable,
     ::com::sun::star::lang::XServiceInfo,
diff --git a/sw/inc/viscrs.hxx b/sw/inc/viscrs.hxx
index a96d366..a673530 100644
--- a/sw/inc/viscrs.hxx
+++ b/sw/inc/viscrs.hxx
@@ -112,7 +112,7 @@ public:
                                     long* pX = 0, long* pY = 0 );
 };
 
-class SwShellCrsr : public virtual SwCursor, public SwSelPaintRects
+class SW_DLLPUBLIC SwShellCrsr : public virtual SwCursor, public SwSelPaintRects
 {
 private:
     // Document positions of start/end characters of a SSelection.
diff --git a/sw/source/uibase/inc/chldwrap.hxx b/sw/source/uibase/inc/chldwrap.hxx
index d9b6574..c705d41 100644
--- a/sw/source/uibase/inc/chldwrap.hxx
+++ b/sw/source/uibase/inc/chldwrap.hxx
@@ -24,7 +24,7 @@
 
 class SwDocShell;
 
-class SwChildWinWrapper : public SfxChildWindow
+class SW_DLLPUBLIC SwChildWinWrapper : public SfxChildWindow
 {
     Timer       m_aUpdateTimer;
     SwDocShell* m_pDocSh;
diff --git a/sw/source/uibase/inc/pview.hxx b/sw/source/uibase/inc/pview.hxx
index b33a451..800f553 100644
--- a/sw/source/uibase/inc/pview.hxx
+++ b/sw/source/uibase/inc/pview.hxx
@@ -43,7 +43,7 @@ class SvtAccessibilityOptions;
 class SwPagePreviewLayout;
 
 // Delete member <mnVirtPage> and its accessor
-class SwPagePreviewWin : public vcl::Window
+class SW_DLLPUBLIC SwPagePreviewWin : public vcl::Window
 {
     SwViewShell*          mpViewShell;
     sal_uInt16              mnSttPage;


More information about the Libreoffice-commits mailing list