summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drawinglayer/source/primitive2d/epsprimitive2d.cxx2
-rw-r--r--include/vcl/gfxlink.hxx2
-rw-r--r--vcl/source/gdi/gfxlink.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/primitive2d/epsprimitive2d.cxx b/drawinglayer/source/primitive2d/epsprimitive2d.cxx
index 197a0b1d9032..533cdb30ce52 100644
--- a/drawinglayer/source/primitive2d/epsprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/epsprimitive2d.cxx
@@ -60,7 +60,7 @@ namespace drawinglayer
const EpsPrimitive2D& rCompare = static_cast<const EpsPrimitive2D&>(rPrimitive);
return (getEpsTransform() == rCompare.getEpsTransform()
- && getGfxLink().IsEqual(rCompare.getGfxLink())
+ && getGfxLink() == rCompare.getGfxLink()
&& getMetaFile() == rCompare.getMetaFile());
}
diff --git a/include/vcl/gfxlink.hxx b/include/vcl/gfxlink.hxx
index 3632b66d23f3..d8eef9e3ce3a 100644
--- a/include/vcl/gfxlink.hxx
+++ b/include/vcl/gfxlink.hxx
@@ -83,7 +83,7 @@ public:
// pBuff = The Graphic data. This class takes ownership of this
GfxLink( std::unique_ptr<sal_uInt8[]> pBuf, sal_uInt32 nBufSize, GfxLinkType nType );
- bool IsEqual( const GfxLink& ) const;
+ bool operator==( const GfxLink& ) const;
GfxLinkType GetType() const { return meType;}
diff --git a/vcl/source/gdi/gfxlink.cxx b/vcl/source/gdi/gfxlink.cxx
index 135ba2dbb69f..a7a33ad1c862 100644
--- a/vcl/source/gdi/gfxlink.cxx
+++ b/vcl/source/gdi/gfxlink.cxx
@@ -41,7 +41,7 @@ GfxLink::GfxLink( std::unique_ptr<sal_uInt8[]> pBuf, sal_uInt32 nSize, GfxLinkTy
mpSwapInData = std::shared_ptr<sal_uInt8>(pBuf.release(), pBuf.get_deleter()); // std::move(pBuf) does not compile on Jenkins MacOSX (24 May 2016)
}
-bool GfxLink::IsEqual( const GfxLink& rGfxLink ) const
+bool GfxLink::operator==( const GfxLink& rGfxLink ) const
{
bool bIsEqual = false;