summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-19 10:39:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-19 11:04:16 +0200
commit4dd62d9cc3cb8d79694cb5c1ba09ccf730d211a5 (patch)
treedba2ab30c3f63f7daef55f2bbd5dba8aa2094ebe /svtools
parentf2a0e4032734d6be635f14ade3dea499c29ec6c2 (diff)
Disambiguate needlessly overloaded SvDetachedEventDescriptor::hasByName
Change-Id: I951e95c4c81e7e0b4bfb2246c163809863fedac5
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/uno/unoevent.cxx4
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);