diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/postithelper.hxx | 14 | ||||
-rw-r--r-- | sw/source/core/fields/postithelper.cxx | 12 |
2 files changed, 14 insertions, 12 deletions
diff --git a/sw/inc/postithelper.hxx b/sw/inc/postithelper.hxx index c1536ef78524..4aae6100c14f 100644 --- a/sw/inc/postithelper.hxx +++ b/sw/inc/postithelper.hxx @@ -102,19 +102,9 @@ public: SwPostItHelper::SwLayoutStatus mLayoutStatus; SwLayoutInfo maLayoutInfo; - SwSidebarItem( const bool aFocus) - : pPostIt(nullptr) - , bShow(true) - , bFocus(aFocus) - , bPendingLayout(false) - , mLayoutStatus( SwPostItHelper::INVISIBLE ) - , maLayoutInfo() - { - } + SwSidebarItem( const bool aFocus); - virtual ~SwSidebarItem() - { - } + virtual ~SwSidebarItem(); SwSidebarItem(SwSidebarItem const &) = default; SwSidebarItem(SwSidebarItem &&) = default; diff --git a/sw/source/core/fields/postithelper.cxx b/sw/source/core/fields/postithelper.cxx index 614d73cf2c9e..38917d5474fb 100644 --- a/sw/source/core/fields/postithelper.cxx +++ b/sw/source/core/fields/postithelper.cxx @@ -113,6 +113,18 @@ SwAnchoredObject* GetAnchoredObjectOfAnnotationMark(const sw::mark::IMark& rAnno } } +SwSidebarItem::SwSidebarItem(const bool aFocus) + : pPostIt(nullptr) + , bShow(true) + , bFocus(aFocus) + , bPendingLayout(false) + , mLayoutStatus(SwPostItHelper::INVISIBLE) + , maLayoutInfo() +{ +} + +SwSidebarItem::~SwSidebarItem() {} + SwPostItHelper::SwLayoutStatus SwPostItHelper::getLayoutInfos( SwLayoutInfo& o_rInfo, const SwPosition& rAnchorPos, |