summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-07-29 09:31:26 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-07-29 11:15:42 +0200
commitc87cf4e76f0cf032a37078fe185adc9b1ca14e06 (patch)
treeef3c14358b9a2c5460e49b8ab7de43dd29a2f22b /vbahelper
parenta5dabf94fa32fb397141b7aee8e3daecb0240dc4 (diff)
Fix typos
Change-Id: Iec31617554fae0f6c5a3d795a917ce9096d84405 Reviewed-on: https://gerrit.libreoffice.org/76521 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/msforms/vbacontrol.cxx4
-rw-r--r--vbahelper/source/vbahelper/vbashape.cxx2
-rw-r--r--vbahelper/source/vbahelper/vbatextframe.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/vbahelper/source/msforms/vbacontrol.cxx b/vbahelper/source/msforms/vbacontrol.cxx
index 2775290f9bcd..48cced0e8730 100644
--- a/vbahelper/source/msforms/vbacontrol.cxx
+++ b/vbahelper/source/msforms/vbacontrol.cxx
@@ -547,9 +547,9 @@ void SAL_CALL ScVbaControl::fireEvent( const script::ScriptEvent& rEvt )
if ( xControl.is() ) // normal control ( from dialog/userform )
{
// #FIXME We should probably store a reference to the
- // parent dialog/userform here ( other wise the name of
+ // parent dialog/userform here (otherwise the name of
// dialog could be changed and we won't be aware of it.
- // ( OTOH this is probably an unlikely scenario )
+ // (OTOH this is probably an unlikely scenario)
evt.Source = xThisControl;
aEvt.Source = xControl;
evt.ScriptCode = m_sLibraryAndCodeName;
diff --git a/vbahelper/source/vbahelper/vbashape.cxx b/vbahelper/source/vbahelper/vbashape.cxx
index 709957bfcb27..8fe5eec3428b 100644
--- a/vbahelper/source/vbahelper/vbashape.cxx
+++ b/vbahelper/source/vbahelper/vbashape.cxx
@@ -533,7 +533,7 @@ ScVbaShape::Select( const uno::Any& /*Replace*/ )
xSelectSupp->select( uno::makeAny( m_xShape ) );
}
-// This method should not be part of Shape, what we reall need to do is...
+// This method should not be part of Shape, what we really need to do is...
// dynamically create the appropriate objects e.g. TextBox, Oval, Picture etc.
// ( e.g. the ones that really do have ShapeRange as an attribute )
uno::Any SAL_CALL
diff --git a/vbahelper/source/vbahelper/vbatextframe.cxx b/vbahelper/source/vbahelper/vbatextframe.cxx
index 368e3ff3cd6b..8f6ba54492a8 100644
--- a/vbahelper/source/vbahelper/vbatextframe.cxx
+++ b/vbahelper/source/vbahelper/vbatextframe.cxx
@@ -34,7 +34,7 @@ void
VbaTextFrame::setAsMSObehavior()
{
//set property TextWordWrap default as False.
- // TextFitToSize control the text content. it seems we should set the default as False.
+ // TextFitToSize control the text content. It seems we should set the default as False.
// com.sun.star.drawing.TextFitToSizeType.NONE
m_xPropertySet->setPropertyValue( "TextWordWrap", uno::makeAny( false ) );
m_xPropertySet->setPropertyValue( "TextFitToSize", uno::makeAny( drawing::TextFitToSizeType_NONE ) );