diff options
Diffstat (limited to 'sw/inc/swcrsr.hxx')
-rw-r--r-- | sw/inc/swcrsr.hxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sw/inc/swcrsr.hxx b/sw/inc/swcrsr.hxx index e8fa059ee5ff..cd2b4ac74ed7 100644 --- a/sw/inc/swcrsr.hxx +++ b/sw/inc/swcrsr.hxx @@ -84,7 +84,7 @@ protected: void SaveState(); void RestoreState(); - const SwCursor_SavePos* GetSavePos() const { return m_vSavePos.empty() ? nullptr : &m_vSavePos.back(); } + inline const SwCursor_SavePos* GetSavePos() const; virtual const SwContentFrame* DoSetBidiLevelLeftRight( bool & io_rbLeft, bool bVisualAllowed, bool bInsertCursor); @@ -96,7 +96,7 @@ public: SwCursor( const SwPosition &rPos, SwPaM* pRing ); virtual ~SwCursor() override; - SwCursor & operator =(SwCursor const &) = default; + inline SwCursor & operator =(SwCursor const &); /// this takes a second parameter, which indicates the Ring that /// the new cursor should be part of (may be null) @@ -310,6 +310,10 @@ public: const SwTableCursor* GetPrev() const { return dynamic_cast<SwTableCursor const *>(GetPrevInRing()); } }; +const SwCursor_SavePos* SwCursor::GetSavePos() const { return m_vSavePos.empty() ? nullptr : &m_vSavePos.back(); } + +SwCursor & SwCursor::operator =(SwCursor const &) = default; + #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |