summaryrefslogtreecommitdiff
path: root/framework/inc/macros/xinterface.hxx
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-03-10 18:58:02 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-11 05:04:40 +0000
commitfba66b325c493567126b23d481d75ee00dc9c30d (patch)
tree4b8d64cc253aef14a22c5638b5f8175bc0049dcf /framework/inc/macros/xinterface.hxx
parentb4fdb46a75731b22eb85671af4773e5bc9208f85 (diff)
Fix typos
Change-Id: I19d30a1ef4236dbe0a0053dad67a5ba7b1586fc8 Reviewed-on: https://gerrit.libreoffice.org/35054 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Johnny_M <klasse@partyheld.de> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/inc/macros/xinterface.hxx')
-rw-r--r--framework/inc/macros/xinterface.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/inc/macros/xinterface.hxx b/framework/inc/macros/xinterface.hxx
index 4a57c3d69f8c..737e5cdadd49 100644
--- a/framework/inc/macros/xinterface.hxx
+++ b/framework/inc/macros/xinterface.hxx
@@ -35,8 +35,8 @@ namespace framework{
Please use follow public macros only!
1) DEFINE_XINTERFACE => use it in header to declare XInterface and his methods
- 2) DIRECT_INTERFACE( INTERFACE ) => use it as parameter INTERFACEx at 4) if interface not ambigous
- 3) DERIVED_INTERFACE( BASEINTERFACE, DERIVEDINTERFACE ) => use it as parameter INTERFACEx at 4) if interface can be ambigous
+ 2) DIRECT_INTERFACE( INTERFACE ) => use it as parameter INTERFACEx at 4) if interface not ambiguous
+ 3) DERIVED_INTERFACE( BASEINTERFACE, DERIVEDINTERFACE ) => use it as parameter INTERFACEx at 4) if interface can be ambiguous
4) DECLARE_XINTERFACE_0( CLASS, BASECLASS ) => use it to define implementation of XInterface for 0 additional interface to baseclass
DECLARE_XINTERFACE_1( CLASS, BASECLASS, INTERFACE1 ) => use it to define implementation of XInterface for 1 additional interface to baseclass
...
@@ -120,7 +120,7 @@ ________________________________________________________________________________
static_cast< INTERFACE* >( this )
// Use it as parameter for DEFINE_XINTERFACE_X(), if you CAN'T use an interface directly in queryInterface()!
-// (zB at ambigous errors!)
+// (zB at ambiguous errors!)
#define DERIVED_INTERFACE( BASEINTERFACE, DERIVEDINTERFACE ) \
static_cast< BASEINTERFACE* >( static_cast< DERIVEDINTERFACE* >( this ) )