summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/newfrm.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-02 12:57:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-02 13:45:36 +0200
commit3dcf6dfceee58360501396390d78c006351aef47 (patch)
tree6e8cea499ee3a9543a03fd4a5321f5153c76cd65 /sw/source/core/layout/newfrm.cxx
parent3b35bcf25fce566f91d084574650181ea791dff8 (diff)
remove unnecessary use of 'this->'
Change-Id: I5c115389af7d24c18ddaf5fbec8c00f35017a5b4 Reviewed-on: https://gerrit.libreoffice.org/40671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/layout/newfrm.cxx')
-rw-r--r--sw/source/core/layout/newfrm.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/layout/newfrm.cxx b/sw/source/core/layout/newfrm.cxx
index 4de02e342015..ddefc54aecdf 100644
--- a/sw/source/core/layout/newfrm.cxx
+++ b/sw/source/core/layout/newfrm.cxx
@@ -489,7 +489,7 @@ void SwRootFrame::Init( SwFrameFormat* pFormat )
const IDocumentSettingAccess& rSettingAccess = pFormat->getIDocumentSettingAccess();
rTimerAccess.StopIdling();
// For creating the Flys by MakeFrames()
- rLayoutAccess.SetCurrentViewShell( this->GetCurrShell() );
+ rLayoutAccess.SetCurrentViewShell( GetCurrShell() );
mbCallbackActionEnabled = false; // needs to be set to true before leaving!
SwDrawModel* pMd = pFormat->getIDocumentDrawModelAccess().GetDrawModel();
@@ -631,12 +631,12 @@ void SwRootFrame::RemoveMasterObjs( SdrPage *pPg )
void SwRootFrame::AllCheckPageDescs() const
{
if ( !IsLayoutFreezed() )
- CheckPageDescs( const_cast<SwPageFrame*>(static_cast<const SwPageFrame*>(this->Lower())) );
+ CheckPageDescs( const_cast<SwPageFrame*>(static_cast<const SwPageFrame*>(Lower())) );
}
void SwRootFrame::AllInvalidateAutoCompleteWords() const
{
- SwPageFrame *pPage = const_cast<SwPageFrame*>(static_cast<const SwPageFrame*>(this->Lower()));
+ SwPageFrame *pPage = const_cast<SwPageFrame*>(static_cast<const SwPageFrame*>(Lower()));
while ( pPage )
{
pPage->InvalidateAutoCompleteWords();
@@ -646,7 +646,7 @@ void SwRootFrame::AllInvalidateAutoCompleteWords() const
void SwRootFrame::AllAddPaintRect() const
{
- GetCurrShell()->AddPaintRect( this->Frame() );
+ GetCurrShell()->AddPaintRect( Frame() );
}
void SwRootFrame::AllRemoveFootnotes()
@@ -656,7 +656,7 @@ void SwRootFrame::AllRemoveFootnotes()
void SwRootFrame::AllInvalidateSmartTagsOrSpelling(bool bSmartTags) const
{
- SwPageFrame *pPage = const_cast<SwPageFrame*>(static_cast<const SwPageFrame*>(this->Lower()));
+ SwPageFrame *pPage = const_cast<SwPageFrame*>(static_cast<const SwPageFrame*>(Lower()));
while ( pPage )
{
if ( bSmartTags )