diff options
Diffstat (limited to 'sd/inc/Outliner.hxx')
-rw-r--r-- | sd/inc/Outliner.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/inc/Outliner.hxx b/sd/inc/Outliner.hxx index 3c7296a8f1de..b0a2192bd9ac 100644 --- a/sd/inc/Outliner.hxx +++ b/sd/inc/Outliner.hxx @@ -50,6 +50,11 @@ struct SearchSelection OString m_aRectangles; SearchSelection(int nPage, const OString& rRectangles); + + bool operator==(const SearchSelection& rOther) const + { + return m_nPage == rOther.m_nPage && m_aRectangles == rOther.m_aRectangles; + } }; /** The main purpose of this class is searching and replacing as well as |