summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-27 14:22:45 +0200
committerAshod Nakashian <ashnakash@gmail.com>2017-11-29 14:03:30 +0100
commitf641e9d9f472110ccb61c01210e8acf280ad9bf3 (patch)
treed00da5dacbe109966dfb2ae4b8d6a393fee91a6f /svx
parent00f776ba53975fea14faa78ffa7b06e7bf5fbf6b (diff)
simplify Bitmap operator==/IsEqual (stage2)
Now that we've sorted out which bits are rightfully internal (see commit 7a4064cf87d23bffac987b3e39bf87d9b4d158fc), and which bits need a comparison operator, rename IsEqual to operator==. Change-Id: Iec229a7571d76ee18fbc0a4fe672cc2e50a44948 Reviewed-on: https://gerrit.libreoffice.org/42851 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 09917566b6ce86ea65a246f2055b5d1f41df4e76) Reviewed-on: https://gerrit.libreoffice.org/45456 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/nbdtmg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx
index e1bd4914ed78..7c8913ef3cf4 100644
--- a/svx/source/sidebar/nbdtmg.cxx
+++ b/svx/source/sidebar/nbdtmg.cxx
@@ -744,8 +744,8 @@ sal_uInt16 OutlineTypeMgr::GetNBOIndexForNumRule(SvxNumRule& aNum,sal_uInt16 /*m
const Graphic* pGrf2 = pBrsh2->GetGraphic();
if (pGrf1==pGrf2) bIsMatch = true;
if (pGrf1 && pGrf2) {
- if ( pGrf1->GetBitmap().IsEqual(pGrf2->GetBitmap()) &&
- _pSet->aSize==aFmt.GetGraphicSize())
+ if ( pGrf1->GetBitmap() == pGrf2->GetBitmap() &&
+ _pSet->aSize == aFmt.GetGraphicSize())
bIsMatch = true;
}
}