diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-10-26 19:50:13 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-10-26 20:03:50 +0200 |
commit | ee3189489c0205ec221fbc907a01c711b58fc42e (patch) | |
tree | 1cd2fd05e3518d9484b11f0fc29b6e458a629338 /sw/source/core/doc/doccorr.cxx | |
parent | 2e99447fc07df98ebbc343ef79852b7eaf7b7757 (diff) |
sw: ViewShell -> SwViewShell rename
It's a public class, so it should have the 'Sw' prefix.
Change-Id: I0040c1cc37ffcba7fc5f58b71c86f4a7cb0bfce4
Diffstat (limited to 'sw/source/core/doc/doccorr.cxx')
-rw-r--r-- | sw/source/core/doc/doccorr.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/doc/doccorr.cxx b/sw/source/core/doc/doccorr.cxx index 9376d60a0e14..9dd757cc408e 100644 --- a/sw/source/core/doc/doccorr.cxx +++ b/sw/source/core/doc/doccorr.cxx @@ -38,14 +38,14 @@ #define PCURSH ((SwCrsrShell*)_pStartShell) #define FOREACHSHELL_START( pEShell ) \ {\ - ViewShell *_pStartShell = pEShell; \ + SwViewShell *_pStartShell = pEShell; \ do { \ if( _pStartShell->IsA( TYPE( SwCrsrShell )) ) \ { #define FOREACHSHELL_END( pEShell ) \ } \ - } while((_pStartShell=(ViewShell*)_pStartShell->GetNext())!= pEShell ); \ + } while((_pStartShell=(SwViewShell*)_pStartShell->GetNext())!= pEShell ); \ } namespace @@ -314,12 +314,12 @@ void SwDoc::CorrRel(const SwNodeIndex& rOldNode, ::PaMCorrRel(rOldNode, rNewPos, nOffset); } -SwEditShell* SwDoc::GetEditShell( ViewShell** ppSh ) const +SwEditShell* SwDoc::GetEditShell( SwViewShell** ppSh ) const { // Layout and OLE shells should be available if( mpCurrentView ) { - ViewShell *pSh = mpCurrentView, *pVSh = pSh; + SwViewShell *pSh = mpCurrentView, *pVSh = pSh; if( ppSh ) *ppSh = pSh; @@ -328,7 +328,7 @@ SwEditShell* SwDoc::GetEditShell( ViewShell** ppSh ) const if( pSh->IsA( TYPE( SwEditShell ) ) ) return (SwEditShell*)pSh; - } while( pVSh != ( pSh = (ViewShell*)pSh->GetNext() )); + } while( pVSh != ( pSh = (SwViewShell*)pSh->GetNext() )); } else if( ppSh ) *ppSh = 0; |