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/ui/wrtsh | |
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/ui/wrtsh')
-rw-r--r-- | sw/source/ui/wrtsh/move.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/wrtsh1.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/wrtsh2.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/wrtsh/move.cxx b/sw/source/ui/wrtsh/move.cxx index 72f26a2b3c9c..7f5cab28888b 100644 --- a/sw/source/ui/wrtsh/move.cxx +++ b/sw/source/ui/wrtsh/move.cxx @@ -556,12 +556,12 @@ sal_Bool SwWrtShell::PageCrsr(SwTwips lOffset, sal_Bool bSelect) // This has not work that way, because the cursor was not set // because this does not happen within a // Start-/EndActionParentheses. - // Because only ViewShell::EndAction() is called at the end, + // Because only SwViewShell::EndAction() is called at the end, // no updating of the display of the cursor position takes place. // The CrsrShell-Actionparentheses cannot be used, because it // always leads to displaying the cursor, thus also, // if after the scroll scrolled in a region without a valid postition. - // ViewShell::StartAction(); + // SwViewShell::StartAction(); PageMove eDir = lOffset > 0? MV_PAGE_DOWN: MV_PAGE_UP; // Change of direction and stack present if( eDir != ePageMove && ePageMove != MV_NO && PopCrsr( sal_True, bSelect )) diff --git a/sw/source/ui/wrtsh/wrtsh1.cxx b/sw/source/ui/wrtsh/wrtsh1.cxx index 03b8ad2b663b..11e06415c2d8 100644 --- a/sw/source/ui/wrtsh/wrtsh1.cxx +++ b/sw/source/ui/wrtsh/wrtsh1.cxx @@ -1698,7 +1698,7 @@ void SwWrtShell::ApplyViewOptions( const SwViewOption &rOpt ) void SwWrtShell::SetReadonlyOption(sal_Bool bSet) { GetView().GetEditWin().GetFrameControlsManager().SetReadonlyControls( bSet ); - ViewShell::SetReadonlyOption( bSet ); + SwViewShell::SetReadonlyOption( bSet ); } // Switch on/off header or footer of a page style - if an empty name is @@ -1776,7 +1776,7 @@ void SwWrtShell::ChangeHeaderOrFooter( void SwWrtShell::SetShowHeaderFooterSeparator( FrameControlType eControl, bool bShow ) { - ViewShell::SetShowHeaderFooterSeparator( eControl, bShow ); + SwViewShell::SetShowHeaderFooterSeparator( eControl, bShow ); if ( !bShow ) GetView().GetEditWin().GetFrameControlsManager().HideControls( eControl ); } diff --git a/sw/source/ui/wrtsh/wrtsh2.cxx b/sw/source/ui/wrtsh/wrtsh2.cxx index 69cc78be3460..0e034e8174df 100644 --- a/sw/source/ui/wrtsh/wrtsh2.cxx +++ b/sw/source/ui/wrtsh/wrtsh2.cxx @@ -357,7 +357,7 @@ bool SwWrtShell::ClickToINetGrf( const Point& rDocPt, sal_uInt16 nFilter ) } -void LoadURL( ViewShell& rVSh, const OUString& rURL, sal_uInt16 nFilter, +void LoadURL( SwViewShell& rVSh, const OUString& rURL, sal_uInt16 nFilter, const OUString& rTargetFrameName ) { OSL_ENSURE( !rURL.isEmpty(), "what should be loaded here?" ); |