summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/pview.cxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-05-06 10:05:28 +0200
committerJulien Nabet <serval2412@yahoo.fr>2017-05-07 12:45:36 +0200
commitfbd414741157b969924318462ebfcfb5ccf4d3dc (patch)
treeb870499ce98153af72233f67d2322c95d678d590 /sw/source/uibase/uiview/pview.cxx
parent3d4938d2d8dc18c7b741efe90686f55f524fcfe2 (diff)
Fix typos
To complete commit 076758857a98 Change-Id: I6424109e3aee8a3236e40168bdd98c725a7afafb Reviewed-on: https://gerrit.libreoffice.org/37306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source/uibase/uiview/pview.cxx')
-rw-r--r--sw/source/uibase/uiview/pview.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx
index 0d31ebe0ef8e..08bc2285c4e3 100644
--- a/sw/source/uibase/uiview/pview.cxx
+++ b/sw/source/uibase/uiview/pview.cxx
@@ -1134,7 +1134,7 @@ void SwPagePreview::Init()
// Update the fields
// ATTENTION: Do cast the EditShell up, to use the SS.
- // At the methodes the current shell will be queried!
+ // At the methods the current shell will be queried!
SwEditShell* pESh = dynamic_cast<SwEditShell*>(GetViewShell());
bool bIsModified = pESh != nullptr && pESh->IsModified();
@@ -1354,7 +1354,7 @@ void SwPagePreview::OuterResizePixel( const Point &rOfst, const Size &rSize )
Point aBottomRight( m_pViewWin->PixelToLogic( Point( aTmpSize.Width(), aTmpSize.Height() ) ) );
SetVisArea( tools::Rectangle( Point(), aBottomRight ) );
- // Call of the DocSzChgd-Methode of the scrollbars is necessary,
+ // Call of the DocSzChgd-Method of the scrollbars is necessary,
// because from the maximum scroll range half the height of the
// VisArea is always deducted.
if ( m_pVScrollbar && aTmpSize.Width() > 0 && aTmpSize.Height() > 0 )