From de6422b5f3a5e06fe1994442a0f1c277ebed2a45 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 16 Aug 2019 21:40:40 +0200 Subject: Fix typos Change-Id: I207333e9bafc5d6c38ffa53a303046e437b7a815 Reviewed-on: https://gerrit.libreoffice.org/77607 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- canvas/source/directx/dx_textlayout_drawhelper.cxx | 2 +- cli_ure/source/uno_bridge/cli_data.cxx | 2 +- dbaccess/source/core/dataaccess/databasecontext.cxx | 2 +- dbaccess/source/ui/control/tabletree.cxx | 4 ++-- dtrans/source/win32/clipb/MtaOleClipb.cxx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/canvas/source/directx/dx_textlayout_drawhelper.cxx b/canvas/source/directx/dx_textlayout_drawhelper.cxx index cc3afab92c3a..c751b941e8b5 100644 --- a/canvas/source/directx/dx_textlayout_drawhelper.cxx +++ b/canvas/source/directx/dx_textlayout_drawhelper.cxx @@ -73,7 +73,7 @@ namespace dxcanvas { HDC hdc = rGraphics->GetHDC(); - // issue an ReleaseHDC() when leaving the scope + // issue a ReleaseHDC() when leaving the scope const ::comphelper::ScopeGuard aGuard( [&rGraphics, &hdc]() mutable { rGraphics->ReleaseHDC(hdc); } ); diff --git a/cli_ure/source/uno_bridge/cli_data.cxx b/cli_ure/source/uno_bridge/cli_data.cxx index 16f7047a80dd..4545538a1f5b 100644 --- a/cli_ure/source/uno_bridge/cli_data.cxx +++ b/cli_ure/source/uno_bridge/cli_data.cxx @@ -80,7 +80,7 @@ System::Object^ Bridge::map_uno2cli(uno_Interface * pUnoI, typelib_InterfaceType retVal = CliEnvHolder::g_cli_env->getRegisteredInterface(sOid, ifaceType); if (retVal) { - // There is already an registered object. It can either be a proxy + // There is already a registered object. It can either be a proxy // for the UNO object or a real cli object. In the first case we // tell the proxy that it shall also represent the current UNO // interface. If it already does that, then it does nothing diff --git a/dbaccess/source/core/dataaccess/databasecontext.cxx b/dbaccess/source/core/dataaccess/databasecontext.cxx index 0bcdb475c353..1c6cb283fe29 100644 --- a/dbaccess/source/core/dataaccess/databasecontext.cxx +++ b/dbaccess/source/core/dataaccess/databasecontext.cxx @@ -635,7 +635,7 @@ Any ODatabaseContext::getByName(const OUString& _rName) if ( xExistent.is() ) return makeAny( xExistent ); - // see whether this is an registered name + // see whether this is a registered name OUString sURL; if ( hasRegisteredDatabase( _rName ) ) { diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx index a0e126254062..19dd1429eefb 100644 --- a/dbaccess/source/ui/control/tabletree.cxx +++ b/dbaccess/source/ui/control/tabletree.cxx @@ -168,7 +168,7 @@ void OTableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConn } catch(RuntimeException&) { - OSL_FAIL("OTableTreeListBox::UpdateTableList : caught an RuntimeException!"); + OSL_FAIL("OTableTreeListBox::UpdateTableList : caught a RuntimeException!"); } catch ( const SQLException& ) { @@ -210,7 +210,7 @@ void TableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConne } catch(RuntimeException&) { - OSL_FAIL("OTableTreeListBox::UpdateTableList : caught an RuntimeException!"); + OSL_FAIL("OTableTreeListBox::UpdateTableList : caught a RuntimeException!"); } catch ( const SQLException& ) { diff --git a/dtrans/source/win32/clipb/MtaOleClipb.cxx b/dtrans/source/win32/clipb/MtaOleClipb.cxx index ea9f6dfb380f..ae831cc76bb2 100644 --- a/dtrans/source/win32/clipb/MtaOleClipb.cxx +++ b/dtrans/source/win32/clipb/MtaOleClipb.cxx @@ -389,7 +389,7 @@ HRESULT CMtaOleClipboard::setClipboard( IDataObject* pIDataObject ) // destroyed before the ole clipboard // can acquire it // remember: pIDataObject may be NULL - // which is an request to clear the + // which is a request to clear the // current clipboard content if ( pIDataObject ) pIDataObject->AddRef( ); -- cgit