From e6ac6cbccf0e26b860b2a8c276fea258091d9da3 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Sat, 26 Apr 2014 19:28:59 +0200 Subject: automaticly -> automatically. Change-Id: Iae55083160eee86ac8301f272634dd3ae65fd847 --- UnoControls/source/base/basecontainercontrol.cxx | 2 +- UnoControls/source/base/basecontrol.cxx | 2 +- UnoControls/source/controls/progressbar.cxx | 2 +- UnoControls/source/controls/progressmonitor.cxx | 6 +++--- UnoControls/source/controls/statusindicator.cxx | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'UnoControls') diff --git a/UnoControls/source/base/basecontainercontrol.cxx b/UnoControls/source/base/basecontainercontrol.cxx index 6280fba012b8..7608ad24e0e9 100644 --- a/UnoControls/source/base/basecontainercontrol.cxx +++ b/UnoControls/source/base/basecontainercontrol.cxx @@ -395,7 +395,7 @@ void SAL_CALL BaseContainerControl::setVisible ( sal_Bool bVisible ) throw( Runt // is it a top window ? if ( !getContext().is() && bVisible ) { - // then show it automaticly + // then show it automatically createPeer ( Reference< XToolkit > (), Reference< XWindowPeer > () ); } } diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx index 3283e7e8fa82..312bd6b3a799 100644 --- a/UnoControls/source/base/basecontrol.cxx +++ b/UnoControls/source/base/basecontrol.cxx @@ -784,7 +784,7 @@ void BaseControl::impl_paint( sal_Int32 /*nX*/ void BaseControl::impl_recalcLayout( const WindowEvent& /*aEvent*/ ) { - // We need as virtual function to support automaticly resizing of derived controls! + // We need as virtual function to support automatically resizing of derived controls! // But we make it not pure virtual because it's not necessary for all derived classes! } diff --git a/UnoControls/source/controls/progressbar.cxx b/UnoControls/source/controls/progressbar.cxx index 28c7411d45f7..e657dd5734d3 100644 --- a/UnoControls/source/controls/progressbar.cxx +++ b/UnoControls/source/controls/progressbar.cxx @@ -237,7 +237,7 @@ void SAL_CALL ProgressBar::setRange ( sal_Int32 nMin, sal_Int32 nMax ) throw( Ru } else { - // Change Min and Max automaticly + // Change Min and Max automatically m_nMinRange = nMax; m_nMaxRange = nMin; } diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx index c650dbed0ffe..4e7e1141b795 100644 --- a/UnoControls/source/controls/progressmonitor.cxx +++ b/UnoControls/source/controls/progressmonitor.cxx @@ -82,12 +82,12 @@ ProgressMonitor::ProgressMonitor( const css::uno::Reference< XComponentContext > addControl ( CONTROLNAME_BUTTON, xRef_Button ); addControl ( CONTROLNAME_PROGRESSBAR, m_xProgressBar.get() ); - // FixedText make it automaticly visible by himself ... but not the progressbar !!! + // FixedText make it automatically visible by himself ... but not the progressbar !!! // it must be set explicitly m_xProgressBar->setVisible( sal_True ); // Reset to defaults !!! - // (progressbar take automaticly its own defaults) + // (progressbar take automatically its own defaults) m_xButton->setLabel ( DEFAULT_BUTTONLABEL ); m_xTopic_Top->setText ( PROGRESSMONITOR_DEFAULT_TOPIC ); m_xText_Top->setText ( PROGRESSMONITOR_DEFAULT_TEXT ); @@ -535,7 +535,7 @@ void SAL_CALL ProgressMonitor::setPosSize ( sal_Int32 nX, sal_Int32 nY, sal_Int3 // calc new layout for controls impl_recalcLayout (); // clear background (!) - // [Children were repainted in "recalcLayout" by setPosSize() automaticly!] + // [Children were repainted in "recalcLayout" by setPosSize() automatically!] getPeer()->invalidate(2); // and repaint the control impl_paint ( 0, 0, impl_getGraphicsPeer() ); diff --git a/UnoControls/source/controls/statusindicator.cxx b/UnoControls/source/controls/statusindicator.cxx index 8a0564705dab..4acfdfa8eeca 100644 --- a/UnoControls/source/controls/statusindicator.cxx +++ b/UnoControls/source/controls/statusindicator.cxx @@ -55,11 +55,11 @@ StatusIndicator::StatusIndicator( const css::uno::Reference< XComponentContext > // ... and add controls to basecontainercontrol! addControl( CONTROLNAME_TEXT, xTextControl ); addControl( CONTROLNAME_PROGRESSBAR, m_xProgressBar.get() ); - // FixedText make it automaticly visible by himself ... but not the progressbar !!! + // FixedText make it automatically visible by himself ... but not the progressbar !!! // it must be set explicitly m_xProgressBar->setVisible( sal_True ); // Reset to defaults !!! - // (progressbar take automaticly its own defaults) + // (progressbar take automatically its own defaults) m_xText->setText( STATUSINDICATOR_DEFAULT_TEXT ); --m_refCount; @@ -349,7 +349,7 @@ void SAL_CALL StatusIndicator::setPosSize ( // calc new layout for controls impl_recalcLayout ( WindowEvent(static_cast< OWeakObject* >(this),0,0,nWidth,nHeight,0,0,0,0) ); // clear background (!) - // [Children were repainted in "recalcLayout" by setPosSize() automaticly!] + // [Children were repainted in "recalcLayout" by setPosSize() automatically!] getPeer()->invalidate(2); // and repaint the control impl_paint ( 0, 0, impl_getGraphicsPeer() ); -- cgit v1.2.3