summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/core/api/RowSetBase.hxx2
-rw-r--r--dbaccess/source/core/api/definitioncolumn.cxx2
-rw-r--r--dbaccess/source/core/dataaccess/ComponentDefinition.cxx2
-rw-r--r--dbaccess/source/core/dataaccess/ModelImpl.hxx2
-rw-r--r--dbaccess/source/core/dataaccess/connection.cxx2
-rw-r--r--dbaccess/source/core/dataaccess/databasedocument.cxx2
-rw-r--r--dbaccess/source/core/dataaccess/databasedocument.hxx2
-rw-r--r--dbaccess/source/core/dataaccess/datasource.cxx6
-rw-r--r--dbaccess/source/ui/app/AppController.hxx2
-rw-r--r--dbaccess/source/ui/app/AppControllerDnD.cxx2
-rw-r--r--dbaccess/source/ui/app/AppDetailView.cxx1
-rw-r--r--dbaccess/source/ui/browser/sbagrid.cxx2
-rw-r--r--dbaccess/source/ui/browser/unodatbr.cxx2
-rw-r--r--dbaccess/source/ui/dlg/advancedsettings.cxx2
-rw-r--r--dbaccess/source/ui/dlg/dbadmin.cxx2
-rw-r--r--dbaccess/source/ui/dlg/generalpage.hxx2
-rw-r--r--dbaccess/source/ui/inc/UITools.hxx2
-rw-r--r--dbaccess/source/ui/misc/UITools.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/QueryTableView.cxx2
-rw-r--r--dbaccess/source/ui/uno/copytablewizard.cxx4
20 files changed, 22 insertions, 23 deletions
diff --git a/dbaccess/source/core/api/RowSetBase.hxx b/dbaccess/source/core/api/RowSetBase.hxx
index 33ff986f73f8..520ddb0f7532 100644
--- a/dbaccess/source/core/api/RowSetBase.hxx
+++ b/dbaccess/source/core/api/RowSetBase.hxx
@@ -358,7 +358,7 @@ namespace dbaccess
private:
::std::auto_ptr<ORowSetNotifierImpl> m_pImpl;
ORowSetBase* m_pRowSet;
- // not aquired! This is not necessary because this class here is to be used on the stack within
+ // not acquired! This is not necessary because this class here is to be used on the stack within
// a method of ORowSetBase (or derivees)
bool m_bWasNew;
bool m_bWasModified;
diff --git a/dbaccess/source/core/api/definitioncolumn.cxx b/dbaccess/source/core/api/definitioncolumn.cxx
index 5908d2c3a518..f6bdd98a1a59 100644
--- a/dbaccess/source/core/api/definitioncolumn.cxx
+++ b/dbaccess/source/core/api/definitioncolumn.cxx
@@ -319,7 +319,7 @@ OColumnWrapper::OColumnWrapper( const Reference< XPropertySet > & rCol, const bo
,m_nColTypeID(-1)
{
// which type of aggregate property do we have?
- // we distingish the properties by the containment of optional properties
+ // we distinguish the properties by the containment of optional properties
m_nColTypeID = 0;
if ( m_xAggregate.is() )
{
diff --git a/dbaccess/source/core/dataaccess/ComponentDefinition.cxx b/dbaccess/source/core/dataaccess/ComponentDefinition.cxx
index 88f21841b4bc..d96b6d8d867d 100644
--- a/dbaccess/source/core/dataaccess/ComponentDefinition.cxx
+++ b/dbaccess/source/core/dataaccess/ComponentDefinition.cxx
@@ -291,7 +291,7 @@ void OComponentDefinition::columnAppended( const Reference< XPropertySet >& _rxS
// but xColDesc will live longer than this. So effectively, the setParent call was pretty useless.
//
// The intention for this parenting was that the column descriptor is able to find the data source,
- // by traveling up the parent hierachy until there's an XDataSource. This didn't work (which
+ // by traveling up the parent hierarchy until there's an XDataSource. This didn't work (which
// for instance causes #i65023#). We need another way to properly ensure this.
notifyDataSourceModified();
diff --git a/dbaccess/source/core/dataaccess/ModelImpl.hxx b/dbaccess/source/core/dataaccess/ModelImpl.hxx
index e162cca1a611..ffb139d1db42 100644
--- a/dbaccess/source/core/dataaccess/ModelImpl.hxx
+++ b/dbaccess/source/core/dataaccess/ModelImpl.hxx
@@ -253,7 +253,7 @@ public:
/** stores the embedded storage ("database")
@param _bPreventRootCommits
- Normally, committing the embedded storage results in also commiting the root storage
+ Normally, committing the embedded storage results in also committing the root storage
- this is an automatism for data safety reasons.
If you pass <TRUE/> here, committing the root storage is prevented for this particular
call.
diff --git a/dbaccess/source/core/dataaccess/connection.cxx b/dbaccess/source/core/dataaccess/connection.cxx
index 1af1083f5504..0802c16344e0 100644
--- a/dbaccess/source/core/dataaccess/connection.cxx
+++ b/dbaccess/source/core/dataaccess/connection.cxx
@@ -286,7 +286,7 @@ OConnection::OConnection(ODatabaseSource& _rDB
, const Reference< XComponentContext >& _rxORB)
:OSubComponent(m_aMutex, static_cast< OWeakObject* >(&_rDB))
// as the queries reroute their refcounting to us, this m_aMutex is okey. If the queries
- // container would do it's own refcounting, it would have to aquire m_pMutex
+ // container would do it's own refcounting, it would have to acquire m_pMutex
// same for tables
,m_aTableFilter(_rDB.m_pImpl->m_aTableFilter)
,m_aTableTypeFilter(_rDB.m_pImpl->m_aTableTypeFilter)
diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx
index a55911465e8c..b448319fe53b 100644
--- a/dbaccess/source/core/dataaccess/databasedocument.cxx
+++ b/dbaccess/source/core/dataaccess/databasedocument.cxx
@@ -1023,7 +1023,7 @@ void ODatabaseDocument::impl_storeAs_throw( const OUString& _rURL, const ::comph
// if we're in the process of initializing the document (which effectively means it is an implicit
// initialization triggered in storeAsURL), the we do not notify events, since to an observer, the SaveAs
- // should not be noticable
+ // should not be noticeable
bool bIsInitializationProcess = impl_isInitializing();
if ( !bIsInitializationProcess )
diff --git a/dbaccess/source/core/dataaccess/databasedocument.hxx b/dbaccess/source/core/dataaccess/databasedocument.hxx
index 4dff3fcf911e..73096e5b1d5c 100644
--- a/dbaccess/source/core/dataaccess/databasedocument.hxx
+++ b/dbaccess/source/core/dataaccess/databasedocument.hxx
@@ -497,7 +497,7 @@ private:
/** closes the frames of all connected controllers
@param _bDeliverOwnership
- determines if the ownership should be transfered to the component which
+ determines if the ownership should be transferred to the component which
possibly vetos the closing
@raises ::com::sun::star::util::CloseVetoException
diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx
index cd27afa8e8c2..a533fa6c68cc 100644
--- a/dbaccess/source/core/dataaccess/datasource.cxx
+++ b/dbaccess/source/core/dataaccess/datasource.cxx
@@ -1161,7 +1161,7 @@ Reference< XConnection > SAL_CALL ODatabaseSource::connectWithCompletion( const
if (bNewPasswordGiven)
{
m_pImpl->m_sFailedPassword = m_pImpl->m_aPassword;
- // assume that we had an authentication problem. Without this we may, after an unsucessful connect, while
+ // assume that we had an authentication problem. Without this we may, after an unsuccessful connect, while
// the user gave us a password an the order to remember it, never allow an password input again (at least
// not without restarting the session)
m_pImpl->m_aPassword = OUString();
@@ -1317,8 +1317,8 @@ void SAL_CALL ODatabaseSource::flushed( const EventObject& /*rEvent*/ ) throw (R
//
// Since this is a conceptual problem as long as we do use those ZIP packages (in fact, we *cannot*
// provide the desired functionality as long as we do not have a package format which allows O(1) writes),
- // we cannot completely fix this. However, we can relax the problem by commiting more often - often
- // enough so that data loss is more seldom, and seldom enough so that there's no noticable performance
+ // we cannot completely fix this. However, we can relax the problem by committing more often - often
+ // enough so that data loss is more seldom, and seldom enough so that there's no noticeable performance
// decrease.
//
// For this, we introduced a few places which XFlushable::flush their connections, and register as
diff --git a/dbaccess/source/ui/app/AppController.hxx b/dbaccess/source/ui/app/AppController.hxx
index a8701814b32a..ad56c3a29206 100644
--- a/dbaccess/source/ui/app/AppController.hxx
+++ b/dbaccess/source/ui/app/AppController.hxx
@@ -329,7 +329,7 @@ namespace dbaui
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& _xDefinition
);
- /** Inserts a new object into the hierachy given be the type.
+ /** Inserts a new object into the hierarchy given be the type.
@param _eType
Where to insert the new item.
@param _sParentFolder
diff --git a/dbaccess/source/ui/app/AppControllerDnD.cxx b/dbaccess/source/ui/app/AppControllerDnD.cxx
index ec9edb0ffa14..a58b77b52e60 100644
--- a/dbaccess/source/ui/app/AppControllerDnD.cxx
+++ b/dbaccess/source/ui/app/AppControllerDnD.cxx
@@ -155,7 +155,7 @@ void OApplicationController::deleteTables(const ::std::vector< OUString>& _rList
if(e.TargetException >>= aSql)
aErrorInfo = aSql;
else
- OSL_FAIL("OApplicationController::implDropTable: something strange happended!");
+ OSL_FAIL("OApplicationController::implDropTable: something strange happened!");
}
catch( const Exception& )
{
diff --git a/dbaccess/source/ui/app/AppDetailView.cxx b/dbaccess/source/ui/app/AppDetailView.cxx
index 16ff6de6acd9..d4a971c48c2c 100644
--- a/dbaccess/source/ui/app/AppDetailView.cxx
+++ b/dbaccess/source/ui/app/AppDetailView.cxx
@@ -418,7 +418,6 @@ void OTasksWindow::setHelpText(sal_uInt16 _nId)
if ( _nId )
{
OUString sText = ModuleRes(_nId);
-
m_aHelpText.SetText(sText);
}
else
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index 1790b90779e4..1fd968578621 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -971,7 +971,7 @@ Reference< XPropertySet > SbaGridControl::getField(sal_uInt16 nModelPos)
else
OSL_FAIL("SbaGridControl::getField getColumns returns NULL or ModelPos is > than count!");
}
- catch(Exception&)
+ catch (const Exception&)
{
OSL_FAIL("SbaGridControl::getField Exception occurred!");
}
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index b076da07ff76..2a85ef3ddb16 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -1996,7 +1996,7 @@ void SbaTableQueryBrowser::Execute(sal_uInt16 nId, const Sequence< PropertyValue
{
aDescriptor[daSelection] <<= aSelection;
aDescriptor[daBookmarkSelection] <<= sal_False;
- // these are selection indicies
+ // these are selection indices
// before we change this, all clients have to be adjusted
// so that they recognize the new BookmarkSelection property!
}
diff --git a/dbaccess/source/ui/dlg/advancedsettings.cxx b/dbaccess/source/ui/dlg/advancedsettings.cxx
index 05e3cd7427ae..624c95180e59 100644
--- a/dbaccess/source/ui/dlg/advancedsettings.cxx
+++ b/dbaccess/source/ui/dlg/advancedsettings.cxx
@@ -141,7 +141,7 @@ namespace dbaui
{
OSL_PRECOND( m_aBooleanSettings.empty(), "SpecialSettingsPage::impl_initBooleanSettings: called twice!" );
- // for easier maintainance, write the table in this form, then copy it to m_aBooleanSettings
+ // for easier maintenance, write the table in this form, then copy it to m_aBooleanSettings
BooleanSettingDesc aSettings[] = {
{ &m_pIsSQL92Check, "usesql92", DSID_SQL92CHECK, false },
{ &m_pAppendTableAlias, "append", DSID_APPEND_TABLE_ALIAS, false },
diff --git a/dbaccess/source/ui/dlg/dbadmin.cxx b/dbaccess/source/ui/dlg/dbadmin.cxx
index 8a39db161eb5..4c38561879f6 100644
--- a/dbaccess/source/ui/dlg/dbadmin.cxx
+++ b/dbaccess/source/ui/dlg/dbadmin.cxx
@@ -444,7 +444,7 @@ SfxItemSet* ODbAdminDialog::createItemSet(SfxItemSet*& _rpSet, SfxItemPool*& _rp
void ODbAdminDialog::destroyItemSet(SfxItemSet*& _rpSet, SfxItemPool*& _rpPool, SfxPoolItem**& _rppDefaults)
{
- // _first_ delete the set (refering the pool)
+ // _first_ delete the set (referring the pool)
if (_rpSet)
{
delete _rpSet;
diff --git a/dbaccess/source/ui/dlg/generalpage.hxx b/dbaccess/source/ui/dlg/generalpage.hxx
index 54ea0be095eb..dd54e145788d 100644
--- a/dbaccess/source/ui/dlg/generalpage.hxx
+++ b/dbaccess/source/ui/dlg/generalpage.hxx
@@ -51,7 +51,7 @@ namespace dbaui
SPECIAL_MESSAGE m_eLastMessage;
Link m_aTypeSelectHandler; /// to be called if a new type is selected
- bool m_bDisplayingInvalid : 1; // the currently displayed data source is deleted
+ bool m_bDisplayingInvalid : 1; /// the currently displayed data source is deleted
bool m_bInitTypeList : 1;
bool approveDatasourceType( const OUString& _sURLPrefix, OUString& _inout_rDisplayName );
void insertDatasourceTypeEntryData( const OUString& _sType, const OUString& sDisplayName );
diff --git a/dbaccess/source/ui/inc/UITools.hxx b/dbaccess/source/ui/inc/UITools.hxx
index db1112943b91..a0e20f7bb968 100644
--- a/dbaccess/source/ui/inc/UITools.hxx
+++ b/dbaccess/source/ui/inc/UITools.hxx
@@ -368,7 +368,7 @@ namespace dbaui
*/
const SfxFilter* getStandardDatabaseFilter();
- /** opens a save dialog to store a form or report folder in the current hierachy.
+ /** opens a save dialog to store a form or report folder in the current hierarchy.
@param _pParent
The parent of the dialog.
@param _rxContext
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index b8bc4439641d..d0e69379d20e 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -1185,7 +1185,7 @@ TOTypeInfoSP queryPrimaryKeyType(const OTypeInfoMap& _rTypeInfo)
for(;aIter != aEnd;++aIter)
{
// OJ: we don't want to set an autoincrement column to be key
- // because we don't have the possiblity to know how to create
+ // because we don't have the possibility to know how to create
// such auto increment column later on
// so until we know how to do it, we create a column without autoincrement
// if ( !aIter->second->bAutoIncrement )
diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx
index 798937674198..68b05500691d 100644
--- a/dbaccess/source/ui/querydesign/QueryTableView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx
@@ -542,7 +542,7 @@ void OQueryTableView::AddTabWin(const OUString& _rComposedName, const OUString&
case KeyType::PRIMARY:
{
- // we have a primary key so look in our list if there exsits a key which this is refered to
+ // we have a primary key so look in our list if there exists a key which this is referred to
OTableWindowMap::const_iterator aIter = pTabWins->begin();
OTableWindowMap::const_iterator aEnd = pTabWins->end();
for(;aIter != aEnd;++aIter)
diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx
index 785d92abffa4..e11ba9580613 100644
--- a/dbaccess/source/ui/uno/copytablewizard.cxx
+++ b/dbaccess/source/ui/uno/copytablewizard.cxx
@@ -1118,11 +1118,11 @@ void CopyTableWizard::impl_copyRows_throw( const Reference< XResultSet >& _rxSou
sal_Int32 nCount = xMeta->getColumnCount();
::std::vector< sal_Int32 > aSourceColTypes;
aSourceColTypes.reserve( nCount + 1 );
- aSourceColTypes.push_back( -1 ); // just to avoid a everytime i-1 call
+ aSourceColTypes.push_back( -1 ); // just to avoid a every time i-1 call
::std::vector< sal_Int32 > aSourcePrec;
aSourcePrec.reserve( nCount + 1 );
- aSourcePrec.push_back( -1 ); // just to avoid a everytime i-1 call
+ aSourcePrec.push_back( -1 ); // just to avoid a every time i-1 call
for ( sal_Int32 k=1; k <= nCount; ++k )
{