summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-05-26 16:04:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-05-27 08:29:31 +0200
commitb6c94e4e04fef032c82c6517ce58ab9eb2b53d59 (patch)
treebaf5bc0bce195cc415fb4b7bc6c5ff920a5aacac /sw/inc
parent63b39fe87644587210214198fb67d6b3fb3343c5 (diff)
IMark doesn't need relational operators
Change-Id: Iea795980626b09a227f8fda59f0065d5dbb1ac24 Reviewed-on: https://gerrit.libreoffice.org/72986 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/IMark.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sw/inc/IMark.hxx b/sw/inc/IMark.hxx
index e9d00588bc27..e7275d9f5d56 100644
--- a/sw/inc/IMark.hxx
+++ b/sw/inc/IMark.hxx
@@ -22,7 +22,6 @@
#include <vcl/keycod.hxx>
#include "calbck.hxx"
#include "pam.hxx"
-#include <boost/operators.hpp>
#include <map>
#include <memory>
#include "swdllapi.h"
@@ -37,7 +36,6 @@ namespace sw { namespace mark
class SW_DLLPUBLIC IMark
: virtual public sw::BroadcastingModify // inherited as interface
- , public ::boost::totally_ordered<IMark>
{
protected:
IMark() = default;
@@ -59,12 +57,6 @@ namespace sw { namespace mark
// inside core, you can cast to MarkBase and use its setters,
// make sure to update the sorting in Markmanager in this case
- //operators and comparisons (non-virtual)
- bool operator<(const IMark& rOther) const
- { return GetMarkStart() < rOther.GetMarkStart(); }
- bool operator==(const IMark& rOther) const
- { return GetMarkStart() == rOther.GetMarkStart(); }
-
virtual OUString ToString( ) const =0;
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const = 0;
private: