summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 17:48:29 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2015-09-30 08:42:52 +0000
commit4046f6d257a3a6c56d49485d212ccf28c8b0fb51 (patch)
treedf8c2377c0242980158b3f6c9a03a441c0cd0e63 /dbaccess/source/ui
parent1e468ed58994f4eb75519cb52111ed942fbc7377 (diff)
Fix typos
Change-Id: Ia37c28bbb7a1b47ed4a6beffb3f03eb26742b653 Reviewed-on: https://gerrit.libreoffice.org/18944 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r--dbaccess/source/ui/dlg/indexdialog.cxx4
-rw-r--r--dbaccess/source/ui/inc/QueryDesignView.hxx2
-rw-r--r--dbaccess/source/ui/inc/TableRow.hxx2
-rw-r--r--dbaccess/source/ui/inc/curledit.hxx2
-rw-r--r--dbaccess/source/ui/inc/dbtreelistbox.hxx2
-rw-r--r--dbaccess/source/ui/inc/querycontainerwindow.hxx2
-rw-r--r--dbaccess/source/ui/inc/textconnectionsettings.hxx2
-rw-r--r--dbaccess/source/ui/inc/unodatbr.hxx2
-rw-r--r--dbaccess/source/ui/misc/databaseobjectview.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/QueryDesignView.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/QueryTableView.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx2
-rw-r--r--dbaccess/source/ui/relationdesign/RTableConnectionData.cxx2
-rw-r--r--dbaccess/source/ui/tabledesign/TableUndo.cxx2
14 files changed, 15 insertions, 15 deletions
diff --git a/dbaccess/source/ui/dlg/indexdialog.cxx b/dbaccess/source/ui/dlg/indexdialog.cxx
index 19c4dafab378..3ab7db66c55a 100644
--- a/dbaccess/source/ui/dlg/indexdialog.cxx
+++ b/dbaccess/source/ui/dlg/indexdialog.cxx
@@ -471,12 +471,12 @@ namespace dbaui
pAdjust->SetUserData(reinterpret_cast< void* >(sal_Int32(aAfterDropPos - m_pIndexes->begin())));
}
- // if the remvoved entry was the selected on ...
+ // if the removed entry was the selected on...
if (m_pPreviousSelection == _pEntry)
m_pPreviousSelection = NULL;
// the Remove automatically selected another entry (if possible), but we disabled the calling of the handler
- // to prevent that we missed something ... call the handler directly
+ // to prevent that we missed something... call the handler directly
OnIndexSelected(*m_pIndexList);
}
diff --git a/dbaccess/source/ui/inc/QueryDesignView.hxx b/dbaccess/source/ui/inc/QueryDesignView.hxx
index d54b74a7c517..acfc7eb420cf 100644
--- a/dbaccess/source/ui/inc/QueryDesignView.hxx
+++ b/dbaccess/source/ui/inc/QueryDesignView.hxx
@@ -113,7 +113,7 @@ namespace dbaui
// save the position of the table window and the pos of the splitters
// called when fields are deleted
void DeleteFields( const OUString& rAliasName );
- // called when a table from tabeview was deleted
+ // called when a table from tabview was deleted
void TableDeleted(const OUString& rAliasName);
sal_Int32 getColWidth( sal_uInt16 _nColPos) const;
diff --git a/dbaccess/source/ui/inc/TableRow.hxx b/dbaccess/source/ui/inc/TableRow.hxx
index ab49ece32e7f..9d18818459ea 100644
--- a/dbaccess/source/ui/inc/TableRow.hxx
+++ b/dbaccess/source/ui/inc/TableRow.hxx
@@ -59,7 +59,7 @@ namespace dbaui
/** set the row readonly
@param _bRead
- if <TRUE/> then the row is redonly, otherwise not
+ if <TRUE/> then the row is readonly, otherwise not
*/
inline void SetReadOnly( bool _bRead=true ){ m_bReadOnly = _bRead; }
diff --git a/dbaccess/source/ui/inc/curledit.hxx b/dbaccess/source/ui/inc/curledit.hxx
index 4dff5e14ca9f..c0fd692f1509 100644
--- a/dbaccess/source/ui/inc/curledit.hxx
+++ b/dbaccess/source/ui/inc/curledit.hxx
@@ -52,7 +52,7 @@ public:
virtual OUString GetText() const SAL_OVERRIDE;
virtual void Resize() SAL_OVERRIDE;
- /** Showsthe Prefix
+ /** Shows the Prefix
@param _bShowPrefix
If <TRUE/> than the prefix will be visible, otherwise not.
*/
diff --git a/dbaccess/source/ui/inc/dbtreelistbox.hxx b/dbaccess/source/ui/inc/dbtreelistbox.hxx
index edabc325869e..5db4296ee697 100644
--- a/dbaccess/source/ui/inc/dbtreelistbox.hxx
+++ b/dbaccess/source/ui/inc/dbtreelistbox.hxx
@@ -62,7 +62,7 @@ namespace dbaui
m_pContextMenuProvider;
Link<SvTreeListEntry*,bool> m_aPreExpandHandler; // handler to be called before a node is expanded
- Link<LinkParamNone*,void> m_aSelChangeHdl; // handlet to be called (asynchronously) when the selection changes in any way
+ Link<LinkParamNone*,void> m_aSelChangeHdl; // handler to be called (asynchronously) when the selection changes in any way
Link<LinkParamNone*,void> m_aCutHandler; // called when someone press CTRL+X
Link<LinkParamNone*,void> m_aCopyHandler; // called when someone press CTRL+C
Link<LinkParamNone*,void> m_aPasteHandler; // called when someone press CTRL+V
diff --git a/dbaccess/source/ui/inc/querycontainerwindow.hxx b/dbaccess/source/ui/inc/querycontainerwindow.hxx
index fd84eb52b293..80aef5ec0c22 100644
--- a/dbaccess/source/ui/inc/querycontainerwindow.hxx
+++ b/dbaccess/source/ui/inc/querycontainerwindow.hxx
@@ -95,7 +95,7 @@ namespace dbaui
// re-arrange the controls belonging to the document itself
virtual void resizeAll( const Rectangle& _rPlayground ) SAL_OVERRIDE;
- // arrange dericed classes controls in the rectangle given
+ // arrange derived classes controls in the rectangle given
virtual void resizeDocumentView(Rectangle& _rPlayground) SAL_OVERRIDE;
};
// end of temp classes
diff --git a/dbaccess/source/ui/inc/textconnectionsettings.hxx b/dbaccess/source/ui/inc/textconnectionsettings.hxx
index 05ca314322be..82845985dcd3 100644
--- a/dbaccess/source/ui/inc/textconnectionsettings.hxx
+++ b/dbaccess/source/ui/inc/textconnectionsettings.hxx
@@ -41,7 +41,7 @@ namespace dbaui
virtual ~TextConnectionSettingsDialog();
virtual void dispose() SAL_OVERRIDE;
- /** initializes a set of PropertyStorage instaces, which are bound to
+ /** initializes a set of PropertyStorage instances, which are bound to
the text-connection relevant items in our item sets
*/
static void bindItemStorages( SfxItemSet& _rSet, PropertyValues& _rValues );
diff --git a/dbaccess/source/ui/inc/unodatbr.hxx b/dbaccess/source/ui/inc/unodatbr.hxx
index e113fb36fb4e..6d5b73b84c9f 100644
--- a/dbaccess/source/ui/inc/unodatbr.hxx
+++ b/dbaccess/source/ui/inc/unodatbr.hxx
@@ -252,7 +252,7 @@ namespace dbaui
void showExplorer();
void toggleExplorer() { if (haveExplorer()) hideExplorer(); else showExplorer(); }
- // methods for handling the 'selection' (paintin them bold) of SvLBoxEntries
+ // methods for handling the 'selection' (painting them bold) of SvLBoxEntries
// returns <TRUE/> if the entry is selected (which means it's part of the selected path)
static bool isSelected(SvTreeListEntry* _pEntry);
// select the entry (and only the entry, not the whole path)
diff --git a/dbaccess/source/ui/misc/databaseobjectview.cxx b/dbaccess/source/ui/misc/databaseobjectview.cxx
index e40734ff2eb4..ceaf0a71ba97 100644
--- a/dbaccess/source/ui/misc/databaseobjectview.cxx
+++ b/dbaccess/source/ui/misc/databaseobjectview.cxx
@@ -226,7 +226,7 @@ namespace dbaui
{
bool bIsNewDesign = _rObjectName.isEmpty();
- // let's see whether the connection can provide a dedicated table desginer
+ // let's see whether the connection can provide a dedicated table designer
Reference< XInterface > xDesigner;
if ( !bIsNewDesign )
xDesigner = impl_getConnectionProvidedDesigner_nothrow( _rObjectName );
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
index 4082adb1ed3e..e9b9512551ff 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
@@ -901,7 +901,7 @@ namespace
const bool bColumnAliasInOrderBy = rController.getSdbMetaData().supportsColumnAliasInOrderBy();
Reference< XDatabaseMetaData > xMetaData = xConnection->getMetaData();
OUString aQuote = xMetaData->getIdentifierQuoteString();
- // * must not containa filter - have I already shown the warning?
+ // * must not contain filter - have I already shown the warning?
bool bCritsOnAsterikWarning = false; // ** TMFS **
OTableFields::iterator aIter = _rFieldList.begin();
OTableFields::iterator aEnd = _rFieldList.end();
diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx
index be8fcba09281..4ddd95c62329 100644
--- a/dbaccess/source/ui/querydesign/QueryTableView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx
@@ -261,7 +261,7 @@ void OQueryTableView::ReSync()
OQueryTableWindowData* pData = static_cast<OQueryTableWindowData*>(aIter->get());
VclPtr<OTableWindow> pTabWin = createWindow(*aIter);
- // I dont't use ShowTabWin as this adds the window data to the list of documents.
+ // I don't use ShowTabWin as this adds the window data to the list of documents.
// This would be bad as I am getting them from there.
// Instead, I do it step by step
if (!pTabWin->Init())
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index 98285bf3e1eb..91164af853ff 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -1045,7 +1045,7 @@ bool OSelectionBrowseBox::SaveModified()
if ( !m_bGroupByUnRelated && !pEntry->IsVisible() )
{
- // we have to change the visblie flag, so we must append also an undo action
+ // we have to change the visible flag, so we must append also an undo action
pEntry->SetVisible();
m_pVisibleCell->GetBox().Check();
appendUndoAction("0","1",BROW_VIS_ROW,bListAction);
diff --git a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx
index 546b4c9053d8..25109418e267 100644
--- a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx
+++ b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx
@@ -147,7 +147,7 @@ void ORelationTableConnectionData::SetCardinality()
bool ORelationTableConnectionData::checkPrimaryKey(const Reference< XPropertySet>& i_xTable,EConnectionSide _eEConnectionSide) const
{
- // check if Table has the primary key column dependig on _eEConnectionSide
+ // check if Table has the primary key column depending on _eEConnectionSide
sal_uInt16 nPrimKeysCount = 0,
nValidLinesCount = 0;
const Reference< XNameAccess> xKeyColumns = dbtools::getPrimaryKeyColumns_throw(i_xTable);
diff --git a/dbaccess/source/ui/tabledesign/TableUndo.cxx b/dbaccess/source/ui/tabledesign/TableUndo.cxx
index 0c5d901bc52e..141d318600ea 100644
--- a/dbaccess/source/ui/tabledesign/TableUndo.cxx
+++ b/dbaccess/source/ui/tabledesign/TableUndo.cxx
@@ -67,7 +67,7 @@ void OTableDesignUndoAct::Redo()
{
m_pTabDgnCtrl->m_nCurUndoActId++;
- // restore Modifed-flag after Redo of first Undo-action
+ // restore Modified-flag after Redo of first Undo-action
if( m_pTabDgnCtrl->m_nCurUndoActId > 0 )
{
m_pTabDgnCtrl->GetView()->getController().setModified(sal_True);