diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/inc/Outliner.hxx | 7 | ||||
-rw-r--r-- | sd/source/ui/view/Outliner.cxx | 11 |
2 files changed, 6 insertions, 12 deletions
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: |