From 3ffc206a4b70863fc1a340c0011eb4aa82819ae1 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Thu, 2 Mar 2017 15:17:15 +0100 Subject: Fix typos Change-Id: Ib25dadb25d8c2df1361de194f74cf3ddd459650d Reviewed-on: https://gerrit.libreoffice.org/34783 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svtools/source/control/tabbar.cxx | 2 +- svtools/source/misc/transfer.cxx | 4 ++-- svtools/source/uno/statusbarcontroller.cxx | 4 ++-- svtools/source/uno/toolboxcontroller.cxx | 4 ++-- svtools/source/uno/unoimap.cxx | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) (limited to 'svtools/source') diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index 7ff5d2b0d3ba..3a40a07c1e48 100644 --- a/svtools/source/control/tabbar.cxx +++ b/svtools/source/control/tabbar.cxx @@ -1866,7 +1866,7 @@ void TabBar::SetCurPageId(sal_uInt16 nPageId) if (nPageId == mnCurPageId) return; - // make invalide + // make invalid bool bUpdate = false; if (IsReallyVisible() && IsUpdateMode()) bUpdate = true; diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx index 3337c2234d46..ce3685604866 100644 --- a/svtools/source/misc/transfer.cxx +++ b/svtools/source/misc/transfer.cxx @@ -667,7 +667,7 @@ bool TransferableHelper::SetBitmapEx( const BitmapEx& rBitmapEx, const DataFlavo { const Bitmap aBitmap(rBitmapEx.GetBitmap()); - // explicitely use Bitmap::Write with bCompressed = sal_False and bFileHeader = sal_True + // explicitly use Bitmap::Write with bCompressed = sal_False and bFileHeader = sal_True WriteDIB(aBitmap, aMemStm, false, true); } @@ -1573,7 +1573,7 @@ bool TransferableDataHelper::GetBitmapEx( const DataFlavor& rFlavor, BitmapEx& r Bitmap aBitmap; AlphaMask aMask; - // explicitely use Bitmap::Read with bFileHeader = sal_True + // explicitly use Bitmap::Read with bFileHeader = sal_True // #i124085# keep DIBV5 for read from clipboard, but should not happen ReadDIBV5(aBitmap, aMask, *xStm); diff --git a/svtools/source/uno/statusbarcontroller.cxx b/svtools/source/uno/statusbarcontroller.cxx index 0b00ac3bdf54..b44e1771ca43 100644 --- a/svtools/source/uno/statusbarcontroller.cxx +++ b/svtools/source/uno/statusbarcontroller.cxx @@ -355,7 +355,7 @@ void StatusbarController::addStatusListener( const OUString& aCommandURL ) return; // Check if we are already initialized. Implementation starts adding itself as status listener when - // intialize is called. + // initialize is called. if ( !m_bInitialized ) { // Put into the unordered_map of status listener. Will be activated when initialized is called @@ -364,7 +364,7 @@ void StatusbarController::addStatusListener( const OUString& aCommandURL ) } else { - // Add status listener directly as intialize has already been called. + // Add status listener directly as initialize has already been called. Reference< XDispatchProvider > xDispatchProvider( m_xFrame, UNO_QUERY ); if ( m_xContext.is() && xDispatchProvider.is() ) { diff --git a/svtools/source/uno/toolboxcontroller.cxx b/svtools/source/uno/toolboxcontroller.cxx index 2a443b50c6b7..4aa9032957af 100644 --- a/svtools/source/uno/toolboxcontroller.cxx +++ b/svtools/source/uno/toolboxcontroller.cxx @@ -390,7 +390,7 @@ void ToolboxController::addStatusListener( const OUString& aCommandURL ) return; // Check if we are already initialized. Implementation starts adding itself as status listener when - // intialize is called. + // initialize is called. if ( !m_bInitialized ) { // Put into the unordered_map of status listener. Will be activated when initialized is called @@ -399,7 +399,7 @@ void ToolboxController::addStatusListener( const OUString& aCommandURL ) } else { - // Add status listener directly as intialize has already been called. + // Add status listener directly as initialize has already been called. Reference< XDispatchProvider > xDispatchProvider( m_xFrame, UNO_QUERY ); if ( m_xContext.is() && xDispatchProvider.is() ) { diff --git a/svtools/source/uno/unoimap.cxx b/svtools/source/uno/unoimap.cxx index e0ffcb82ea85..225881757402 100644 --- a/svtools/source/uno/unoimap.cxx +++ b/svtools/source/uno/unoimap.cxx @@ -82,7 +82,7 @@ public: rtl::Reference mxEvents; - // overriden helpers from PropertySetHelper + // overridden helpers from PropertySetHelper virtual void _setPropertyValues( const PropertyMapEntry** ppEntries, const Any* pValues ) override; virtual void _getPropertyValues( const PropertyMapEntry** ppEntries, Any* pValue ) override; @@ -397,7 +397,7 @@ OUString SAL_CALL SvUnoImageMapObject::getImplementationName() } } -// overriden helpers from PropertySetHelper +// overridden helpers from PropertySetHelper void SvUnoImageMapObject::_setPropertyValues( const PropertyMapEntry** ppEntries, const Any* pValues ) { bool bOk = false; -- cgit