summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-01-18 23:35:56 +0100
committerNoel Grandin <noelgrandin@gmail.com>2015-01-19 08:46:05 +0000
commit83e8d0166d4dba92aafead49c427d5ffddd38b72 (patch)
tree8a6cd1cc308b905612d4c4246760400aff083643 /vbahelper
parent6271e6400ac9f78a323e959a6a295625f08b87cc (diff)
Fix typo code Resouce->Resource
Change-Id: I6e68c13e4513c2f8cc38e237646db7dffc88fe3b Reviewed-on: https://gerrit.libreoffice.org/13986 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/msforms/vbacontrol.cxx4
-rw-r--r--vbahelper/source/msforms/vbacontrol.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/vbahelper/source/msforms/vbacontrol.cxx b/vbahelper/source/msforms/vbacontrol.cxx
index 31588f401c58..42fc9d34b299 100644
--- a/vbahelper/source/msforms/vbacontrol.cxx
+++ b/vbahelper/source/msforms/vbacontrol.cxx
@@ -117,7 +117,7 @@ ScVbaControlListener::disposing( const lang::EventObject& ) throw( uno::RuntimeE
{
if( pControl )
{
- pControl->removeResouce();
+ pControl->removeResource();
pControl = NULL;
}
}
@@ -165,7 +165,7 @@ ScVbaControl::setGeometryHelper( AbstractGeometryAttributes* pHelper )
mpGeometryHelper.reset( pHelper );
}
-void ScVbaControl::removeResouce() throw( uno::RuntimeException )
+void ScVbaControl::removeResource() throw( uno::RuntimeException )
{
uno::Reference< lang::XComponent > xComponent( m_xControl, uno::UNO_QUERY_THROW );
xComponent->removeEventListener( m_xEventListener );
diff --git a/vbahelper/source/msforms/vbacontrol.hxx b/vbahelper/source/msforms/vbacontrol.hxx
index 34b1c028741b..7a6e6e19e134 100644
--- a/vbahelper/source/msforms/vbacontrol.hxx
+++ b/vbahelper/source/msforms/vbacontrol.hxx
@@ -101,7 +101,7 @@ public:
virtual ::sal_Int32 SAL_CALL getMousePointer() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setMousePointer( ::sal_Int32 _mousepointer ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//remove resource because ooo.vba.excel.XControl is a wrapper of com.sun.star.drawing.XControlShape
- virtual void removeResouce() throw( css::uno::RuntimeException );
+ virtual void removeResource() throw( css::uno::RuntimeException );
virtual ::sal_Int32 SAL_CALL getForeColor() throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setForeColor( ::sal_Int32 _forecolor ) throw (::com::sun::star::uno::RuntimeException);
//XHelperInterface