summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-28 10:10:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-29 07:28:57 +0100
commita566fd1c1a50f9bcb4c69a19bdf4fb1955285d93 (patch)
tree13273efcf8aa69ce39a1860dc3d111c071e6a7b3 /tools
parent411260d836e7bf6c693b9b7d16af1b36184133af (diff)
loplugin:unusedmethods
Change-Id: I2efb5c0e5735c179314c6c5de87821cee3b033e1 Reviewed-on: https://gerrit.libreoffice.org/45386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/source/ref/globname.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/tools/source/ref/globname.cxx b/tools/source/ref/globname.cxx
index a378cfdc511f..3d8ea7b155ef 100644
--- a/tools/source/ref/globname.cxx
+++ b/tools/source/ref/globname.cxx
@@ -147,19 +147,6 @@ bool SvGlobalName::operator < ( const SvGlobalName & rObj ) const
return pImp->szData.Data1 < rObj.pImp->szData.Data1;
}
-SvGlobalName & SvGlobalName::operator += ( sal_uInt32 n )
-{
- sal_uInt32 nOld = pImp->szData.Data1;
- pImp->szData.Data1 += n;
-
- if( nOld > pImp->szData.Data1 )
- {
- // overflow
- pImp->szData.Data2++;
- }
- return *this;
-}
-
bool SvGlobalName::operator == ( const SvGlobalName & rObj ) const
{
return pImp == rObj.pImp;