diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/vbahelper/vbacollectionimpl.hxx | 2 | ||||
-rw-r--r-- | include/xmloff/XMLEventExport.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx index 60d48c228758..8ec064d50fa7 100644 --- a/include/vbahelper/vbacollectionimpl.hxx +++ b/include/vbahelper/vbacollectionimpl.hxx @@ -179,7 +179,7 @@ public: // XElementAccess virtual css::uno::Type SAL_CALL getElementType( ) throw (css::uno::RuntimeException, std::exception) override { return cppu::UnoType< OneIfc >::get(); } virtual sal_Bool SAL_CALL hasElements( ) throw (css::uno::RuntimeException, std::exception) override { return ( mXNamedVec.size() > 0 ); } - // XNameAcess + // XNameAccess virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) throw (css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override { if ( !hasByName(aName) ) diff --git a/include/xmloff/XMLEventExport.hxx b/include/xmloff/XMLEventExport.hxx index a411e6dfd877..6a3d48ad1e12 100644 --- a/include/xmloff/XMLEventExport.hxx +++ b/include/xmloff/XMLEventExport.hxx @@ -82,11 +82,11 @@ public: /// register additional event names void AddTranslationTable( const XMLEventNameTranslation* pTransTable ); - /// export the events (calls EventExport::Export(Reference<XNameAcess>) ) + /// export the events (calls EventExport::Export(Reference<XNameAccess>) ) void Export( css::uno::Reference<css::document::XEventsSupplier> & xAccess, bool bUseWhitespace = true); - /// export the events (calls EventExport::Export(Reference<XNameAcess>) ) + /// export the events (calls EventExport::Export(Reference<XNameAccess>) ) void Export( css::uno::Reference<css::container::XNameReplace> & xAccess, bool bUseWhitespace = true); |