[Libreoffice-commits] core.git: dbaccess/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Tue Apr 28 15:33:04 UTC 2020
dbaccess/source/ui/inc/sbamultiplex.hxx | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
New commits:
commit 42f1a7122745334974ad5de0e7277f584de13038
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Apr 26 17:24:22 2020 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Tue Apr 28 17:32:10 2020 +0200
Fix typo in code
Change-Id: I857308750454f913be574547a9ac4e7437ddf3a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92936
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/dbaccess/source/ui/inc/sbamultiplex.hxx b/dbaccess/source/ui/inc/sbamultiplex.hxx
index 86de9186ec9e..920978437036 100644
--- a/dbaccess/source/ui/inc/sbamultiplex.hxx
+++ b/dbaccess/source/ui/inc/sbamultiplex.hxx
@@ -131,13 +131,13 @@ namespace dbaui
} \
// helper for classes which do event multiplexing
- #define IMPLEMENT_LISTENER_ADMINISTRATION(classname, listenernamespace, listenerdesc, multiplexer, braodcasterclass, broadcaster) \
+ #define IMPLEMENT_LISTENER_ADMINISTRATION(classname, listenernamespace, listenerdesc, multiplexer, broadcasterclass, broadcaster) \
void SAL_CALL classname::add##listenerdesc(const css::uno::Reference< css::listenernamespace::X##listenerdesc >& l)\
{ \
multiplexer.addInterface(l); \
if (multiplexer.getLength() == 1) \
{ \
- css::uno::Reference< braodcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
+ css::uno::Reference< broadcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
if (xBroadcaster.is()) \
xBroadcaster->add##listenerdesc(&multiplexer); \
} \
@@ -146,25 +146,25 @@ namespace dbaui
{ \
if (multiplexer.getLength() == 1) \
{ \
- css::uno::Reference< braodcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
+ css::uno::Reference< broadcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
if (xBroadcaster.is()) \
xBroadcaster->remove##listenerdesc(&multiplexer); \
} \
multiplexer.removeInterface(l); \
} \
- #define STOP_MULTIPLEXER_LISTENING(listenerdesc, multiplexer, braodcasterclass, broadcaster) \
+ #define STOP_MULTIPLEXER_LISTENING(listenerdesc, multiplexer, broadcasterclass, broadcaster) \
if (multiplexer.getLength()) \
{ \
- css::uno::Reference< braodcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
+ css::uno::Reference< broadcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
if (xBroadcaster.is()) \
xBroadcaster->remove##listenerdesc(&multiplexer); \
} \
- #define START_MULTIPLEXER_LISTENING(listenerdesc, multiplexer, braodcasterclass, broadcaster) \
+ #define START_MULTIPLEXER_LISTENING(listenerdesc, multiplexer, broadcasterclass, broadcaster) \
if (multiplexer.getLength()) \
{ \
- css::uno::Reference< braodcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
+ css::uno::Reference< broadcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
if (xBroadcaster.is()) \
xBroadcaster->add##listenerdesc(&multiplexer); \
} \
@@ -286,13 +286,13 @@ namespace dbaui
} \
// helper for classes which do property event multiplexing
- #define IMPLEMENT_PROPERTY_LISTENER_ADMINISTRATION(classname, listenerdesc, multiplexer, braodcasterclass, broadcaster) \
+ #define IMPLEMENT_PROPERTY_LISTENER_ADMINISTRATION(classname, listenerdesc, multiplexer, broadcasterclass, broadcaster) \
void SAL_CALL classname::add##listenerdesc(const OUString& rName, const css::uno::Reference< css::beans::X##listenerdesc >& l )\
{ \
multiplexer.addInterface(rName, l); \
if (multiplexer.getOverallLen() == 1) \
{ \
- css::uno::Reference< braodcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
+ css::uno::Reference< broadcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
if (xBroadcaster.is()) \
xBroadcaster->add##listenerdesc(OUString(), &multiplexer); \
} \
@@ -301,25 +301,25 @@ namespace dbaui
{ \
if (multiplexer.getOverallLen() == 1) \
{ \
- css::uno::Reference< braodcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
+ css::uno::Reference< broadcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
if (xBroadcaster.is()) \
xBroadcaster->remove##listenerdesc(OUString(), &multiplexer); \
} \
multiplexer.removeInterface(rName, l); \
} \
- #define STOP_PROPERTY_MULTIPLEXER_LISTENING(listenerdesc, multiplexer, braodcasterclass, broadcaster) \
+ #define STOP_PROPERTY_MULTIPLEXER_LISTENING(listenerdesc, multiplexer, broadcasterclass, broadcaster) \
if (multiplexer.getOverallLen()) \
{ \
- css::uno::Reference< braodcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
+ css::uno::Reference< broadcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
if (xBroadcaster.is()) \
xBroadcaster->remove##listenerdesc(OUString(), &multiplexer); \
} \
- #define START_PROPERTY_MULTIPLEXER_LISTENING(listenerdesc, multiplexer, braodcasterclass, broadcaster) \
+ #define START_PROPERTY_MULTIPLEXER_LISTENING(listenerdesc, multiplexer, broadcasterclass, broadcaster) \
if (multiplexer.getOverallLen()) \
{ \
- css::uno::Reference< braodcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
+ css::uno::Reference< broadcasterclass > xBroadcaster(broadcaster, css::uno::UNO_QUERY); \
if (xBroadcaster.is()) \
xBroadcaster->add##listenerdesc(OUString(), &multiplexer); \
} \
More information about the Libreoffice-commits
mailing list