diff options
Diffstat (limited to 'sc/source/ui/vba')
-rw-r--r-- | sc/source/ui/vba/excelvbahelper.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaapplication.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/vba/vbawindow.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaworkbook.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/vba/excelvbahelper.hxx b/sc/source/ui/vba/excelvbahelper.hxx index c62f5bf0beb8..d98a1be171c1 100644 --- a/sc/source/ui/vba/excelvbahelper.hxx +++ b/sc/source/ui/vba/excelvbahelper.hxx @@ -75,7 +75,7 @@ template < typename ImplObject > if ( xTunnel.is() ) pObj = reinterpret_cast<ImplObject*>( xTunnel->getSomething(ImplObject::getUnoTunnelId())); if ( bThrow && !pObj ) - throw css::uno::RuntimeException("Internal error, can't exctract implementation object", rxWrapperIf ); + throw css::uno::RuntimeException("Internal error, can't extract implementation object", rxWrapperIf ); return pObj; } diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx index a57f136500ef..3a984d1cb6e5 100644 --- a/sc/source/ui/vba/vbaapplication.cxx +++ b/sc/source/ui/vba/vbaapplication.cxx @@ -412,7 +412,7 @@ ScVbaApplication::setStatusBar( const uno::Any& _statusbar ) throw (uno::Runtime } } else - throw uno::RuntimeException("Invalid prarameter. It should be a string or False" ); + throw uno::RuntimeException("Invalid parameter. It should be a string or False" ); } ::sal_Int32 SAL_CALL @@ -599,7 +599,7 @@ ScVbaApplication::GoTo( const uno::Any& Reference, const uno::Any& Scroll ) thro ScGridWindow* gridWindow = static_cast<ScGridWindow*>(pShell->GetWindow()); if ( xVbaRange.is() ) { - //TODO bScroll should be using. An this time, it does not have effection + //TODO bScroll should be used. At this time, it does not have effect if( bScroll ) { xVbaRange->Select(); diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx index ec58bc901a3f..081400cafb16 100644 --- a/sc/source/ui/vba/vbawindow.cxx +++ b/sc/source/ui/vba/vbawindow.cxx @@ -203,7 +203,7 @@ ScVbaWindow::init() still zero. The implementation of ActivePane() uses a UNO reference of this (to set this window as parent of the pane object). This requires the own refcount to be non-zero, otherwise this instance will be - desctructed immediately! Guard the call to ActivePane() in try/catch to + destructed immediately! Guard the call to ActivePane() in try/catch to not miss the decrementation of the reference count on exception. */ osl_atomic_increment( &m_refCount ); try diff --git a/sc/source/ui/vba/vbaworkbook.cxx b/sc/source/ui/vba/vbaworkbook.cxx index 0160826d043c..2bd237a327a7 100644 --- a/sc/source/ui/vba/vbaworkbook.cxx +++ b/sc/source/ui/vba/vbaworkbook.cxx @@ -47,7 +47,7 @@ #include "docoptio.hxx" #include "unonames.hxx" -// Much of the impl. for the equivalend UNO module is +// Much of the impl. for the equivalent UNO module is // sc/source/ui/unoobj/docuno.cxx, viewuno.cxx using namespace ::ooo::vba; |