diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-12 15:41:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-05-13 08:34:18 +0200 |
commit | a01a492d1089799ee721dc34e421a36c10270215 (patch) | |
tree | 9c5583ef637ff6bc8280703696b623a15ed06c11 /sw/source/core/layout/calcmove.cxx | |
parent | 383e00bde033981eacdfc45ee6d1a9e0c4b030ef (diff) |
convert PROT to scoped enum
Change-Id: I7aaa5c45a224d2f97861864bed00eaddb9b7f317
Diffstat (limited to 'sw/source/core/layout/calcmove.cxx')
-rw-r--r-- | sw/source/core/layout/calcmove.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx index c54c7efb7bb8..969290f47af1 100644 --- a/sw/source/core/layout/calcmove.cxx +++ b/sw/source/core/layout/calcmove.cxx @@ -707,7 +707,7 @@ size_t SwPageFrame::GetContentHeight(const long nTop, const long nBottom) const void SwPageFrame::MakeAll(vcl::RenderContext* pRenderContext) { - PROTOCOL_ENTER( this, PROT_MAKEALL, 0, nullptr ) + PROTOCOL_ENTER( this, PROT::MakeAll, 0, nullptr ) const SwRect aOldRect( Frame() ); // Adjust root size const SwLayNotify aNotify( this ); // takes care of the notification in the dtor @@ -835,7 +835,7 @@ void SwPageFrame::MakeAll(vcl::RenderContext* pRenderContext) void SwLayoutFrame::MakeAll(vcl::RenderContext* /*pRenderContext*/) { - PROTOCOL_ENTER( this, PROT_MAKEALL, 0, nullptr ) + PROTOCOL_ENTER( this, PROT::MakeAll, 0, nullptr ) // takes care of the notification in the dtor const SwLayNotify aNotify( this ); @@ -1107,7 +1107,7 @@ void SwContentFrame::MakeAll(vcl::RenderContext* /*pRenderContext*/) long nFormatCount = 0; // - loop prevention int nConsecutiveFormatsWithoutChange = 0; - PROTOCOL_ENTER( this, PROT_MAKEALL, 0, nullptr ) + PROTOCOL_ENTER( this, PROT::MakeAll, 0, nullptr ) #ifdef DBG_UTIL const SwDoc *pDoc = GetAttrSet()->GetDoc(); |