summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-04-02 23:31:44 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-04-03 07:49:02 +0200
commit78f2aa9f5e13ec4cfbb9992e3ce45fcaace83023 (patch)
tree2dbb603db85aa3330453a663b318a5946dfcf032 /UnoControls
parent11c40f5b75a328541b5b4994534cb575553943dd (diff)
Fix typo
Change-Id: I0e8f761768c7faf3da1d11d6fe02ee24e1180cf2 Reviewed-on: https://gerrit.libreoffice.org/70104 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/source/base/basecontrol.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx
index e2ce368be91d..06adc4ae4ddd 100644
--- a/UnoControls/source/base/basecontrol.cxx
+++ b/UnoControls/source/base/basecontrol.cxx
@@ -74,13 +74,13 @@ Any SAL_CALL BaseControl::queryInterface( const Type& rType )
Any aReturn;
if ( m_xDelegator.is() )
{
- // If an delegator exist, forward question to his queryInterface.
- // Delegator will ask his own queryAggregation!
+ // If a delegator exists, forward question to its queryInterface.
+ // Delegator will ask its own queryAggregation!
aReturn = m_xDelegator->queryInterface( rType );
}
else
{
- // If an delegator unknown, forward question to own queryAggregation.
+ // If a delegator is unknown, forward question to own queryAggregation.
aReturn = queryAggregation( rType );
}
@@ -566,7 +566,7 @@ void SAL_CALL BaseControl::draw( sal_Int32 nX ,
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
- // - paint to an view
+ // - paint to a view
// - use the method "paint()"
// - see also "windowPaint()"
impl_paint( nX, nY, m_xGraphicsView );
@@ -576,7 +576,7 @@ void SAL_CALL BaseControl::draw( sal_Int32 nX ,
sal_Bool SAL_CALL BaseControl::setGraphics( const Reference< XGraphics >& xDevice )
{
- // - set the graphics for an view
+ // - set the graphics for a view
// - in this class exist 2 graphics-member ... one for peer[_xGraphicsPeer] and one for view[_xGraphicsView]
// - they are used by "windowPaint() and draw()", forwarded to "paint ()"
bool bReturn = false;
@@ -699,7 +699,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 !!!
+ // - used from "createPeer()" to set the values of a css::awt::WindowDescriptor !!!
// - if you will change the descriptor-values, you must override this virtual function
// - the caller must release the memory for this dynamical descriptor !!!