diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-19 10:39:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-19 11:04:16 +0200 |
commit | 4dd62d9cc3cb8d79694cb5c1ba09ccf730d211a5 (patch) | |
tree | dba2ab30c3f63f7daef55f2bbd5dba8aa2094ebe /svtools/source/uno/unoevent.cxx | |
parent | f2a0e4032734d6be635f14ade3dea499c29ec6c2 (diff) |
Disambiguate needlessly overloaded SvDetachedEventDescriptor::hasByName
Change-Id: I951e95c4c81e7e0b4bfb2246c163809863fedac5
Diffstat (limited to 'svtools/source/uno/unoevent.cxx')
-rw-r--r-- | svtools/source/uno/unoevent.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/uno/unoevent.cxx b/svtools/source/uno/unoevent.cxx index 45046d63f13f..cb113b11cbc2 100644 --- a/svtools/source/uno/unoevent.cxx +++ b/svtools/source/uno/unoevent.cxx @@ -497,7 +497,7 @@ void SvDetachedEventDescriptor::getByName( rMacro = (*aMacros[nIndex]); } -bool SvDetachedEventDescriptor::hasByName( +bool SvDetachedEventDescriptor::hasById( const sal_uInt16 nEvent ) const /// item ID of event throw(IllegalArgumentException) { @@ -545,7 +545,7 @@ void SvMacroTableEventDescriptor::copyMacrosIntoTable( for(sal_Int16 i = 0; mpSupportedMacroItems[i].mnEvent != 0; i++) { const sal_uInt16 nEvent = mpSupportedMacroItems[i].mnEvent; - if (hasByName(nEvent)) + if (hasById(nEvent)) { SvxMacro& rMacro = rMacroTable.Insert(nEvent, SvxMacro(sEmpty, sEmpty)); getByName(rMacro, nEvent); |