From 806bec7107c426d0d05ceabd82da159e75d7f5ed Mon Sep 17 00:00:00 2001 From: Elton Chung Date: Sat, 11 Feb 2012 12:37:03 +0800 Subject: Fix typos in comments --- dbaccess/source/core/api/RowSetCache.cxx | 2 +- dbaccess/source/ui/dlg/DbAdminImpl.hxx | 2 +- dbaccess/source/ui/querydesign/QueryDesignView.cxx | 2 +- dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/core/api/RowSetCache.cxx b/dbaccess/source/core/api/RowSetCache.cxx index 6a853e6399a3..63850ddd3040 100644 --- a/dbaccess/source/core/api/RowSetCache.cxx +++ b/dbaccess/source/core/api/RowSetCache.cxx @@ -273,7 +273,7 @@ ORowSetCache::ORowSetCache(const Reference< XResultSet >& _xRs, { if ( bBookmarkable ) { - // here I know that we have a read only bookmarable cursor + // here I know that we have a read only bookmarkable cursor _xRs->beforeFirst(); m_nPrivileges = Privilege::SELECT; m_pCacheSet = new WrappedResultSet(i_nMaxRows); diff --git a/dbaccess/source/ui/dlg/DbAdminImpl.hxx b/dbaccess/source/ui/dlg/DbAdminImpl.hxx index 2e4c2b251a53..c620c8565129 100644 --- a/dbaccess/source/ui/dlg/DbAdminImpl.hxx +++ b/dbaccess/source/ui/dlg/DbAdminImpl.hxx @@ -137,7 +137,7 @@ namespace dbaui */ String getConnectionURL() const; - /// fill the nescessary information from the url line + /// fill the necessary information from the url line void convertUrl(SfxItemSet& _rDest); const MapInt2String& getIndirectProperties() const { return m_aIndirectPropTranslator; } diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx index 16c87e4657c5..397cedb0af60 100644 --- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx +++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx @@ -3125,7 +3125,7 @@ void OQueryDesignView::GetFocus() OQueryView::GetFocus(); if ( m_pSelectionBox && !m_pSelectionBox->HasChildPathFocus() ) { - // first we have to deactivate the current cell to refill when nescessary + // first we have to deactivate the current cell to refill when necessary m_pSelectionBox->DeactivateCell(); m_pSelectionBox->ActivateCell(m_pSelectionBox->GetCurRow(), m_pSelectionBox->GetCurColumnId()); m_pSelectionBox->GrabFocus(); diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx index 35b666fbc315..0f2f5a87b140 100644 --- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx +++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx @@ -255,7 +255,7 @@ namespace dbaui @param _sFieldName The field name inserted by the user. @param _pEntry - The entry which will contain the nescessary entries. + The entry which will contain the necessary entries. @param _bListAction Will be set to when we are in a list action otherwise @return @@ -279,7 +279,7 @@ namespace dbaui @param _xMetaData Use to parse the node to a string. @param _pEntry - The entry which will contain the nescessary entries. + The entry which will contain the necessary entries. @param _bListAction Will be set to when we are in a list action otherwise @return -- cgit