diff options
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/msforms/vbacontrol.cxx | 4 | ||||
-rw-r--r-- | vbahelper/source/vbahelper/vbashape.cxx | 2 | ||||
-rw-r--r-- | vbahelper/source/vbahelper/vbatextframe.cxx | 2 |
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 ) ); |