diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-08-23 07:32:59 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-08-23 07:32:59 +0000 |
commit | 7407dc96cf097d7c71257be4848cf5c0be42aa67 (patch) | |
tree | 3b2b7a7009690e2a2b3d5d4d80b2ce88f36179f2 /sw/inc/fmtfld.hxx | |
parent | d000b5091f753ded54fd1cf44e64bcb5f97c6f1e (diff) |
INTEGRATION: CWS tune03 (1.2.70); FILE MERGED
2004/07/19 19:10:34 mhu 1.2.70.1: #i29979# Added SW_DLLPUBLIC/PRIVATE (see swdllapi.h) to exported symbols/classes.
Diffstat (limited to 'sw/inc/fmtfld.hxx')
-rw-r--r-- | sw/inc/fmtfld.hxx | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/sw/inc/fmtfld.hxx b/sw/inc/fmtfld.hxx index 2b83b68a5648..99df8e0c1e8d 100644 --- a/sw/inc/fmtfld.hxx +++ b/sw/inc/fmtfld.hxx @@ -2,9 +2,9 @@ * * $RCSfile: fmtfld.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: kz $ $Date: 2004-05-18 13:57:37 $ + * last change: $Author: rt $ $Date: 2004-08-23 08:32:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -61,10 +61,13 @@ #ifndef _FMTFLD_HXX #define _FMTFLD_HXX - #ifndef _SFXPOOLITEM_HXX //autogen #include <svtools/poolitem.hxx> #endif + +#ifndef INCLUDED_SWDLLAPI_H +#include "swdllapi.h" +#endif #ifndef _CALBCK_HXX //autogen #include <calbck.hxx> #endif @@ -72,23 +75,30 @@ class SwField; // ATT_FLD *********************************** -class SwFmtFld : public SfxPoolItem, public SwClient +class SW_DLLPUBLIC SwFmtFld : public SfxPoolItem, public SwClient { friend class SwTxtFld; friend void _InitCore(); SwField *pField; SwTxtFld* pTxtAttr; // mein TextAttribut + SwFmtFld(); // das default-Attibut // geschuetzter CopyCtor + // @@@ copy construction allowed, but copy assignment is not? @@@ SwFmtFld& operator=(const SwFmtFld& rFld); + public: TYPEINFO(); - SwFmtFld( const SwField &rFld ); + // single argument constructors shall be explicit. + explicit SwFmtFld( const SwField &rFld ); + + // @@@ copy construction allowed, but copy assignment is not? @@@ SwFmtFld( const SwFmtFld& rAttr ); - ~SwFmtFld(); + + virtual ~SwFmtFld(); // "pure virtual Methoden" vom SfxPoolItem virtual int operator==( const SfxPoolItem& ) const; |