diff options
42 files changed, 292 insertions, 293 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 978d6b6c642d..adf33191645a 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -232,11 +232,11 @@ private: SwFrm* m_oldColFrm; - SW_DLLPRIVATE void UpdateCrsr( + SAL_DLLPRIVATE void UpdateCrsr( sal_uInt16 eFlags = SwCrsrShell::SCROLLWIN|SwCrsrShell::CHKRANGE, sal_Bool bIdleEnd = sal_False ); - SW_DLLPRIVATE void _ParkPams( SwPaM* pDelRg, SwShellCrsr** ppDelRing ); + SAL_DLLPRIVATE void _ParkPams( SwPaM* pDelRg, SwShellCrsr** ppDelRing ); /** Mark a certain list level of a certain list @@ -247,23 +247,23 @@ private: An empty sListId denotes that no level of a list is marked. */ - SW_DLLPRIVATE void MarkListLevel( const OUString& sListId, + SAL_DLLPRIVATE void MarkListLevel( const OUString& sListId, const int nLevel ); // private method(s) accessed from public inline method(s) must be exported. sal_Bool LeftRight( sal_Bool, sal_uInt16, sal_uInt16, sal_Bool ); - SW_DLLPRIVATE sal_Bool UpDown( sal_Bool, sal_uInt16 ); - SW_DLLPRIVATE sal_Bool LRMargin( sal_Bool, sal_Bool bAPI = sal_False ); - SW_DLLPRIVATE sal_Bool IsAtLRMargin( sal_Bool, sal_Bool bAPI = sal_False ) const; + SAL_DLLPRIVATE sal_Bool UpDown( sal_Bool, sal_uInt16 ); + SAL_DLLPRIVATE sal_Bool LRMargin( sal_Bool, sal_Bool bAPI = sal_False ); + SAL_DLLPRIVATE sal_Bool IsAtLRMargin( sal_Bool, sal_Bool bAPI = sal_False ) const; - SW_DLLPRIVATE short GetTextDirection( const Point* pPt = 0 ) const; + SAL_DLLPRIVATE short GetTextDirection( const Point* pPt = 0 ) const; - SW_DLLPRIVATE bool isInHiddenTxtFrm(SwShellCrsr* pShellCrsr); + SAL_DLLPRIVATE bool isInHiddenTxtFrm(SwShellCrsr* pShellCrsr); typedef sal_Bool (SwCursor:: *FNCrsr)(); - SW_DLLPRIVATE sal_Bool CallCrsrFN( FNCrsr ); + SAL_DLLPRIVATE sal_Bool CallCrsrFN( FNCrsr ); - SW_DLLPRIVATE const SwRangeRedline* _GotoRedline( sal_uInt16 nArrPos, sal_Bool bSelect ); + SAL_DLLPRIVATE const SwRangeRedline* _GotoRedline( sal_uInt16 nArrPos, sal_Bool bSelect ); protected: @@ -296,7 +296,7 @@ protected: /** Updates the marked list level according to the cursor. */ - SW_DLLPRIVATE void UpdateMarkedListLevel(); + SAL_DLLPRIVATE void UpdateMarkedListLevel(); protected: virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew); diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx index f99468db7d2c..009584f483d8 100644 --- a/sw/inc/dbmgr.hxx +++ b/sw/inc/dbmgr.hxx @@ -202,22 +202,22 @@ friend class SwConnectionDisposedListener_Impl; SwNewDBMgr_Impl* pImpl; const SwXMailMerge* pMergeEvtSrc; ///< != 0 if mail merge events are to be send - SW_DLLPRIVATE SwDSParam* FindDSData(const SwDBData& rData, sal_Bool bCreate); - SW_DLLPRIVATE SwDSParam* FindDSConnection(const OUString& rSource, sal_Bool bCreate); + SAL_DLLPRIVATE SwDSParam* FindDSData(const SwDBData& rData, sal_Bool bCreate); + SAL_DLLPRIVATE SwDSParam* FindDSConnection(const OUString& rSource, sal_Bool bCreate); - SW_DLLPRIVATE DECL_LINK( PrtCancelHdl, Button * ); + SAL_DLLPRIVATE DECL_LINK( PrtCancelHdl, Button * ); /// Insert data record as text into document. - SW_DLLPRIVATE void ImportFromConnection( SwWrtShell* pSh); + SAL_DLLPRIVATE void ImportFromConnection( SwWrtShell* pSh); /// Insert a single data record as text into document. - SW_DLLPRIVATE void ImportDBEntry(SwWrtShell* pSh); + SAL_DLLPRIVATE void ImportDBEntry(SwWrtShell* pSh); /// merge to file _and_ merge to e-Mail - SW_DLLPRIVATE sal_Bool MergeMailFiles(SwWrtShell* pSh, + SAL_DLLPRIVATE sal_Bool MergeMailFiles(SwWrtShell* pSh, const SwMergeDescriptor& rMergeDescriptor ); - SW_DLLPRIVATE sal_Bool ToNextRecord(SwDSParam* pParam); + SAL_DLLPRIVATE sal_Bool ToNextRecord(SwDSParam* pParam); public: SwNewDBMgr(); diff --git a/sw/inc/ddefld.hxx b/sw/inc/ddefld.hxx index 867d1e2fbd9e..97dfe92b2b33 100644 --- a/sw/inc/ddefld.hxx +++ b/sw/inc/ddefld.hxx @@ -41,7 +41,7 @@ class SW_DLLPUBLIC SwDDEFieldType : public SwFieldType sal_Bool bCRLFFlag : 1; sal_Bool bDeleted : 1; - SW_DLLPRIVATE void _RefCntChgd(); + SAL_DLLPRIVATE void _RefCntChgd(); public: SwDDEFieldType( const OUString& rName, const OUString& rCmd, diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index 308811ef2fa1..20dfcea30f33 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -76,39 +76,39 @@ class SW_DLLPUBLIC SwDocShell: public SfxObjectShell, public SfxListener bool bIsATemplate; ///< prevent nested calls of UpdateFontList /// Methods for access to doc. - SW_DLLPRIVATE void AddLink(); - SW_DLLPRIVATE void RemoveLink(); + SAL_DLLPRIVATE void AddLink(); + SAL_DLLPRIVATE void RemoveLink(); /// Catch hint for DocInfo. - SW_DLLPRIVATE virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); + SAL_DLLPRIVATE virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); /// FileIO - SW_DLLPRIVATE virtual sal_Bool InitNew( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage ); - SW_DLLPRIVATE virtual sal_Bool Load( SfxMedium& rMedium ); - SW_DLLPRIVATE virtual sal_Bool LoadFrom( SfxMedium& rMedium ); - SW_DLLPRIVATE virtual sal_Bool ConvertFrom( SfxMedium &rMedium ); - SW_DLLPRIVATE virtual sal_Bool ConvertTo( SfxMedium &rMedium ); - SW_DLLPRIVATE virtual sal_Bool SaveAs( SfxMedium& rMedium ); - SW_DLLPRIVATE virtual sal_Bool SaveCompleted( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage ); + SAL_DLLPRIVATE virtual sal_Bool InitNew( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage ); + SAL_DLLPRIVATE virtual sal_Bool Load( SfxMedium& rMedium ); + SAL_DLLPRIVATE virtual sal_Bool LoadFrom( SfxMedium& rMedium ); + SAL_DLLPRIVATE virtual sal_Bool ConvertFrom( SfxMedium &rMedium ); + SAL_DLLPRIVATE virtual sal_Bool ConvertTo( SfxMedium &rMedium ); + SAL_DLLPRIVATE virtual sal_Bool SaveAs( SfxMedium& rMedium ); + SAL_DLLPRIVATE virtual sal_Bool SaveCompleted( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage ); - SW_DLLPRIVATE virtual bool PrepareClose( sal_Bool bUI = sal_True ) SAL_OVERRIDE; + SAL_DLLPRIVATE virtual bool PrepareClose( sal_Bool bUI = sal_True ) SAL_OVERRIDE; - SW_DLLPRIVATE virtual bool InsertGeneratedStream(SfxMedium& rMedium, + SAL_DLLPRIVATE virtual bool InsertGeneratedStream(SfxMedium& rMedium, css::uno::Reference<css::text::XTextRange> const& xInsertPosition) SAL_OVERRIDE; /// Make DocInfo known to the Doc. - SW_DLLPRIVATE virtual SfxDocumentInfoDialog* CreateDocumentInfoDialog( + SAL_DLLPRIVATE virtual SfxDocumentInfoDialog* CreateDocumentInfoDialog( Window *pParent, const SfxItemSet &); /// OLE-stuff - SW_DLLPRIVATE virtual void Draw( OutputDevice*, const JobSetup&, sal_uInt16); + SAL_DLLPRIVATE virtual void Draw( OutputDevice*, const JobSetup&, sal_uInt16); /// Methods for StyleSheets // @param nSlot // Only used for nFamily == SFX_STYLE_FAMILY_PAGE. Identifies optional Slot by which the edit is triggered. // Used to activate certain dialog pane - SW_DLLPRIVATE sal_uInt16 Edit( + SAL_DLLPRIVATE sal_uInt16 Edit( const OUString &rName, const OUString& rParent, const sal_uInt16 nFamily, @@ -118,23 +118,23 @@ class SW_DLLPUBLIC SwDocShell: public SfxObjectShell, public SfxListener SwWrtShell* pActShell = 0, const sal_Bool bBasic = sal_False ); - SW_DLLPRIVATE sal_uInt16 Delete(const OUString &rName, sal_uInt16 nFamily); - SW_DLLPRIVATE sal_uInt16 Hide(const OUString &rName, sal_uInt16 nFamily, bool bHidden); - SW_DLLPRIVATE sal_uInt16 ApplyStyles(const OUString &rName, sal_uInt16 nFamily, SwWrtShell* pShell = 0, + SAL_DLLPRIVATE sal_uInt16 Delete(const OUString &rName, sal_uInt16 nFamily); + SAL_DLLPRIVATE sal_uInt16 Hide(const OUString &rName, sal_uInt16 nFamily, bool bHidden); + SAL_DLLPRIVATE sal_uInt16 ApplyStyles(const OUString &rName, sal_uInt16 nFamily, SwWrtShell* pShell = 0, sal_uInt16 nMode = 0 ); - SW_DLLPRIVATE sal_uInt16 DoWaterCan( const OUString &rName, sal_uInt16 nFamily); - SW_DLLPRIVATE sal_uInt16 UpdateStyle(const OUString &rName, sal_uInt16 nFamily, SwWrtShell* pShell = 0); - SW_DLLPRIVATE sal_uInt16 MakeByExample(const OUString &rName, + SAL_DLLPRIVATE sal_uInt16 DoWaterCan( const OUString &rName, sal_uInt16 nFamily); + SAL_DLLPRIVATE sal_uInt16 UpdateStyle(const OUString &rName, sal_uInt16 nFamily, SwWrtShell* pShell = 0); + SAL_DLLPRIVATE sal_uInt16 MakeByExample(const OUString &rName, sal_uInt16 nFamily, sal_uInt16 nMask, SwWrtShell* pShell = 0); - SW_DLLPRIVATE void InitDraw(); - SW_DLLPRIVATE void SubInitNew(); ///< for InitNew and HtmlSourceMode. + SAL_DLLPRIVATE void InitDraw(); + SAL_DLLPRIVATE void SubInitNew(); ///< for InitNew and HtmlSourceMode. - SW_DLLPRIVATE void RemoveOLEObjects(); - SW_DLLPRIVATE void CalcLayoutForOLEObjects(); + SAL_DLLPRIVATE void RemoveOLEObjects(); + SAL_DLLPRIVATE void CalcLayoutForOLEObjects(); - SW_DLLPRIVATE void Init_Impl(); - SW_DLLPRIVATE DECL_STATIC_LINK( SwDocShell, IsLoadFinished, void* ); + SAL_DLLPRIVATE void Init_Impl(); + SAL_DLLPRIVATE DECL_STATIC_LINK( SwDocShell, IsLoadFinished, void* ); using SfxObjectShell::GetVisArea; @@ -296,8 +296,8 @@ public: GetController(); SfxInPlaceClient* GetIPClient( const ::svt::EmbeddedObjectRef& xObjRef ); - SW_DLLPRIVATE sal_Bool IsTemplate() { return bIsATemplate; } - SW_DLLPRIVATE void SetIsTemplate( bool bValue ) { bIsATemplate = bValue; } + SAL_DLLPRIVATE sal_Bool IsTemplate() { return bIsATemplate; } + SAL_DLLPRIVATE void SetIsTemplate( bool bValue ) { bIsATemplate = bValue; } virtual const ::sfx2::IXmlIdRegistry* GetXmlIdRegistry() const; diff --git a/sw/inc/docstyle.hxx b/sw/inc/docstyle.hxx index a08ff60a9c83..f213eefd10c2 100644 --- a/sw/inc/docstyle.hxx +++ b/sw/inc/docstyle.hxx @@ -68,7 +68,7 @@ class SW_DLLPUBLIC SwDocStyleSheet : public SfxStyleSheetBase /// Make empty shell a real StyleSheet (Core). - SW_DLLPRIVATE void Create(); + SAL_DLLPRIVATE void Create(); /// Fill StyleSheet with data. enum FillStyleType { @@ -77,7 +77,7 @@ class SW_DLLPUBLIC SwDocStyleSheet : public SfxStyleSheetBase FillPhysical }; - SW_DLLPRIVATE sal_Bool FillStyleSheet( FillStyleType eFType ); + SAL_DLLPRIVATE sal_Bool FillStyleSheet( FillStyleType eFType ); protected: virtual ~SwDocStyleSheet(); diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index a50b1fd15812..58bf231075ec 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -149,15 +149,15 @@ class SW_DLLPUBLIC SwEditShell: public SwCrsrShell /// For the PamCorrAbs/-Rel methods. friend class SwUndo; - SW_DLLPRIVATE SfxPoolItem& _GetChrFmt( SfxPoolItem& ) const; + SAL_DLLPRIVATE SfxPoolItem& _GetChrFmt( SfxPoolItem& ) const; /** Returns pointer to a SwGrfNode that will be used by GetGraphic() and GetGraphicSize(). */ - SW_DLLPRIVATE SwGrfNode *_GetGrfNode() const ; + SAL_DLLPRIVATE SwGrfNode *_GetGrfNode() const ; - SW_DLLPRIVATE void DeleteSel( SwPaM& rPam, sal_Bool* pUndo = 0 ); + SAL_DLLPRIVATE void DeleteSel( SwPaM& rPam, sal_Bool* pUndo = 0 ); - SW_DLLPRIVATE void _SetSectionAttr( SwSectionFmt& rSectFmt, const SfxItemSet& rSet ); + SAL_DLLPRIVATE void _SetSectionAttr( SwSectionFmt& rSectFmt, const SfxItemSet& rSet ); using SwViewShell::UpdateFlds; using SwModify::GetInfo; diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx index 8f16c0de0382..7877ac996622 100644 --- a/sw/inc/fesh.hxx +++ b/sw/inc/fesh.hxx @@ -171,41 +171,41 @@ class SW_DLLPUBLIC SwFEShell : public SwEditShell SdrDropMarkerOverlay *pChainFrom, *pChainTo; sal_Bool bCheckForOLEInCaption; - SW_DLLPRIVATE SwFlyFrm *FindFlyFrm() const; - SW_DLLPRIVATE SwFlyFrm *FindFlyFrm( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >& ) const; + SAL_DLLPRIVATE SwFlyFrm *FindFlyFrm() const; + SAL_DLLPRIVATE SwFlyFrm *FindFlyFrm( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >& ) const; /// Terminate actions for all shells and call ChangeLink. - SW_DLLPRIVATE void EndAllActionAndCall(); + SAL_DLLPRIVATE void EndAllActionAndCall(); - SW_DLLPRIVATE void ScrollTo( const Point &rPt ); + SAL_DLLPRIVATE void ScrollTo( const Point &rPt ); - SW_DLLPRIVATE void ChangeOpaque( SdrLayerID nLayerId ); + SAL_DLLPRIVATE void ChangeOpaque( SdrLayerID nLayerId ); /** Used for mouse operations on a table: @return a cell frame that is 'close' to rPt. */ - SW_DLLPRIVATE const SwFrm *GetBox( const Point &rPt, bool* pbRow = 0, bool* pbCol = 0 ) const; + SAL_DLLPRIVATE const SwFrm *GetBox( const Point &rPt, bool* pbRow = 0, bool* pbCol = 0 ) const; // 0 == not in any column. - SW_DLLPRIVATE sal_uInt16 _GetCurColNum( const SwFrm *pFrm, + SAL_DLLPRIVATE sal_uInt16 _GetCurColNum( const SwFrm *pFrm, SwGetCurColNumPara* pPara ) const; - SW_DLLPRIVATE void _GetTabCols( SwTabCols &rToFill, const SwFrm *pBox ) const; - SW_DLLPRIVATE void _GetTabRows( SwTabCols &rToFill, const SwFrm *pBox ) const; + SAL_DLLPRIVATE void _GetTabCols( SwTabCols &rToFill, const SwFrm *pBox ) const; + SAL_DLLPRIVATE void _GetTabRows( SwTabCols &rToFill, const SwFrm *pBox ) const; - SW_DLLPRIVATE sal_Bool ImpEndCreate(); + SAL_DLLPRIVATE sal_Bool ImpEndCreate(); - SW_DLLPRIVATE ObjCntType GetObjCntType( const SdrObject& rObj ) const; + SAL_DLLPRIVATE ObjCntType GetObjCntType( const SdrObject& rObj ) const; /// Methods for copying of draw objects. - SW_DLLPRIVATE sal_Bool CopyDrawSel( SwFEShell* pDestShell, const Point& rSttPt, + SAL_DLLPRIVATE sal_Bool CopyDrawSel( SwFEShell* pDestShell, const Point& rSttPt, const Point& rInsPt, sal_Bool bIsMove, sal_Bool bSelectInsert ); /// Get list of marked SdrObjects; /// helper method for GetSelFrmType, IsSelContainsControl. - SW_DLLPRIVATE const SdrMarkList* _GetMarkList() const; + SAL_DLLPRIVATE const SdrMarkList* _GetMarkList() const; - SW_DLLPRIVATE sal_Bool CheckHeadline( bool bRepeat ) const; + SAL_DLLPRIVATE sal_Bool CheckHeadline( bool bRepeat ) const; using SwEditShell::Copy; diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx index 1e2091840207..29dae274d1a1 100644 --- a/sw/inc/fldbas.hxx +++ b/sw/inc/fldbas.hxx @@ -252,10 +252,10 @@ protected: public: - SW_DLLPRIVATE ::com::sun::star::uno::WeakReference< + SAL_DLLPRIVATE ::com::sun::star::uno::WeakReference< ::com::sun::star::beans::XPropertySet> const& GetXObject() const { return m_wXFieldMaster; } - SW_DLLPRIVATE void SetXObject(::com::sun::star::uno::Reference< + SAL_DLLPRIVATE void SetXObject(::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> const& xFieldMaster) { m_wXFieldMaster = xFieldMaster; } diff --git a/sw/inc/fmtclds.hxx b/sw/inc/fmtclds.hxx index e20aee540dfc..0e733d7dec9d 100644 --- a/sw/inc/fmtclds.hxx +++ b/sw/inc/fmtclds.hxx @@ -88,7 +88,7 @@ class SW_DLLPUBLIC SwFmtCol : public SfxPoolItem When it is set (again) the visual arrangement is recalculated. The flag is initially set. */ - SW_DLLPRIVATE void Calc( sal_uInt16 nGutterWidth, sal_uInt16 nAct ); + SAL_DLLPRIVATE void Calc( sal_uInt16 nGutterWidth, sal_uInt16 nAct ); public: SwFmtCol(); diff --git a/sw/inc/fmtfld.hxx b/sw/inc/fmtfld.hxx index b545328fe072..46021a44cf01 100644 --- a/sw/inc/fmtfld.hxx +++ b/sw/inc/fmtfld.hxx @@ -106,10 +106,10 @@ public: bool IsFldInDoc() const; sal_Bool IsProtect() const; - SW_DLLPRIVATE ::com::sun::star::uno::WeakReference< + SAL_DLLPRIVATE ::com::sun::star::uno::WeakReference< ::com::sun::star::text::XTextField> const& GetXTextField() const { return m_wXTextField; } - SW_DLLPRIVATE void SetXTextField(::com::sun::star::uno::Reference< + SAL_DLLPRIVATE void SetXTextField(::com::sun::star::uno::Reference< ::com::sun::star::text::XTextField> const& xTextField) { m_wXTextField = xTextField; } }; diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx index 1b26316d7ee6..636f0cb1e869 100644 --- a/sw/inc/frmfmt.hxx +++ b/sw/inc/frmfmt.hxx @@ -129,10 +129,10 @@ public: void SetCaptionFmt(SwFrmFmt* pFmt); SwFrmFmt* GetCaptionFmt() const; - SW_DLLPRIVATE ::com::sun::star::uno::WeakReference< + SAL_DLLPRIVATE ::com::sun::star::uno::WeakReference< ::com::sun::star::uno::XInterface> const& GetXObject() const { return m_wXObject; } - SW_DLLPRIVATE void SetXObject(::com::sun::star::uno::Reference< + SAL_DLLPRIVATE void SetXObject(::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> const& xObject) { m_wXObject = xObject; } diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index ea5982812185..683d15456a01 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -115,25 +115,25 @@ class SW_DLLPUBLIC SwTxtNode: public SwCntntNode, public ::sfx2::Metadatable ::com::sun::star::uno::WeakReference< ::com::sun::star::text::XTextContent> m_wXParagraph; - SW_DLLPRIVATE SwTxtNode( const SwNodeIndex &rWhere, SwTxtFmtColl *pTxtColl, + SAL_DLLPRIVATE SwTxtNode( const SwNodeIndex &rWhere, SwTxtFmtColl *pTxtColl, const SfxItemSet* pAutoAttr = 0 ); /// Copies the attributes at nStart to pDest. - SW_DLLPRIVATE void CopyAttr( SwTxtNode *pDest, const sal_Int32 nStart, const sal_Int32 nOldPos); + SAL_DLLPRIVATE void CopyAttr( SwTxtNode *pDest, const sal_Int32 nStart, const sal_Int32 nOldPos); - SW_DLLPRIVATE SwTxtNode* _MakeNewTxtNode( const SwNodeIndex&, sal_Bool bNext = sal_True, + SAL_DLLPRIVATE SwTxtNode* _MakeNewTxtNode( const SwNodeIndex&, sal_Bool bNext = sal_True, sal_Bool bChgFollow = sal_True ); - SW_DLLPRIVATE void CutImpl( + SAL_DLLPRIVATE void CutImpl( SwTxtNode * const pDest, const SwIndex & rDestStart, const SwIndex & rStart, /*const*/ sal_Int32 nLen, const bool bUpdate = true ); /// Move all comprising hard attributes to the AttrSet of the paragraph. - SW_DLLPRIVATE void MoveTxtAttr_To_AttrSet(); // Called by SplitNode. + SAL_DLLPRIVATE void MoveTxtAttr_To_AttrSet(); // Called by SplitNode. /// Create the specific AttrSet. - SW_DLLPRIVATE virtual void NewAttrSet( SwAttrPool& ); + SAL_DLLPRIVATE virtual void NewAttrSet( SwAttrPool& ); /// Optimization: Asking for information about hidden characters at SwScriptInfo /// updates these flags. @@ -146,25 +146,25 @@ class SW_DLLPUBLIC SwTxtNode: public SwCntntNode, public ::sfx2::Metadatable m_bRecalcHiddenCharFlags = false; } - SW_DLLPRIVATE void CalcHiddenCharFlags() const; + SAL_DLLPRIVATE void CalcHiddenCharFlags() const; - SW_DLLPRIVATE SwNumRule * _GetNumRule(sal_Bool bInParent = sal_True) const; + SAL_DLLPRIVATE SwNumRule * _GetNumRule(sal_Bool bInParent = sal_True) const; - SW_DLLPRIVATE void SetLanguageAndFont( const SwPaM &rPaM, + SAL_DLLPRIVATE void SetLanguageAndFont( const SwPaM &rPaM, LanguageType nLang, sal_uInt16 nLangWhichId, const Font *pFont, sal_uInt16 nFontWhichId ); /// Start: Data collected during idle time - SW_DLLPRIVATE void SetParaNumberOfWords( sal_uLong nTmpWords ) const; - SW_DLLPRIVATE sal_uLong GetParaNumberOfWords() const; - SW_DLLPRIVATE void SetParaNumberOfAsianWords( sal_uLong nTmpAsianWords ) const; - SW_DLLPRIVATE sal_uLong GetParaNumberOfAsianWords() const; - SW_DLLPRIVATE void SetParaNumberOfChars( sal_uLong nTmpChars ) const; - SW_DLLPRIVATE sal_uLong GetParaNumberOfChars() const; - SW_DLLPRIVATE void SetParaNumberOfCharsExcludingSpaces( sal_uLong nTmpChars ) const; - SW_DLLPRIVATE sal_uLong GetParaNumberOfCharsExcludingSpaces() const; - SW_DLLPRIVATE void InitSwParaStatistics( bool bNew ); + SAL_DLLPRIVATE void SetParaNumberOfWords( sal_uLong nTmpWords ) const; + SAL_DLLPRIVATE sal_uLong GetParaNumberOfWords() const; + SAL_DLLPRIVATE void SetParaNumberOfAsianWords( sal_uLong nTmpAsianWords ) const; + SAL_DLLPRIVATE sal_uLong GetParaNumberOfAsianWords() const; + SAL_DLLPRIVATE void SetParaNumberOfChars( sal_uLong nTmpChars ) const; + SAL_DLLPRIVATE sal_uLong GetParaNumberOfChars() const; + SAL_DLLPRIVATE void SetParaNumberOfCharsExcludingSpaces( sal_uLong nTmpChars ) const; + SAL_DLLPRIVATE sal_uLong GetParaNumberOfCharsExcludingSpaces() const; + SAL_DLLPRIVATE void InitSwParaStatistics( bool bNew ); /** create number for this text node, if not already existing @@ -174,7 +174,7 @@ class SW_DLLPUBLIC SwTxtNode: public SwCntntNode, public ::sfx2::Metadatable inline void TryDeleteSwpHints(); - SW_DLLPRIVATE void impl_FmtToTxtAttr(const SfxItemSet& i_rAttrSet); + SAL_DLLPRIVATE void impl_FmtToTxtAttr(const SfxItemSet& i_rAttrSet); const SwTxtInputFld* GetOverlappingInputFld( const SwTxtAttr& rTxtAttr ) const; @@ -772,10 +772,10 @@ public: sal_uInt16 GetScalingOfSelectedText( sal_Int32 nStt, sal_Int32 nEnd ) const; - SW_DLLPRIVATE ::com::sun::star::uno::WeakReference< + SAL_DLLPRIVATE ::com::sun::star::uno::WeakReference< ::com::sun::star::text::XTextContent> const& GetXParagraph() const { return m_wXParagraph; } - SW_DLLPRIVATE void SetXParagraph(::com::sun::star::uno::Reference< + SAL_DLLPRIVATE void SetXParagraph(::com::sun::star::uno::Reference< ::com::sun::star::text::XTextContent> const& xParagraph) { m_wXParagraph = xParagraph; } diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx index 1dbfbfc9fcb9..68c9f282832b 100644 --- a/sw/inc/numrule.hxx +++ b/sw/inc/numrule.hxx @@ -52,8 +52,8 @@ class SW_DLLPUBLIC SwNumFmt : public SvxNumberFormat, public SwClient SwFmtVertOrient* pVertOrient; //For i120928,record the cp info of graphic within bullet sal_Unicode cGrfBulletCP; - SW_DLLPRIVATE void UpdateNumNodes( SwDoc* pDoc ); - SW_DLLPRIVATE virtual void NotifyGraphicArrived(); + SAL_DLLPRIVATE void UpdateNumNodes( SwDoc* pDoc ); + SAL_DLLPRIVATE virtual void NotifyGraphicArrived(); using SvxNumberFormat::operator ==; using SvxNumberFormat::operator !=; diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx index b0bcceccc489..9d72b6c8be45 100644 --- a/sw/inc/pagedesc.hxx +++ b/sw/inc/pagedesc.hxx @@ -151,11 +151,11 @@ class SW_DLLPUBLIC SwPageDesc : public SwModify /** Called for mirroring of Chg (doc). No adjustment at any other place. */ - SW_DLLPRIVATE void Mirror(); + SAL_DLLPRIVATE void Mirror(); - SW_DLLPRIVATE void ResetAllAttr( sal_Bool bLeft ); + SAL_DLLPRIVATE void ResetAllAttr( sal_Bool bLeft ); - SW_DLLPRIVATE SwPageDesc(const OUString&, SwFrmFmt*, SwDoc *pDc ); + SAL_DLLPRIVATE SwPageDesc(const OUString&, SwFrmFmt*, SwDoc *pDc ); protected: virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNewValue ); diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx index 603ad1e608e7..5a483636b9bf 100644 --- a/sw/inc/section.hxx +++ b/sw/inc/section.hxx @@ -106,10 +106,10 @@ public: void SetHidden(bool const bFlag = true) { m_bHidden = bFlag; } bool IsHiddenFlag() const { return m_bHiddenFlag; } - SW_DLLPRIVATE void + SAL_DLLPRIVATE void SetHiddenFlag(bool const bFlag) { m_bHiddenFlag = bFlag; } bool IsProtectFlag() const { return m_bProtectFlag; } - SW_DLLPRIVATE void + SAL_DLLPRIVATE void SetProtectFlag(bool const bFlag) { m_bProtectFlag = bFlag; } bool IsEditInReadonlyFlag() const { return m_bEditInReadonlyFlag; } void SetEditInReadonlyFlag(bool const bFlag) @@ -158,7 +158,7 @@ private: SwServerObjectRef m_RefObj; // Set if DataServer. ::sfx2::SvBaseLinkRef m_RefLink; - SW_DLLPRIVATE void ImplSetHiddenFlag( + SAL_DLLPRIVATE void ImplSetHiddenFlag( bool const bHidden, bool const bCondition); protected: @@ -295,7 +295,7 @@ class SW_DLLPUBLIC SwSectionFmt ::com::sun::star::uno::WeakReference< ::com::sun::star::text::XTextSection> m_wXTextSection; - SW_DLLPRIVATE void UpdateParent(); // Parent has been changed. + SAL_DLLPRIVATE void UpdateParent(); // Parent has been changed. protected: SwSectionFmt( SwSectionFmt* pDrvdFrm, SwDoc *pDoc ); @@ -337,10 +337,10 @@ public: // Is section a valid one for global document? const SwSection* GetGlobalDocSection() const; - SW_DLLPRIVATE ::com::sun::star::uno::WeakReference< + SAL_DLLPRIVATE ::com::sun::star::uno::WeakReference< ::com::sun::star::text::XTextSection> const& GetXTextSection() const { return m_wXTextSection; } - SW_DLLPRIVATE void SetXTextSection(::com::sun::star::uno::Reference< + SAL_DLLPRIVATE void SetXTextSection(::com::sun::star::uno::Reference< ::com::sun::star::text::XTextSection> const& xTextSection) { m_wXTextSection = xTextSection; } diff --git a/sw/inc/swdbtoolsclient.hxx b/sw/inc/swdbtoolsclient.hxx index 69fa86eedbc1..923835acd278 100644 --- a/sw/inc/swdbtoolsclient.hxx +++ b/sw/inc/swdbtoolsclient.hxx @@ -34,12 +34,12 @@ private: ::rtl::Reference< ::connectivity::simple::IDataAccessTypeConversion > m_xAccessTypeConversion; ::rtl::Reference< ::connectivity::simple::IDataAccessToolsFactory > m_xDataAccessFactory; - SW_DLLPRIVATE static void registerClient(); - SW_DLLPRIVATE static void revokeClient(); - SW_DLLPRIVATE void getFactory(); + SAL_DLLPRIVATE static void registerClient(); + SAL_DLLPRIVATE static void revokeClient(); + SAL_DLLPRIVATE void getFactory(); - SW_DLLPRIVATE ::rtl::Reference< ::connectivity::simple::IDataAccessTools > getDataAccessTools(); - SW_DLLPRIVATE ::rtl::Reference< ::connectivity::simple::IDataAccessTypeConversion > getAccessTypeConversion(); + SAL_DLLPRIVATE ::rtl::Reference< ::connectivity::simple::IDataAccessTools > getDataAccessTools(); + SAL_DLLPRIVATE ::rtl::Reference< ::connectivity::simple::IDataAccessTypeConversion > getAccessTypeConversion(); public: SwDbtoolsClient(); diff --git a/sw/inc/swdllapi.h b/sw/inc/swdllapi.h index f719ff7fcbd7..91108f7e45a0 100644 --- a/sw/inc/swdllapi.h +++ b/sw/inc/swdllapi.h @@ -27,7 +27,6 @@ #else #define SW_DLLPUBLIC SAL_DLLPUBLIC_IMPORT #endif -#define SW_DLLPRIVATE SAL_DLLPRIVATE #endif // INCLUDED_SW_INC_SWDLLAPI_H diff --git a/sw/inc/tblafmt.hxx b/sw/inc/tblafmt.hxx index edf87d1cf53a..d85d5e50138a 100644 --- a/sw/inc/tblafmt.hxx +++ b/sw/inc/tblafmt.hxx @@ -302,8 +302,8 @@ class SW_DLLPUBLIC SwTableAutoFmtTbl struct Impl; ::boost::scoped_ptr<Impl> m_pImpl; - SW_DLLPRIVATE sal_Bool Load( SvStream& rStream ); - SW_DLLPRIVATE sal_Bool Save( SvStream& rStream ) const; + SAL_DLLPRIVATE sal_Bool Load( SvStream& rStream ); + SAL_DLLPRIVATE sal_Bool Save( SvStream& rStream ) const; public: explicit SwTableAutoFmtTbl(); diff --git a/sw/inc/tox.hxx b/sw/inc/tox.hxx index 9e4efebfe05a..d87198c2caeb 100644 --- a/sw/inc/tox.hxx +++ b/sw/inc/tox.hxx @@ -131,10 +131,10 @@ public: const SwTxtTOXMark* GetTxtTOXMark() const { return pTxtAttr; } SwTxtTOXMark* GetTxtTOXMark() { return pTxtAttr; } - SW_DLLPRIVATE ::com::sun::star::uno::WeakReference< + SAL_DLLPRIVATE ::com::sun::star::uno::WeakReference< ::com::sun::star::text::XDocumentIndexMark> const& GetXTOXMark() const { return m_wXDocumentIndexMark; } - SW_DLLPRIVATE void SetXTOXMark(::com::sun::star::uno::Reference< + SAL_DLLPRIVATE void SetXTOXMark(::com::sun::star::uno::Reference< ::com::sun::star::text::XDocumentIndexMark> const& xMark) { m_wXDocumentIndexMark = xMark; } void DeRegister() { GetRegisteredInNonConst()->Remove( this ); } @@ -269,7 +269,7 @@ class SW_DLLPUBLIC SwFormTokensHelper @return the token */ - SW_DLLPRIVATE SwFormToken BuildToken( const OUString & sPattern, + SAL_DLLPRIVATE SwFormToken BuildToken( const OUString & sPattern, sal_Int32 & nCurPatternPos ) const; /** @@ -280,7 +280,7 @@ class SW_DLLPUBLIC SwFormTokensHelper @return the string representation of the token */ - SW_DLLPRIVATE OUString SearchNextToken( const OUString & sPattern, + SAL_DLLPRIVATE OUString SearchNextToken( const OUString & sPattern, sal_Int32 nStt ) const; /** @@ -294,7 +294,7 @@ class SW_DLLPUBLIC SwFormTokensHelper @return the type of the token */ - SW_DLLPRIVATE FormTokenType GetTokenType(const OUString & sToken, + SAL_DLLPRIVATE FormTokenType GetTokenType(const OUString & sToken, sal_Int32 * pTokenLen) const; public: diff --git a/sw/inc/txtatr.hxx b/sw/inc/txtatr.hxx index 2c879250d2fb..c8bd9e648d5a 100644 --- a/sw/inc/txtatr.hxx +++ b/sw/inc/txtatr.hxx @@ -97,7 +97,7 @@ public: virtual bool GetInfo( SfxPoolItem& rInfo ) const; - SW_DLLPRIVATE void InitRuby(SwTxtNode & rNode); + SAL_DLLPRIVATE void InitRuby(SwTxtNode & rNode); /// Get and set TxtNode pointer. const SwTxtNode* GetpTxtNode() const { return m_pTxtNode; } diff --git a/sw/inc/txtinet.hxx b/sw/inc/txtinet.hxx index f2d78460584f..85f6cc4377be 100644 --- a/sw/inc/txtinet.hxx +++ b/sw/inc/txtinet.hxx @@ -44,7 +44,7 @@ public: virtual bool GetInfo( SfxPoolItem& rInfo ) const; - SW_DLLPRIVATE void InitINetFmt(SwTxtNode & rNode); + SAL_DLLPRIVATE void InitINetFmt(SwTxtNode & rNode); // get and set TxtNode pointer const SwTxtNode* GetpTxtNode() const { return m_pTxtNode; } diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx index ccd63e557fa6..a5f142d3efaa 100644 --- a/sw/inc/viewsh.hxx +++ b/sw/inc/viewsh.hxx @@ -167,23 +167,23 @@ class SW_DLLPUBLIC SwViewShell : public Ring SwRootFrmPtr mpLayout; // Initialization; called by the diverse constructors. - SW_DLLPRIVATE void Init( const SwViewOption *pNewOpt ); + SAL_DLLPRIVATE void Init( const SwViewOption *pNewOpt ); inline void ResetInvalidRect(); - SW_DLLPRIVATE void Reformat(); // Invalidates complete Layout (ApplyViewOption). + SAL_DLLPRIVATE void Reformat(); // Invalidates complete Layout (ApplyViewOption). - SW_DLLPRIVATE void PaintDesktop( const SwRect & ); // Collect values for painting of desktop + SAL_DLLPRIVATE void PaintDesktop( const SwRect & ); // Collect values for painting of desktop // and calling. // PaintDesktop split. This pars is also used by PreviewPage. - SW_DLLPRIVATE void _PaintDesktop( const SwRegionRects &rRegion ); + SAL_DLLPRIVATE void _PaintDesktop( const SwRegionRects &rRegion ); - SW_DLLPRIVATE sal_Bool CheckInvalidForPaint( const SwRect & ); // Direct Paint or rather + SAL_DLLPRIVATE sal_Bool CheckInvalidForPaint( const SwRect & ); // Direct Paint or rather // trigger an action. - SW_DLLPRIVATE void PrepareForPrint( const SwPrintData &rOptions ); + SAL_DLLPRIVATE void PrepareForPrint( const SwPrintData &rOptions ); - SW_DLLPRIVATE void ImplApplyViewOptions( const SwViewOption &rOpt ); + SAL_DLLPRIVATE void ImplApplyViewOptions( const SwViewOption &rOpt ); protected: static ShellResource* mpShellRes; ///< Resources for the Shell. diff --git a/sw/source/ui/dbui/mmoutputpage.hxx b/sw/source/ui/dbui/mmoutputpage.hxx index 8a8c3baf92db..b18aa7a0473c 100644 --- a/sw/source/ui/dbui/mmoutputpage.hxx +++ b/sw/source/ui/dbui/mmoutputpage.hxx @@ -191,16 +191,16 @@ class SW_DLLPUBLIC SwSendMailDialog : public ModelessDialog //SfxModalDialog sal_Int32 m_nSendCount; sal_Int32 m_nErrorCount; - SW_DLLPRIVATE DECL_LINK( DetailsHdl_Impl, void* ); - SW_DLLPRIVATE DECL_LINK( StopHdl_Impl, PushButton* ); - SW_DLLPRIVATE DECL_LINK( CloseHdl_Impl, void* ); - SW_DLLPRIVATE DECL_STATIC_LINK( SwSendMailDialog, StartSendMails, SwSendMailDialog* ); - SW_DLLPRIVATE DECL_STATIC_LINK( SwSendMailDialog, StopSendMails, SwSendMailDialog* ); - SW_DLLPRIVATE DECL_STATIC_LINK( SwSendMailDialog, RemoveThis, Timer* ); - - SW_DLLPRIVATE void IterateMails(); - SW_DLLPRIVATE void SendMails(); - SW_DLLPRIVATE void UpdateTransferStatus(); + SAL_DLLPRIVATE DECL_LINK( DetailsHdl_Impl, void* ); + SAL_DLLPRIVATE DECL_LINK( StopHdl_Impl, PushButton* ); + SAL_DLLPRIVATE DECL_LINK( CloseHdl_Impl, void* ); + SAL_DLLPRIVATE DECL_STATIC_LINK( SwSendMailDialog, StartSendMails, SwSendMailDialog* ); + SAL_DLLPRIVATE DECL_STATIC_LINK( SwSendMailDialog, StopSendMails, SwSendMailDialog* ); + SAL_DLLPRIVATE DECL_STATIC_LINK( SwSendMailDialog, RemoveThis, Timer* ); + + SAL_DLLPRIVATE void IterateMails(); + SAL_DLLPRIVATE void SendMails(); + SAL_DLLPRIVATE void UpdateTransferStatus(); virtual void StateChanged( StateChangedType nStateChange ); diff --git a/sw/source/ui/inc/condedit.hxx b/sw/source/ui/inc/condedit.hxx index f358bf1ba768..514a23e58c55 100644 --- a/sw/source/ui/inc/condedit.hxx +++ b/sw/source/ui/inc/condedit.hxx @@ -27,8 +27,8 @@ class SW_DLLPUBLIC ConditionEdit : public Edit, public DropTargetHelper { bool bBrackets, bEnableDrop; - SW_DLLPRIVATE virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ); - SW_DLLPRIVATE virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ); + SAL_DLLPRIVATE virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ); + SAL_DLLPRIVATE virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ); public: ConditionEdit(Window* pParent, WinBits nStyle); diff --git a/sw/source/ui/inc/dbconfig.hxx b/sw/source/ui/inc/dbconfig.hxx index e847d4806a28..042a719b7338 100644 --- a/sw/source/ui/inc/dbconfig.hxx +++ b/sw/source/ui/inc/dbconfig.hxx @@ -26,7 +26,7 @@ struct SwDBData; class SW_DLLPUBLIC SwDBConfig : public utl::ConfigItem { - SW_DLLPRIVATE const com::sun::star::uno::Sequence<OUString>& GetPropertyNames(); + SAL_DLLPRIVATE const com::sun::star::uno::Sequence<OUString>& GetPropertyNames(); SwDBData* pAdrImpl; SwDBData* pBibImpl; diff --git a/sw/source/ui/inc/dbtree.hxx b/sw/source/ui/inc/dbtree.hxx index 1000e9685333..7120cbf25e17 100644 --- a/sw/source/ui/inc/dbtree.hxx +++ b/sw/source/ui/inc/dbtree.hxx @@ -41,13 +41,13 @@ class SW_DLLPUBLIC SwDBTreeList : public SvTreeListBox SwDBTreeList_Impl* pImpl; - SW_DLLPRIVATE DECL_LINK( DBCompare, SvSortData* ); + SAL_DLLPRIVATE DECL_LINK( DBCompare, SvSortData* ); - SW_DLLPRIVATE void InitTreeList(); - SW_DLLPRIVATE virtual void RequestingChildren( SvTreeListEntry* pParent ); + SAL_DLLPRIVATE void InitTreeList(); + SAL_DLLPRIVATE virtual void RequestingChildren( SvTreeListEntry* pParent ); - SW_DLLPRIVATE virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ); - SW_DLLPRIVATE virtual void StartDrag( sal_Int8 nAction, const Point& rPosPixel ); + SAL_DLLPRIVATE virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ); + SAL_DLLPRIVATE virtual void StartDrag( sal_Int8 nAction, const Point& rPosPixel ); using SvTreeListBox::Select; diff --git a/sw/source/ui/inc/fldmgr.hxx b/sw/source/ui/inc/fldmgr.hxx index 784c1755be8f..da04b9153ed2 100644 --- a/sw/source/ui/inc/fldmgr.hxx +++ b/sw/source/ui/inc/fldmgr.hxx @@ -117,11 +117,11 @@ private: sal_uLong nCurFmt; sal_Bool bEvalExp; - SW_DLLPRIVATE sal_uInt16 GetCurrLanguage() const; + SAL_DLLPRIVATE sal_uInt16 GetCurrLanguage() const; com::sun::star::uno::Reference<com::sun::star::container::XNameAccess> xDBContext; com::sun::star::uno::Reference<com::sun::star::text::XNumberingTypeInfo> xNumberingInfo; - SW_DLLPRIVATE com::sun::star::uno::Reference<com::sun::star::text::XNumberingTypeInfo> GetNumberingInfo()const; + SAL_DLLPRIVATE com::sun::star::uno::Reference<com::sun::star::text::XNumberingTypeInfo> GetNumberingInfo()const; public: SwFldMgr(SwWrtShell* pSh = 0); diff --git a/sw/source/ui/inc/fontcfg.hxx b/sw/source/ui/inc/fontcfg.hxx index 265a94f072f5..fd8873f8d061 100644 --- a/sw/source/ui/inc/fontcfg.hxx +++ b/sw/source/ui/inc/fontcfg.hxx @@ -59,7 +59,7 @@ class SW_DLLPUBLIC SwStdFontConfig : public utl::ConfigItem OUString sDefaultFonts[DEF_FONT_COUNT]; sal_Int32 nDefaultFontHeight[DEF_FONT_COUNT]; - SW_DLLPRIVATE com::sun::star::uno::Sequence<OUString> GetPropertyNames(); + SAL_DLLPRIVATE com::sun::star::uno::Sequence<OUString> GetPropertyNames(); void ChangeString(sal_uInt16 nFontType, const OUString& rSet) { diff --git a/sw/source/ui/inc/frmmgr.hxx b/sw/source/ui/inc/frmmgr.hxx index 6e089fbf2b1a..47ea8b39ddc6 100644 --- a/sw/source/ui/inc/frmmgr.hxx +++ b/sw/source/ui/inc/frmmgr.hxx @@ -60,12 +60,12 @@ class SW_DLLPUBLIC SwFlyFrmAttrMgr sal_Bool bIsInVerticalL2R; // internal calculation for borders - SW_DLLPRIVATE SwTwips CalcTopSpace(); - SW_DLLPRIVATE SwTwips CalcBottomSpace(); - SW_DLLPRIVATE SwTwips CalcLeftSpace(); - SW_DLLPRIVATE SwTwips CalcRightSpace(); + SAL_DLLPRIVATE SwTwips CalcTopSpace(); + SAL_DLLPRIVATE SwTwips CalcBottomSpace(); + SAL_DLLPRIVATE SwTwips CalcLeftSpace(); + SAL_DLLPRIVATE SwTwips CalcRightSpace(); - SW_DLLPRIVATE void _UpdateFlyFrm(); // post-treatment after insert or update + SAL_DLLPRIVATE void _UpdateFlyFrm(); // post-treatment after insert or update public: SwFlyFrmAttrMgr( sal_Bool bNew, SwWrtShell* pSh, sal_uInt8 nType ); diff --git a/sw/source/ui/inc/glosdoc.hxx b/sw/source/ui/inc/glosdoc.hxx index caba047877ae..80a1c3af3f9d 100644 --- a/sw/source/ui/inc/glosdoc.hxx +++ b/sw/source/ui/inc/glosdoc.hxx @@ -55,12 +55,12 @@ class SW_DLLPUBLIC SwGlossaries std::vector<OUString> m_GlosArr; sal_Bool m_bError; - SW_DLLPRIVATE SwTextBlocks* GetGlosDoc(const OUString &rName, sal_Bool bCreate = sal_True) const; - SW_DLLPRIVATE std::vector<OUString> & GetNameList(); + SAL_DLLPRIVATE SwTextBlocks* GetGlosDoc(const OUString &rName, sal_Bool bCreate = sal_True) const; + SAL_DLLPRIVATE std::vector<OUString> & GetNameList(); // implementation in unoatxt.cxx - SW_DLLPRIVATE void RemoveFileFromList( const OUString& rGroup ); - SW_DLLPRIVATE void InvalidateUNOOjects(); + SAL_DLLPRIVATE void RemoveFileFromList( const OUString& rGroup ); + SAL_DLLPRIVATE void InvalidateUNOOjects(); public: SwGlossaries(); diff --git a/sw/source/ui/inc/gloshdl.hxx b/sw/source/ui/inc/gloshdl.hxx index ab33a9ae72ad..2d341fd80ec0 100644 --- a/sw/source/ui/inc/gloshdl.hxx +++ b/sw/source/ui/inc/gloshdl.hxx @@ -38,11 +38,11 @@ class SW_DLLPUBLIC SwGlossaryHdl SwWrtShell* pWrtShell; SwTextBlocks* pCurGrp; - SW_DLLPRIVATE void _SetMacros(const OUString &rName, + SAL_DLLPRIVATE void _SetMacros(const OUString &rName, const SvxMacro *pStart, const SvxMacro *pEnd); - SW_DLLPRIVATE sal_Bool Expand( const OUString& rShortName, + SAL_DLLPRIVATE sal_Bool Expand( const OUString& rShortName, SwGlossaries* pGlossaries, SwTextBlocks *pGlossary ); diff --git a/sw/source/ui/inc/numfmtlb.hxx b/sw/source/ui/inc/numfmtlb.hxx index 137f2de042c7..e8b8cbb37ccc 100644 --- a/sw/source/ui/inc/numfmtlb.hxx +++ b/sw/source/ui/inc/numfmtlb.hxx @@ -38,11 +38,11 @@ class SW_DLLPUBLIC NumFormatListBox : public ListBox //to be shown in the number format dialog sal_Bool bUseAutomaticLanguage;//determine whether language is automatically assigned - SW_DLLPRIVATE DECL_LINK( SelectHdl, ListBox * ); + SAL_DLLPRIVATE DECL_LINK( SelectHdl, ListBox * ); - SW_DLLPRIVATE double GetDefValue(const short nFormatType) const; - SW_DLLPRIVATE void Init(short nFormatType, sal_Bool bUsrFmts); - SW_DLLPRIVATE SwView* GetView(); + SAL_DLLPRIVATE double GetDefValue(const short nFormatType) const; + SAL_DLLPRIVATE void Init(short nFormatType, sal_Bool bUsrFmts); + SAL_DLLPRIVATE SwView* GetView(); public: NumFormatListBox(Window* pWin, WinBits nStyle); diff --git a/sw/source/ui/inc/prcntfld.hxx b/sw/source/ui/inc/prcntfld.hxx index 707baf917db0..5e9422c03082 100644 --- a/sw/source/ui/inc/prcntfld.hxx +++ b/sw/source/ui/inc/prcntfld.hxx @@ -40,7 +40,7 @@ class SW_DLLPUBLIC PercentField bool bLockAutoCalculation; //prevent recalcution of percent values when the //reference value is changed - SW_DLLPRIVATE sal_Int64 ImpPower10(sal_uInt16 n); + SAL_DLLPRIVATE sal_Int64 ImpPower10(sal_uInt16 n); public: diff --git a/sw/source/ui/inc/pview.hxx b/sw/source/ui/inc/pview.hxx index 83ea13c1eccb..ef127fc22388 100644 --- a/sw/source/ui/inc/pview.hxx +++ b/sw/source/ui/inc/pview.hxx @@ -180,23 +180,23 @@ class SW_DLLPUBLIC SwPagePreview: public SfxViewShell sal_Bool mbResetFormDesignMode:1; sal_Bool mbFormDesignModeToReset:1; - SW_DLLPRIVATE void Init(const SwViewOption* = 0); - SW_DLLPRIVATE Point AlignToPixel(const Point& rPt) const; + SAL_DLLPRIVATE void Init(const SwViewOption* = 0); + SAL_DLLPRIVATE Point AlignToPixel(const Point& rPt) const; - SW_DLLPRIVATE int _CreateScrollbar( sal_Bool bHori ); - SW_DLLPRIVATE DECL_LINK( ScrollHdl, SwScrollbar * ); - SW_DLLPRIVATE DECL_LINK( EndScrollHdl, SwScrollbar * ); - SW_DLLPRIVATE DECL_LINK( BtnPage, Button * ); - SW_DLLPRIVATE bool ChgPage( int eMvMode, int bUpdateScrollbar = sal_True ); + SAL_DLLPRIVATE int _CreateScrollbar( sal_Bool bHori ); + SAL_DLLPRIVATE DECL_LINK( ScrollHdl, SwScrollbar * ); + SAL_DLLPRIVATE DECL_LINK( EndScrollHdl, SwScrollbar * ); + SAL_DLLPRIVATE DECL_LINK( BtnPage, Button * ); + SAL_DLLPRIVATE bool ChgPage( int eMvMode, int bUpdateScrollbar = sal_True ); - SW_DLLPRIVATE virtual SfxPrinter* GetPrinter( sal_Bool bCreate = sal_False ); - SW_DLLPRIVATE virtual sal_uInt16 SetPrinter( SfxPrinter *pNewPrinter, sal_uInt16 nDiffFlags = SFX_PRINTER_ALL, bool bIsAPI=false ); - SW_DLLPRIVATE virtual bool HasPrintOptionsPage() const; - SW_DLLPRIVATE virtual SfxTabPage* CreatePrintOptionsPage( Window *pParent, + SAL_DLLPRIVATE virtual SfxPrinter* GetPrinter( sal_Bool bCreate = sal_False ); + SAL_DLLPRIVATE virtual sal_uInt16 SetPrinter( SfxPrinter *pNewPrinter, sal_uInt16 nDiffFlags = SFX_PRINTER_ALL, bool bIsAPI=false ); + SAL_DLLPRIVATE virtual bool HasPrintOptionsPage() const; + SAL_DLLPRIVATE virtual SfxTabPage* CreatePrintOptionsPage( Window *pParent, const SfxItemSet &rOptions ); - SW_DLLPRIVATE void CalcAndSetBorderPixel( SvBorder &rToFill, sal_Bool bInner ); + SAL_DLLPRIVATE void CalcAndSetBorderPixel( SvBorder &rToFill, sal_Bool bInner ); /** Helper method to execute SfxRequest FN_PAGE_UP and FN_PAGE_DOWN @@ -207,7 +207,7 @@ class SW_DLLPUBLIC SwPagePreview: public SfxViewShell @param _pReq optional input parameter - pointer to the <SfxRequest> instance, if existing. */ - SW_DLLPRIVATE void _ExecPgUpAndPgDown( const bool _bPgUp, + SAL_DLLPRIVATE void _ExecPgUpAndPgDown( const bool _bPgUp, SfxRequest* _pReq = 0 ); protected: diff --git a/sw/source/ui/inc/redlndlg.hxx b/sw/source/ui/inc/redlndlg.hxx index 4210861ba6fb..1d460a599cd5 100644 --- a/sw/source/ui/inc/redlndlg.hxx +++ b/sw/source/ui/inc/redlndlg.hxx @@ -94,25 +94,25 @@ class SW_DLLPUBLIC SwRedlineAcceptDlg // prevent update dialog data during longer operations (cf #102657#) bool bInhibitActivate; - SW_DLLPRIVATE DECL_LINK( AcceptHdl, void* ); - SW_DLLPRIVATE DECL_LINK( AcceptAllHdl, void* ); - SW_DLLPRIVATE DECL_LINK( RejectHdl, void* ); - SW_DLLPRIVATE DECL_LINK( RejectAllHdl, void* ); - SW_DLLPRIVATE DECL_LINK( UndoHdl, void* ); - SW_DLLPRIVATE DECL_LINK( DeselectHdl, void* ); - SW_DLLPRIVATE DECL_LINK( SelectHdl, void* ); - SW_DLLPRIVATE DECL_LINK( GotoHdl, void* ); - SW_DLLPRIVATE DECL_LINK( CommandHdl, void* ); - - SW_DLLPRIVATE sal_uInt16 CalcDiff(sal_uInt16 nStart, sal_Bool bChild); - SW_DLLPRIVATE void InsertChildren(SwRedlineDataParent *pParent, const SwRangeRedline& rRedln, const sal_uInt16 nAutoFmt); - SW_DLLPRIVATE void InsertParents(sal_uInt16 nStart, sal_uInt16 nEnd = USHRT_MAX); - SW_DLLPRIVATE void RemoveParents(sal_uInt16 nStart, sal_uInt16 nEnd); - SW_DLLPRIVATE void InitAuthors(); - - SW_DLLPRIVATE OUString GetRedlineText(const SwRangeRedline& rRedln, DateTime &rDateTime, sal_uInt16 nStack = 0); - SW_DLLPRIVATE OUString GetActionText(const SwRangeRedline& rRedln, sal_uInt16 nStack = 0); - SW_DLLPRIVATE sal_uInt16 GetRedlinePos( const SvTreeListEntry& rEntry) const; + SAL_DLLPRIVATE DECL_LINK( AcceptHdl, void* ); + SAL_DLLPRIVATE DECL_LINK( AcceptAllHdl, void* ); + SAL_DLLPRIVATE DECL_LINK( RejectHdl, void* ); + SAL_DLLPRIVATE DECL_LINK( RejectAllHdl, void* ); + SAL_DLLPRIVATE DECL_LINK( UndoHdl, void* ); + SAL_DLLPRIVATE DECL_LINK( DeselectHdl, void* ); + SAL_DLLPRIVATE DECL_LINK( SelectHdl, void* ); + SAL_DLLPRIVATE DECL_LINK( GotoHdl, void* ); + SAL_DLLPRIVATE DECL_LINK( CommandHdl, void* ); + + SAL_DLLPRIVATE sal_uInt16 CalcDiff(sal_uInt16 nStart, sal_Bool bChild); + SAL_DLLPRIVATE void InsertChildren(SwRedlineDataParent *pParent, const SwRangeRedline& rRedln, const sal_uInt16 nAutoFmt); + SAL_DLLPRIVATE void InsertParents(sal_uInt16 nStart, sal_uInt16 nEnd = USHRT_MAX); + SAL_DLLPRIVATE void RemoveParents(sal_uInt16 nStart, sal_uInt16 nEnd); + SAL_DLLPRIVATE void InitAuthors(); + + SAL_DLLPRIVATE OUString GetRedlineText(const SwRangeRedline& rRedln, DateTime &rDateTime, sal_uInt16 nStack = 0); + SAL_DLLPRIVATE OUString GetActionText(const SwRangeRedline& rRedln, sal_uInt16 nStack = 0); + SAL_DLLPRIVATE sal_uInt16 GetRedlinePos( const SvTreeListEntry& rEntry) const; public: SwRedlineAcceptDlg(Dialog *pParent, sal_Bool bAutoFmt = sal_False); diff --git a/sw/source/ui/inc/swlbox.hxx b/sw/source/ui/inc/swlbox.hxx index 3f2cfbf69213..502e48370fce 100644 --- a/sw/source/ui/inc/swlbox.hxx +++ b/sw/source/ui/inc/swlbox.hxx @@ -60,9 +60,9 @@ class SW_DLLPUBLIC SwComboBox : public ComboBox SwEntryLst aDelEntryLst; SwBoxEntry aDefault; - SW_DLLPRIVATE void InitComboBox(); - SW_DLLPRIVATE void InsertSorted(SwBoxEntry* pEntry); - SW_DLLPRIVATE void Init(); + SAL_DLLPRIVATE void InitComboBox(); + SAL_DLLPRIVATE void InsertSorted(SwBoxEntry* pEntry); + SAL_DLLPRIVATE void Init(); public: diff --git a/sw/source/ui/inc/tablemgr.hxx b/sw/source/ui/inc/tablemgr.hxx index b04aedaf204f..4144b9b9aa09 100644 --- a/sw/source/ui/inc/tablemgr.hxx +++ b/sw/source/ui/inc/tablemgr.hxx @@ -47,7 +47,7 @@ class SW_DLLPUBLIC SwTableFUNC SwTabCols aCols; private: - SW_DLLPRIVATE int GetRightSeparator(int nNum) const; + SAL_DLLPRIVATE int GetRightSeparator(int nNum) const; public: inline SwTableFUNC(SwFrmFmt &); diff --git a/sw/source/ui/inc/toxmgr.hxx b/sw/source/ui/inc/toxmgr.hxx index 14b51059289a..273ab7c0787d 100644 --- a/sw/source/ui/inc/toxmgr.hxx +++ b/sw/source/ui/inc/toxmgr.hxx @@ -265,7 +265,7 @@ class SW_DLLPUBLIC SwTOXMgr SwTOXMark* pCurTOXMark; SwTOXMarks aCurMarks; - SW_DLLPRIVATE sal_uInt16 GetUserTypeID(const OUString& rStr); + SAL_DLLPRIVATE sal_uInt16 GetUserTypeID(const OUString& rStr); public: // single argument ctors shall be explicit. diff --git a/sw/source/ui/inc/uinums.hxx b/sw/source/ui/inc/uinums.hxx index 39a94273215f..a474dbd88bd1 100644 --- a/sw/source/ui/inc/uinums.hxx +++ b/sw/source/ui/inc/uinums.hxx @@ -36,7 +36,7 @@ class SW_DLLPUBLIC SwNumRulesWithName OUString maName; // the NumRule's formats _have_ to be independent of a document // (They should always be there!) - class SW_DLLPRIVATE _SwNumFmtGlobal + class SAL_DLLPRIVATE _SwNumFmtGlobal { SwNumFmt aFmt; OUString sCharFmtName; diff --git a/sw/source/ui/inc/unotools.hxx b/sw/source/ui/inc/unotools.hxx index 49d954fe8b78..d5c76cf3fbf5 100644 --- a/sw/source/ui/inc/unotools.hxx +++ b/sw/source/ui/inc/unotools.hxx @@ -89,11 +89,11 @@ class SW_DLLPUBLIC SwOneExampleFrame static bool bShowServiceNotAvailableMessage; - SW_DLLPRIVATE DECL_LINK( TimeoutHdl, Timer* ); - SW_DLLPRIVATE DECL_LINK( PopupHdl, Menu* ); + SAL_DLLPRIVATE DECL_LINK( TimeoutHdl, Timer* ); + SAL_DLLPRIVATE DECL_LINK( PopupHdl, Menu* ); - SW_DLLPRIVATE void CreateControl(); - SW_DLLPRIVATE void DisposeControl(); + SAL_DLLPRIVATE void CreateControl(); + SAL_DLLPRIVATE void DisposeControl(); public: SwOneExampleFrame(Window& rWin, diff --git a/sw/source/ui/inc/view.hxx b/sw/source/ui/inc/view.hxx index b3fdbacf6c44..d6b68223f89a 100644 --- a/sw/source/ui/inc/view.hxx +++ b/sw/source/ui/inc/view.hxx @@ -273,96 +273,96 @@ class SW_DLLPUBLIC SwView: public SfxViewShell // methods for searching // set search context - SW_DLLPRIVATE sal_Bool SearchAndWrap(sal_Bool bApi = sal_False); - SW_DLLPRIVATE sal_Bool SearchAll(sal_uInt16* pFound = 0); - SW_DLLPRIVATE sal_uLong FUNC_Search( const SwSearchOptions& rOptions ); - SW_DLLPRIVATE void Replace(); + SAL_DLLPRIVATE sal_Bool SearchAndWrap(sal_Bool bApi = sal_False); + SAL_DLLPRIVATE sal_Bool SearchAll(sal_uInt16* pFound = 0); + SAL_DLLPRIVATE sal_uLong FUNC_Search( const SwSearchOptions& rOptions ); + SAL_DLLPRIVATE void Replace(); bool IsDocumentBorder(); - SW_DLLPRIVATE bool IsTextTool() const; + SAL_DLLPRIVATE bool IsTextTool() const; // create control elements - SW_DLLPRIVATE void CreateBtns(); - SW_DLLPRIVATE DECL_LINK( BtnPage, Button * ); + SAL_DLLPRIVATE void CreateBtns(); + SAL_DLLPRIVATE DECL_LINK( BtnPage, Button * ); - SW_DLLPRIVATE DECL_LINK( TimeoutHdl, void* ); - SW_DLLPRIVATE DECL_LINK( UpdatePercentHdl, GraphicFilter* ); + SAL_DLLPRIVATE DECL_LINK( TimeoutHdl, void* ); + SAL_DLLPRIVATE DECL_LINK( UpdatePercentHdl, GraphicFilter* ); - SW_DLLPRIVATE DECL_LINK( FieldPopupModeEndHdl, void* ); + SAL_DLLPRIVATE DECL_LINK( FieldPopupModeEndHdl, void* ); inline long GetXScroll() const; inline long GetYScroll() const; - SW_DLLPRIVATE Point AlignToPixel(const Point& rPt) const; - SW_DLLPRIVATE void CalcPt( Point* pPt,const Rectangle& rRect, + SAL_DLLPRIVATE Point AlignToPixel(const Point& rPt) const; + SAL_DLLPRIVATE void CalcPt( Point* pPt,const Rectangle& rRect, sal_uInt16 nRangeX = USHRT_MAX, sal_uInt16 nRangeY = USHRT_MAX); - SW_DLLPRIVATE sal_Bool GetPageScrollUpOffset(SwTwips& rOff) const; - SW_DLLPRIVATE sal_Bool GetPageScrollDownOffset(SwTwips& rOff) const; + SAL_DLLPRIVATE sal_Bool GetPageScrollUpOffset(SwTwips& rOff) const; + SAL_DLLPRIVATE sal_Bool GetPageScrollDownOffset(SwTwips& rOff) const; // scrollbar movements - SW_DLLPRIVATE long PageUp(); - SW_DLLPRIVATE long PageDown(); - SW_DLLPRIVATE long PageUpCrsr(sal_Bool bSelect); - SW_DLLPRIVATE long PageDownCrsr(sal_Bool bSelect); - SW_DLLPRIVATE long PhyPageUp(); - SW_DLLPRIVATE long PhyPageDown(); - - SW_DLLPRIVATE int _CreateScrollbar( sal_Bool bHori ); - SW_DLLPRIVATE DECL_LINK( ScrollHdl, SwScrollbar * ); - SW_DLLPRIVATE DECL_LINK( EndScrollHdl, SwScrollbar * ); - SW_DLLPRIVATE sal_Bool UpdateScrollbars(); - SW_DLLPRIVATE DECL_LINK( WindowChildEventListener, VclSimpleEvent* ); - SW_DLLPRIVATE void CalcVisArea( const Size &rPixelSz ); - - SW_DLLPRIVATE void CreatePageButtons(sal_Bool bShow); + SAL_DLLPRIVATE long PageUp(); + SAL_DLLPRIVATE long PageDown(); + SAL_DLLPRIVATE long PageUpCrsr(sal_Bool bSelect); + SAL_DLLPRIVATE long PageDownCrsr(sal_Bool bSelect); + SAL_DLLPRIVATE long PhyPageUp(); + SAL_DLLPRIVATE long PhyPageDown(); + + SAL_DLLPRIVATE int _CreateScrollbar( sal_Bool bHori ); + SAL_DLLPRIVATE DECL_LINK( ScrollHdl, SwScrollbar * ); + SAL_DLLPRIVATE DECL_LINK( EndScrollHdl, SwScrollbar * ); + SAL_DLLPRIVATE sal_Bool UpdateScrollbars(); + SAL_DLLPRIVATE DECL_LINK( WindowChildEventListener, VclSimpleEvent* ); + SAL_DLLPRIVATE void CalcVisArea( const Size &rPixelSz ); + + SAL_DLLPRIVATE void CreatePageButtons(sal_Bool bShow); // linguistics functions - SW_DLLPRIVATE void HyphenateDocument(); - SW_DLLPRIVATE sal_Bool IsDrawTextHyphenate(); - SW_DLLPRIVATE void HyphenateDrawText(); - SW_DLLPRIVATE void StartThesaurus(); + SAL_DLLPRIVATE void HyphenateDocument(); + SAL_DLLPRIVATE sal_Bool IsDrawTextHyphenate(); + SAL_DLLPRIVATE void HyphenateDrawText(); + SAL_DLLPRIVATE void StartThesaurus(); // text conversion - SW_DLLPRIVATE void StartTextConversion( LanguageType nSourceLang, LanguageType nTargetLang, const Font *pTargetFont, sal_Int32 nOptions, sal_Bool bIsInteractive ); + SAL_DLLPRIVATE void StartTextConversion( LanguageType nSourceLang, LanguageType nTargetLang, const Font *pTargetFont, sal_Int32 nOptions, sal_Bool bIsInteractive ); // used for spell checking and text conversion - SW_DLLPRIVATE void SpellStart( SvxSpellArea eSpell, bool bStartDone, + SAL_DLLPRIVATE void SpellStart( SvxSpellArea eSpell, bool bStartDone, bool bEndDone, SwConversionArgs *pConvArgs = 0 ); - SW_DLLPRIVATE void SpellEnd( SwConversionArgs *pConvArgs = 0 ); + SAL_DLLPRIVATE void SpellEnd( SwConversionArgs *pConvArgs = 0 ); - SW_DLLPRIVATE void HyphStart( SvxSpellArea eSpell ); - SW_DLLPRIVATE sal_Bool CheckSpecialCntnt(); - SW_DLLPRIVATE void SpellKontext(sal_Bool bOn = sal_True) + SAL_DLLPRIVATE void HyphStart( SvxSpellArea eSpell ); + SAL_DLLPRIVATE sal_Bool CheckSpecialCntnt(); + SAL_DLLPRIVATE void SpellKontext(sal_Bool bOn = sal_True) { m_bCenterCrsr = bOn; m_bAlwaysShowSel = bOn; } // methods for printing - SW_DLLPRIVATE virtual SfxPrinter* GetPrinter( sal_Bool bCreate = sal_False ); - SW_DLLPRIVATE virtual bool HasPrintOptionsPage() const; - SW_DLLPRIVATE virtual SfxTabPage* CreatePrintOptionsPage( Window* pParent, + SAL_DLLPRIVATE virtual SfxPrinter* GetPrinter( sal_Bool bCreate = sal_False ); + SAL_DLLPRIVATE virtual bool HasPrintOptionsPage() const; + SAL_DLLPRIVATE virtual SfxTabPage* CreatePrintOptionsPage( Window* pParent, const SfxItemSet& rSet); // for readonly switching - SW_DLLPRIVATE virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); - SW_DLLPRIVATE void _CheckReadonlyState(); - SW_DLLPRIVATE void _CheckReadonlySelection(); + SAL_DLLPRIVATE virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); + SAL_DLLPRIVATE void _CheckReadonlyState(); + SAL_DLLPRIVATE void _CheckReadonlySelection(); // method for rotating PageDesc - SW_DLLPRIVATE void SwapPageMargin(const SwPageDesc&, SvxLRSpaceItem& rLR); + SAL_DLLPRIVATE void SwapPageMargin(const SwPageDesc&, SvxLRSpaceItem& rLR); - SW_DLLPRIVATE void _SetZoom( const Size &rEditSz, + SAL_DLLPRIVATE void _SetZoom( const Size &rEditSz, SvxZoomType eZoomType, short nFactor = 100, sal_Bool bViewOnly = sal_False); - SW_DLLPRIVATE void CalcAndSetBorderPixel( SvBorder &rToFill, sal_Bool bInner ); + SAL_DLLPRIVATE void CalcAndSetBorderPixel( SvBorder &rToFill, sal_Bool bInner ); - SW_DLLPRIVATE void ShowAtResize(); + SAL_DLLPRIVATE void ShowAtResize(); - SW_DLLPRIVATE virtual void Move(); + SAL_DLLPRIVATE virtual void Move(); - SW_DLLPRIVATE sal_Bool InsertGraphicDlg( SfxRequest& ); + SAL_DLLPRIVATE sal_Bool InsertGraphicDlg( SfxRequest& ); - SW_DLLPRIVATE void DocumentStatsChanged(); + SAL_DLLPRIVATE void DocumentStatsChanged(); protected: diff --git a/sw/source/ui/inc/wrtsh.hxx b/sw/source/ui/inc/wrtsh.hxx index 2b6dfd72248c..2b1c922df595 100644 --- a/sw/source/ui/inc/wrtsh.hxx +++ b/sw/source/ui/inc/wrtsh.hxx @@ -475,8 +475,8 @@ typedef sal_Bool (SwWrtShell:: *FNSimpleMove)(); private: - SW_DLLPRIVATE void OpenMark(); - SW_DLLPRIVATE void CloseMark( bool bOkFlag ); + SAL_DLLPRIVATE void OpenMark(); + SAL_DLLPRIVATE void CloseMark( bool bOkFlag ); struct ModeStack { @@ -530,21 +530,21 @@ private: Point aDest; bool bDestOnStack; bool HasCrsrStack() const { return 0 != pCrsrStack; } - SW_DLLPRIVATE sal_Bool PushCrsr(SwTwips lOffset, sal_Bool bSelect); - SW_DLLPRIVATE sal_Bool PopCrsr(sal_Bool bUpdate, sal_Bool bSelect = sal_False); + SAL_DLLPRIVATE sal_Bool PushCrsr(SwTwips lOffset, sal_Bool bSelect); + SAL_DLLPRIVATE sal_Bool PopCrsr(sal_Bool bUpdate, sal_Bool bSelect = sal_False); // take END cursor along when PageUp / -Down - SW_DLLPRIVATE bool _SttWrd(); - SW_DLLPRIVATE bool _EndWrd(); - SW_DLLPRIVATE sal_Bool _NxtWrd(); - SW_DLLPRIVATE sal_Bool _PrvWrd(); + SAL_DLLPRIVATE bool _SttWrd(); + SAL_DLLPRIVATE bool _EndWrd(); + SAL_DLLPRIVATE sal_Bool _NxtWrd(); + SAL_DLLPRIVATE sal_Bool _PrvWrd(); // #i92468# - SW_DLLPRIVATE sal_Bool _NxtWrdForDelete(); - SW_DLLPRIVATE sal_Bool _PrvWrdForDelete(); - SW_DLLPRIVATE sal_Bool _FwdSentence(); - SW_DLLPRIVATE sal_Bool _BwdSentence(); + SAL_DLLPRIVATE sal_Bool _NxtWrdForDelete(); + SAL_DLLPRIVATE sal_Bool _PrvWrdForDelete(); + SAL_DLLPRIVATE sal_Bool _FwdSentence(); + SAL_DLLPRIVATE sal_Bool _BwdSentence(); sal_Bool _FwdPara(); - SW_DLLPRIVATE sal_Bool _BwdPara(); + SAL_DLLPRIVATE sal_Bool _BwdPara(); // selections sal_Bool bIns :1; @@ -564,40 +564,40 @@ private: Link aSelTblLink; // resets the cursor stack after movement by PageUp/-Down - SW_DLLPRIVATE void _ResetCursorStack(); + SAL_DLLPRIVATE void _ResetCursorStack(); - SW_DLLPRIVATE void SttDragDrop(Timer *); + SAL_DLLPRIVATE void SttDragDrop(Timer *); using SwCrsrShell::SetCrsr; - SW_DLLPRIVATE long SetCrsr(const Point *, sal_Bool bProp=sal_False ); + SAL_DLLPRIVATE long SetCrsr(const Point *, sal_Bool bProp=sal_False ); - SW_DLLPRIVATE long SetCrsrKillSel(const Point *, sal_Bool bProp=sal_False ); + SAL_DLLPRIVATE long SetCrsrKillSel(const Point *, sal_Bool bProp=sal_False ); - SW_DLLPRIVATE long StdSelect(const Point *, sal_Bool bProp=sal_False ); - SW_DLLPRIVATE long BeginDrag(const Point *, sal_Bool bProp=sal_False ); - SW_DLLPRIVATE long Drag(const Point *, sal_Bool bProp=sal_False ); - SW_DLLPRIVATE long EndDrag(const Point *, sal_Bool bProp=sal_False ); + SAL_DLLPRIVATE long StdSelect(const Point *, sal_Bool bProp=sal_False ); + SAL_DLLPRIVATE long BeginDrag(const Point *, sal_Bool bProp=sal_False ); + SAL_DLLPRIVATE long Drag(const Point *, sal_Bool bProp=sal_False ); + SAL_DLLPRIVATE long EndDrag(const Point *, sal_Bool bProp=sal_False ); - SW_DLLPRIVATE long ExtSelWrd(const Point *, sal_Bool bProp=sal_False ); - SW_DLLPRIVATE long ExtSelLn(const Point *, sal_Bool bProp=sal_False ); + SAL_DLLPRIVATE long ExtSelWrd(const Point *, sal_Bool bProp=sal_False ); + SAL_DLLPRIVATE long ExtSelLn(const Point *, sal_Bool bProp=sal_False ); // move text from Drag and Drop; Point is destination for all selections. - SW_DLLPRIVATE long MoveText(const Point *, sal_Bool bProp=sal_False ); + SAL_DLLPRIVATE long MoveText(const Point *, sal_Bool bProp=sal_False ); - SW_DLLPRIVATE long BeginFrmDrag(const Point *, sal_Bool bProp=sal_False ); + SAL_DLLPRIVATE long BeginFrmDrag(const Point *, sal_Bool bProp=sal_False ); // after SSize/Move of a frame update; Point is destination. - SW_DLLPRIVATE long UpdateLayoutFrm(const Point *, sal_Bool bProp=sal_False ); + SAL_DLLPRIVATE long UpdateLayoutFrm(const Point *, sal_Bool bProp=sal_False ); - SW_DLLPRIVATE long SttLeaveSelect(const Point *, sal_Bool bProp=sal_False ); - SW_DLLPRIVATE long AddLeaveSelect(const Point *, sal_Bool bProp=sal_False ); - SW_DLLPRIVATE long Ignore(const Point *, sal_Bool bProp=sal_False ); + SAL_DLLPRIVATE long SttLeaveSelect(const Point *, sal_Bool bProp=sal_False ); + SAL_DLLPRIVATE long AddLeaveSelect(const Point *, sal_Bool bProp=sal_False ); + SAL_DLLPRIVATE long Ignore(const Point *, sal_Bool bProp=sal_False ); - SW_DLLPRIVATE void LeaveExtSel() { bSelWrd = bSelLn = sal_False;} + SAL_DLLPRIVATE void LeaveExtSel() { bSelWrd = bSelLn = sal_False;} - SW_DLLPRIVATE sal_Bool GoStart(sal_Bool KeepArea = sal_False, sal_Bool * = 0, + SAL_DLLPRIVATE sal_Bool GoStart(sal_Bool KeepArea = sal_False, sal_Bool * = 0, sal_Bool bSelect = sal_False, sal_Bool bDontMoveRegion = sal_False); - SW_DLLPRIVATE sal_Bool GoEnd(sal_Bool KeepArea = sal_False, sal_Bool * = 0); + SAL_DLLPRIVATE sal_Bool GoEnd(sal_Bool KeepArea = sal_False, sal_Bool * = 0); enum BookMarkMove { @@ -607,7 +607,7 @@ private: BOOKMARK_LAST_LAST_ENTRY }; - SW_DLLPRIVATE sal_Bool MoveBookMark(BookMarkMove eFuncId, const ::sw::mark::IMark* const pMark=NULL); + SAL_DLLPRIVATE sal_Bool MoveBookMark(BookMarkMove eFuncId, const ::sw::mark::IMark* const pMark=NULL); }; inline void SwWrtShell::ResetCursorStack() |