[Libreoffice-commits] core.git: sw/inc
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Mon May 27 06:30:32 UTC 2019
sw/inc/IMark.hxx | 8 --------
1 file changed, 8 deletions(-)
New commits:
commit b6c94e4e04fef032c82c6517ce58ab9eb2b53d59
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Sun May 26 16:04:07 2019 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Mon May 27 08:29:31 2019 +0200
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 at collabora.co.uk>
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:
More information about the Libreoffice-commits
mailing list