sd/inc/Outliner.hxx | 7 ++++++- sd/source/ui/view/Outliner.cxx | 11 ----------- 2 files changed, 6 insertions(+), 12 deletions(-)
New commits: commit beacca27ecc1b1463477c644e36a7e5815053433 Author: Tomaž Vajngerl <[email protected]> AuthorDate: Sat May 23 16:52:09 2020 +0200 Commit: Tomaž Vajngerl <[email protected]> CommitDate: Sat May 23 19:15:21 2020 +0200 sd: move SearchSelection constructor to header file Change-Id: I71d7986044208b6c733c1d46db7bf84bc6254915 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94727 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <[email protected]> diff --git a/sd/inc/Outliner.hxx b/sd/inc/Outliner.hxx index c95786577b62..3a73b9339f09 100644 --- a/sd/inc/Outliner.hxx +++ b/sd/inc/Outliner.hxx @@ -46,13 +46,18 @@ struct SearchSelection { /// 0-based index of the page that has the selection. int m_nPage; + /** * List of selection rectangles in twips -- multiple rectangles only in * case the selection spans over more layout lines. */ OString m_aRectangles; - SearchSelection(int nPage, const OString& rRectangles); + SearchSelection(int nPage, const OString& rRectangles) + : m_nPage(nPage) + , m_aRectangles(rRectangles) + { + } bool operator==(const SearchSelection& rOther) const { diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index e67d823e9a11..e7f676f43e4e 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -66,17 +66,6 @@ using namespace ::com::sun::star::linguistic2; class SfxStyleSheetPool; -namespace sd { - -SearchSelection::SearchSelection(int nPage, const OString& rRectangles) - : m_nPage(nPage), - m_aRectangles(rRectangles) -{ -} - -} // end of namespace sd - - class SdOutliner::Implementation { public: _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
