summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/flycnt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout/flycnt.cxx')
-rw-r--r--sw/source/core/layout/flycnt.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sw/source/core/layout/flycnt.cxx b/sw/source/core/layout/flycnt.cxx
index 1e449338331e..262357d8d2a2 100644
--- a/sw/source/core/layout/flycnt.cxx
+++ b/sw/source/core/layout/flycnt.cxx
@@ -201,6 +201,8 @@ void SwFlyAtContentFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pN
//We need some helper classes to monitor the oscillation and a few functions
//to not get lost.
+namespace {
+
// #i3317# - re-factoring of the position stack
class SwOszControl
{
@@ -220,6 +222,8 @@ public:
static bool IsInProgress( const SwFlyFrame *pFly );
};
+}
+
const SwFlyFrame *SwOszControl::pStack1 = nullptr;
const SwFlyFrame *SwOszControl::pStack2 = nullptr;
const SwFlyFrame *SwOszControl::pStack3 = nullptr;
@@ -539,6 +543,8 @@ bool SwFlyAtContentFrame::IsFormatPossible() const
!SwOszControl::IsInProgress( this );
}
+namespace {
+
class SwDistance
{
public:
@@ -552,6 +558,8 @@ public:
!rTwo.nSub || nSub <= rTwo.nSub ) ); }
};
+}
+
static const SwFrame * lcl_CalcDownDist( SwDistance &rRet,
const Point &rPt,
const SwContentFrame *pCnt )