diff options
Diffstat (limited to 'sw/source/core/inc')
-rw-r--r-- | sw/source/core/inc/drawfont.hxx | 6 | ||||
-rw-r--r-- | sw/source/core/inc/fntcache.hxx | 6 | ||||
-rw-r--r-- | sw/source/core/inc/swfont.hxx | 6 | ||||
-rw-r--r-- | sw/source/core/inc/visiturl.hxx | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/core/inc/drawfont.hxx b/sw/source/core/inc/drawfont.hxx index f95fc87df621..db58a47571dd 100644 --- a/sw/source/core/inc/drawfont.hxx +++ b/sw/source/core/inc/drawfont.hxx @@ -39,7 +39,7 @@ class SwDrawTextInfo { const SwTxtFrm* pFrm; OutputDevice* pOut; - SwViewShell* pSh; + SwViewShell const * pSh; const SwScriptInfo* pScriptInfo; Point m_aPos; OUString m_aText; @@ -102,7 +102,7 @@ public: bool m_bDrawSp: 1; #endif - SwDrawTextInfo( SwViewShell *pS, OutputDevice &rO, const SwScriptInfo* pSI, + SwDrawTextInfo( SwViewShell const *pS, OutputDevice &rO, const SwScriptInfo* pSI, const OUString &rSt, sal_Int32 nI, sal_Int32 nL, sal_uInt16 nW = 0, bool bB = false ) { @@ -164,7 +164,7 @@ public: pFrm = pNewFrm; } - SwViewShell *GetShell() const + SwViewShell const *GetShell() const { return pSh; } diff --git a/sw/source/core/inc/fntcache.hxx b/sw/source/core/inc/fntcache.hxx index 106b7076ecfa..10a7112320b3 100644 --- a/sw/source/core/inc/fntcache.hxx +++ b/sw/source/core/inc/fntcache.hxx @@ -88,7 +88,7 @@ public: DECL_FIXEDMEMPOOL_NEWDEL(SwFntObj) SwFntObj( const SwSubFont &rFont, const void* pOwner, - SwViewShell *pSh ); + SwViewShell const *pSh ); virtual ~SwFntObj(); @@ -122,13 +122,13 @@ public: class SwFntAccess : public SwCacheAccess { - SwViewShell *pShell; + SwViewShell const *pShell; protected: virtual SwCacheObj *NewObj( ) SAL_OVERRIDE; public: SwFntAccess( const void * &rMagic, sal_uInt16 &rIndex, const void *pOwner, - SwViewShell *pShell, + SwViewShell const *pShell, bool bCheck = false ); inline SwFntObj* Get() { return (SwFntObj*) SwCacheAccess::Get(); }; }; diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx index 0c1bc28c0fb4..ed1d5ff3083c 100644 --- a/sw/source/core/inc/swfont.hxx +++ b/sw/source/core/inc/swfont.hxx @@ -70,7 +70,7 @@ class SwSubFont : public SvxFont short _CheckKerning( ); - bool ChgFnt( SwViewShell *pSh, OutputDevice& rOut ); + bool ChgFnt( SwViewShell const *pSh, OutputDevice& rOut ); bool IsSymbol( SwViewShell *pSh ); sal_uInt16 GetAscent( SwViewShell *pSh, const OutputDevice& rOut ); sal_uInt16 GetHeight( SwViewShell *pSh, const OutputDevice& rOut ); @@ -173,7 +173,7 @@ public: SwFont( const SwAttrSet* pSet, const IDocumentSettingAccess* pIDocumentSettingAccess ); SwFont( const SwFont& rFont ); - inline void ChgFnt( SwViewShell *pSh, OutputDevice& rOut ) + inline void ChgFnt( SwViewShell const *pSh, OutputDevice& rOut ) { bPaintBlank = aSub[nActual].ChgFnt( pSh, rOut ); } ~SwFont(); @@ -340,7 +340,7 @@ public: Size GetCapitalSize( SwDrawTextInfo& rInf ) { return aSub[nActual].GetCapitalSize( rInf ); } - sal_Int32 GetCapitalBreak( SwViewShell* pSh, const OutputDevice* pOut, + sal_Int32 GetCapitalBreak( SwViewShell const* pSh, const OutputDevice* pOut, const SwScriptInfo* pScript, const OUString& rTxt, long nTextWidth, const sal_Int32 nIdx, const sal_Int32 nLen ); diff --git a/sw/source/core/inc/visiturl.hxx b/sw/source/core/inc/visiturl.hxx index e43fe77bd487..109b9b55cf80 100644 --- a/sw/source/core/inc/visiturl.hxx +++ b/sw/source/core/inc/visiturl.hxx @@ -26,9 +26,9 @@ class SwDoc; class SwURLStateChanged : public SfxListener { - const SwDoc* pDoc; + SwDoc* pDoc; public: - SwURLStateChanged( const SwDoc* pD ); + SwURLStateChanged( SwDoc* pD ); virtual ~SwURLStateChanged(); virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE; |