diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2014-11-10 15:05:25 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-12 11:04:11 +0000 |
commit | da40cac540e7d735edbe9069b3c8ec6af4530208 (patch) | |
tree | f2abda7281129e13f588c77b18780a7090c8405f /dbaccess/source | |
parent | bb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff) |
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/core/dataaccess/ModelImpl.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/core/inc/datasettings.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/core/recovery/dbdocrecovery.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/AsyncronousLink.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/unodatbr.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/generalpage.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/QueryTableView.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/unodatbr.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/UITools.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/WCopyTable.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/ConnectionLine.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx | 6 | ||||
-rw-r--r-- | dbaccess/source/ui/tabledesign/TEditControl.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/tabledesign/TableFieldDescWin.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/uno/unosqlmessage.cxx | 2 |
15 files changed, 17 insertions, 17 deletions
diff --git a/dbaccess/source/core/dataaccess/ModelImpl.hxx b/dbaccess/source/core/dataaccess/ModelImpl.hxx index 1c7d0d85ccab..847c02e925a7 100644 --- a/dbaccess/source/core/dataaccess/ModelImpl.hxx +++ b/dbaccess/source/core/dataaccess/ModelImpl.hxx @@ -256,7 +256,7 @@ public: - this is an automatism for data safety reasons. If you pass <TRUE/> here, committing the root storage is prevented for this particular call. - @return <TRUE/> if the storage could be commited, otherwise <FALSE/> + @return <TRUE/> if the storage could be committed, otherwise <FALSE/> */ bool commitEmbeddedStorage( bool _bPreventRootCommits = false ); diff --git a/dbaccess/source/core/inc/datasettings.hxx b/dbaccess/source/core/inc/datasettings.hxx index 0a51ab47f3fc..6d86e1ce256a 100644 --- a/dbaccess/source/core/inc/datasettings.hxx +++ b/dbaccess/source/core/inc/datasettings.hxx @@ -33,7 +33,7 @@ namespace dbaccess // ODataSettings_Base - a base class which implements the property member // for an object implementing the sdb::DataSettings // service -// the properties have to to be registered when used +// the properties have to be registered when used class ODataSettings_Base { public: diff --git a/dbaccess/source/core/recovery/dbdocrecovery.cxx b/dbaccess/source/core/recovery/dbdocrecovery.cxx index d19ecac84aaf..e49def107a85 100644 --- a/dbaccess/source/core/recovery/dbdocrecovery.cxx +++ b/dbaccess/source/core/recovery/dbdocrecovery.cxx @@ -331,7 +331,7 @@ namespace dbaccess Reference< XStorage > xComponentsStor( xRecoveryStorage->openStorageElement( SubComponentRecovery::getComponentsStorageName( eComponentType ), ElementModes::READ ), UNO_QUERY_THROW ); - // loop thru all components of this type + // loop through all components of this type for ( MapStringToCompDesc::const_iterator stor = map->second.begin(); stor != map->second.end(); ++stor diff --git a/dbaccess/source/ui/browser/AsyncronousLink.cxx b/dbaccess/source/ui/browser/AsyncronousLink.cxx index bf05ab0a3dd0..ac940d445283 100644 --- a/dbaccess/source/ui/browser/AsyncronousLink.cxx +++ b/dbaccess/source/ui/browser/AsyncronousLink.cxx @@ -72,7 +72,7 @@ IMPL_LINK(OAsyncronousLink, OnAsyncCall, void*, _pArg) { ::osl::MutexGuard aEventGuard( m_aEventSafety ); if (!m_nEventId) - // our destructor deleted the event just while we we're waiting for m_aEventSafety + // our destructor deleted the event just while we are waiting for m_aEventSafety // -> get outta here return 0; m_nEventId = 0; diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx index bda7e28640f8..001845bf8fbf 100644 --- a/dbaccess/source/ui/browser/unodatbr.cxx +++ b/dbaccess/source/ui/browser/unodatbr.cxx @@ -2161,7 +2161,7 @@ SvTreeListEntry* SbaTableQueryBrowser::implAppendEntry( SvTreeListEntry* _pParen IMPL_LINK(SbaTableQueryBrowser, OnExpandEntry, SvTreeListEntry*, _pParent) { if (_pParent->HasChildren()) - // nothing to to ... + // nothing to do... return 1L; SvTreeListEntry* pFirstParent = m_pTreeView->getListBox().GetRootLevelParent(_pParent); diff --git a/dbaccess/source/ui/dlg/generalpage.cxx b/dbaccess/source/ui/dlg/generalpage.cxx index 3a980d524231..1d79169e732d 100644 --- a/dbaccess/source/ui/dlg/generalpage.cxx +++ b/dbaccess/source/ui/dlg/generalpage.cxx @@ -393,7 +393,7 @@ namespace dbaui { // reset all locale data implSetCurrentType( OUString() ); - // this ensures that our type selection link will be called, even if the new is is the same as the + // this ensures that our type selection link will be called, even if the new one is the same as the // current one OGenericAdministrationPage::Reset(_rCoreAttrs); } diff --git a/dbaccess/source/ui/inc/QueryTableView.hxx b/dbaccess/source/ui/inc/QueryTableView.hxx index ef4174c19878..5bac4fb4d2b0 100644 --- a/dbaccess/source/ui/inc/QueryTableView.hxx +++ b/dbaccess/source/ui/inc/QueryTableView.hxx @@ -111,7 +111,7 @@ namespace dbaui // used by AddTabDlg to see if tables can still be added //virtual sal_Bool IsAddAllowed(); - /// announce new Connection and insert it, if not existant yet + /// announce new Connection and insert it, if not existing yet void NotifyTabConnection(const OQueryTableConnection& rNewConn, bool _bCreateUndoAction = true); /// @note the Handler receives a pointer to a TabWinsChangeNotification struct diff --git a/dbaccess/source/ui/inc/unodatbr.hxx b/dbaccess/source/ui/inc/unodatbr.hxx index b051d2e5a79b..cd15a2f5a200 100644 --- a/dbaccess/source/ui/inc/unodatbr.hxx +++ b/dbaccess/source/ui/inc/unodatbr.hxx @@ -431,7 +431,7 @@ namespace dbaui ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > connectWithStatus( const OUString& _rDataSourceName, - void* _pTreeListUserData // in rela a DBTreeListUserData*, but we do not know this class here .... + void* _pTreeListUserData // in reality a DBTreeListUserData*, but we do not know this class here... ); #if OSL_DEBUG_LEVEL > 0 diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx index c192947b4880..ed5fb08aa3a5 100644 --- a/dbaccess/source/ui/misc/UITools.cxx +++ b/dbaccess/source/ui/misc/UITools.cxx @@ -1350,7 +1350,7 @@ Reference< XPropertySet > createView( const OUString& _rName, const Reference< X xAppend->appendByDescriptor(xView); xView = NULL; - // we need to reget the view because after appending it it is no longer valid + // we need to reget the view because after appending it, it is no longer valid // but this time it isn't a view object it is a table object with type "VIEW" Reference<XTablesSupplier> xTabSup(_rxConnection,UNO_QUERY); Reference< XNameAccess > xTables; diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx index 9fc6725774fe..90657c0292e2 100644 --- a/dbaccess/source/ui/misc/WCopyTable.cxx +++ b/dbaccess/source/ui/misc/WCopyTable.cxx @@ -1245,7 +1245,7 @@ Reference< XPropertySet > OCopyTableWizard::createTable() xAppend->appendByDescriptor(xTable); // xTable = NULL; - // we need to reget the table because after appending it it is no longer valid + // we need to reget the table because after appending it, it is no longer valid if(xTables->hasByName(m_sName)) xTables->getByName(m_sName) >>= xTable; else diff --git a/dbaccess/source/ui/querydesign/ConnectionLine.cxx b/dbaccess/source/ui/querydesign/ConnectionLine.cxx index 8fe389ce7a83..cdd075cac678 100644 --- a/dbaccess/source/ui/querydesign/ConnectionLine.cxx +++ b/dbaccess/source/ui/querydesign/ConnectionLine.cxx @@ -179,7 +179,7 @@ Rectangle OConnectionLine::GetBoundingRect() const OTableWindow* pSourceWin = m_pTabConn->GetSourceWin(); const OTableWindow* pDestWin = m_pTabConn->GetDestWin(); - // line proceeds in in z-Form + // line proceeds in z-Form if( pSourceWin == pDestWin || std::abs(m_aSourceConnPos.X() - m_aDestConnPos.X()) > std::abs(m_aSourceDescrLinePos.X() - m_aDestDescrLinePos.X()) ) { aTopLeft.X() -= DESCRIPT_LINE_WIDTH; diff --git a/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx b/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx index e7a0a59a4efe..618593741dd5 100644 --- a/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx +++ b/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.cxx @@ -28,9 +28,9 @@ void OJoinMoveTabWinUndoAct::TogglePosition() m_pTabWin->SetPosPixel(m_ptNextPosition - ptFrameScrollPos); - // it looks like ptFrameScrollPos is meaningless, then I it substract here and add it to ptNext, and - // next time I substract again ... - // AbetptFrameScrollPos could have changed next time ... + // it looks like ptFrameScrollPos is meaningless, then I substract it here and add it to ptNext, and + // next time I subtract again... + // AbetptFrameScrollPos could have changed next time... m_pOwner->EnsureVisible(m_pTabWin); m_ptNextPosition = ptNext; diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx index c2ca50ac7ce3..2b66dc046472 100644 --- a/dbaccess/source/ui/tabledesign/TEditControl.cxx +++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx @@ -879,7 +879,7 @@ void OTableEditorCtrl::InsertNewRows( long nRow ) if( !nInsertRows ) nInsertRows = 1; GetUndoManager().AddUndoAction( new OTableEditorInsNewUndoAct(this, nRow, nInsertRows) ); - // Insert the number of of selected rows + // Insert the number of selected rows for( long i=nRow; i<(nRow+nInsertRows); i++ ) m_pRowList->insert( m_pRowList->begin()+i ,::boost::shared_ptr<OTableRow>(new OTableRow())); RowInserted( nRow, nInsertRows, true ); diff --git a/dbaccess/source/ui/tabledesign/TableFieldDescWin.hxx b/dbaccess/source/ui/tabledesign/TableFieldDescWin.hxx index 8f1ef89bbaa0..4d56b8769ed0 100644 --- a/dbaccess/source/ui/tabledesign/TableFieldDescWin.hxx +++ b/dbaccess/source/ui/tabledesign/TableFieldDescWin.hxx @@ -29,7 +29,7 @@ namespace dbaui class OFieldDescGenWin; class OTableDesignHelpBar; class OFieldDescription; - // derivitive of TabPage is a trick of TH, + // derivative of TabPage is a trick of TH, // to notice a change in system colours class OTableFieldDescWin : public TabPage ,public IClipboardTest diff --git a/dbaccess/source/ui/uno/unosqlmessage.cxx b/dbaccess/source/ui/uno/unosqlmessage.cxx index 7ba1725b0b16..a0d66837630c 100644 --- a/dbaccess/source/ui/uno/unosqlmessage.cxx +++ b/dbaccess/source/ui/uno/unosqlmessage.cxx @@ -116,7 +116,7 @@ sal_Bool SAL_CALL OSQLMessageDialog::convertFastPropertyValue( Any& _rConvertedV _rConvertedValue = aInfo.get(); return sal_True; - // always assume "modified", don't bother with with comparing the two values + // always assume "modified", don't bother with comparing the two values } default: return OSQLMessageDialogBase::convertFastPropertyValue(_rConvertedValue, _rOldValue, _nHandle, _rValue); |