xmloff/source/text/txtparae.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 1cab8ed313745bdbddc3742b0b74d1e29b967468 Author: Mike Kaganski <[email protected]> AuthorDate: Sun Oct 12 16:08:29 2025 +0500 Commit: Mike Kaganski <[email protected]> CommitDate: Sun Oct 12 16:35:07 2025 +0200 tdf#157664: drop HyperlinkData::operator!= That needed to mark operator== const. Change-Id: I18358f16004845b7437b6eae8261007ed5cd4b1a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192248 Reviewed-by: Mike Kaganski <[email protected]> Tested-by: Jenkins diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index b60abf98514d..659cd2b1df5d 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -290,8 +290,7 @@ namespace HyperlinkData() = default; HyperlinkData(const css::uno::Reference<css::beans::XPropertySet>& rPropSet); - bool operator==(const HyperlinkData&); - bool operator!=(const HyperlinkData& rOther) { return !operator==(rOther); } + bool operator==(const HyperlinkData&) const; bool addHyperlinkAttributes(SvXMLExport& rExport); void exportEvents(SvXMLExport& rExport); @@ -355,7 +354,7 @@ namespace } } - bool HyperlinkData::operator==(const HyperlinkData& rOther) + bool HyperlinkData::operator==(const HyperlinkData& rOther) const { if (href != rOther.href || name != rOther.name || targetFrame != rOther.targetFrame || ustyleName != rOther.ustyleName || vstyleName != rOther.vstyleName
