diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2018-01-31 21:33:20 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2018-02-01 11:08:03 +0100 |
commit | 01c43770b75fd4e48b2cda230feda37154f75bdd (patch) | |
tree | f4ff5ba307ca616b68bfc661faf853f63d9f63c9 /UnoControls | |
parent | 2c9904f300ab195636fc06c3c3b14aa61eb3ee85 (diff) |
Fix typos
Change-Id: I455efa82de60b764a500e1cc092ae08e800ec824
Reviewed-on: https://gerrit.libreoffice.org/49068
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'UnoControls')
-rw-r--r-- | UnoControls/source/base/basecontrol.cxx | 2 | ||||
-rw-r--r-- | UnoControls/source/controls/statusindicator.cxx | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx index 71e14d93ada5..24e62711b6ce 100644 --- a/UnoControls/source/base/basecontrol.cxx +++ b/UnoControls/source/base/basecontrol.cxx @@ -704,7 +704,7 @@ void SAL_CALL BaseControl::windowHidden( const EventObject& /*aEvent*/ ) WindowDescriptor* BaseControl::impl_getWindowDescriptor( const Reference< XWindowPeer >& xParentPeer ) { // - used from "createPeer()" to set the values of an css::awt::WindowDescriptor !!! - // - if you will change the descriptor-values, you must override this virtuell function + // - if you will change the descriptor-values, you must override this virtual function // - the caller must release the memory for this dynamical descriptor !!! WindowDescriptor* pDescriptor = new WindowDescriptor; diff --git a/UnoControls/source/controls/statusindicator.cxx b/UnoControls/source/controls/statusindicator.cxx index 4282169918a0..e678a2ff9ad2 100644 --- a/UnoControls/source/controls/statusindicator.cxx +++ b/UnoControls/source/controls/statusindicator.cxx @@ -301,7 +301,7 @@ void SAL_CALL StatusIndicator::dispose () removeControl( xTextControl ); removeControl( m_xProgressBar.get() ); - // do'nt use "...->clear ()" or "... = XFixedText ()" + // don't use "...->clear ()" or "... = XFixedText ()" // when other hold a reference at this object !!! xTextControl->dispose(); m_xProgressBar->dispose(); @@ -356,8 +356,8 @@ const OUString StatusIndicator::impl_getStaticImplementationName() WindowDescriptor* StatusIndicator::impl_getWindowDescriptor( const css::uno::Reference< XWindowPeer >& xParentPeer ) { // - used from "createPeer()" to set the values of an css::awt::WindowDescriptor !!! - // - if you will change the descriptor-values, you must override this virtuell function - // - the caller must release the memory for this dynamical descriptor !!! + // - if you will change the descriptor-values, you must override this virtual function + // - the caller must release the memory for this dynamical descriptor!!! WindowDescriptor* pDescriptor = new WindowDescriptor; @@ -374,8 +374,8 @@ WindowDescriptor* StatusIndicator::impl_getWindowDescriptor( const css::uno::Ref void StatusIndicator::impl_paint ( sal_Int32 nX, sal_Int32 nY, const css::uno::Reference< XGraphics > & rGraphics ) { - // This paint method is not buffered !! - // Every request paint the completely control. ( but only, if peer exist ) + // This paint method is not buffered! + // Every request paint the completely control. (But only, if peer exist) if ( rGraphics.is () ) { MutexGuard aGuard (m_aMutex); |