summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-07-02 18:25:58 +0200
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2015-07-04 10:18:19 +0000
commit462e986e0dbd533b3a15696555e08489963c9542 (patch)
tree711fc2581ec8b565fcab533350aa44e85e7604a7 /sw/source/ui/vba
parent8db705fc7542f3ee45eb5d8c1c70ccf15ecc7581 (diff)
Fix typos
Change-Id: Id9296115f30858e7fd470a199e59343a96d7deec Reviewed-on: https://gerrit.libreoffice.org/16712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'sw/source/ui/vba')
-rw-r--r--sw/source/ui/vba/vbaapplication.cxx2
-rw-r--r--sw/source/ui/vba/vbavariable.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx
index 51fc70b4b056..2c23b717a878 100644
--- a/sw/source/ui/vba/vbaapplication.cxx
+++ b/sw/source/ui/vba/vbaapplication.cxx
@@ -65,7 +65,7 @@ SwVbaApplication::getActiveDocument() throw (uno::RuntimeException, std::excepti
uno::Reference< word::XWindow > SAL_CALL
SwVbaApplication::getActiveWindow() throw (uno::RuntimeException, std::exception)
{
- // #FIXME sofar can't determine Parent
+ // #FIXME so far can't determine Parent
uno::Reference< frame::XModel > xModel( getCurrentDocument(), uno::UNO_SET_THROW );
uno::Reference< frame::XController > xController( xModel->getCurrentController(), uno::UNO_SET_THROW );
return new SwVbaWindow( uno::Reference< XHelperInterface >(), mxContext, xModel, xController );
diff --git a/sw/source/ui/vba/vbavariable.cxx b/sw/source/ui/vba/vbavariable.cxx
index 9047bf0e2380..dbecbba76507 100644
--- a/sw/source/ui/vba/vbavariable.cxx
+++ b/sw/source/ui/vba/vbavariable.cxx
@@ -57,7 +57,7 @@ SwVbaVariable::getValue() throw ( css::uno::RuntimeException, std::exception )
void SAL_CALL
SwVbaVariable::setValue( const uno::Any& rValue ) throw ( css::uno::RuntimeException, std::exception )
{
- // FIXME: fail to set the value if the new type of vaue is differenct from the original one.
+ // FIXME: fail to set the value if the new type of value is different from the original one.
uno::Reference< beans::XPropertySet > xProp( mxUserDefined, uno::UNO_QUERY_THROW );
xProp->setPropertyValue( maName, rValue );
}