summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-01-15 09:09:57 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-01-16 12:40:51 +0100
commit624f84c07ee798f6bbf4381c26262d5d2774a1ed (patch)
treea3a0334dbfda10f89c563344976cea321652f238 /dbaccess
parent66a192ee63db9adc1d6df66a5e7996d5af5d5284 (diff)
Fix typos
Change-Id: I078626eaa3155cc429320cc8c1532003b382b22a Reviewed-on: https://gerrit.libreoffice.org/47855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/qa/unit/data/dbaccess-dialogs-test.txt2
-rw-r--r--dbaccess/source/core/api/RowSet.cxx2
-rw-r--r--dbaccess/source/ui/app/AppController.hxx2
-rw-r--r--dbaccess/source/ui/app/AppDetailPageHelper.hxx2
-rw-r--r--dbaccess/source/ui/inc/JoinTableView.hxx4
-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/QueryDesignView.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/QueryTableView.cxx2
9 files changed, 10 insertions, 10 deletions
diff --git a/dbaccess/qa/unit/data/dbaccess-dialogs-test.txt b/dbaccess/qa/unit/data/dbaccess-dialogs-test.txt
index 5063c98fe14e..1fd47cd605a4 100644
--- a/dbaccess/qa/unit/data/dbaccess-dialogs-test.txt
+++ b/dbaccess/qa/unit/data/dbaccess-dialogs-test.txt
@@ -13,7 +13,7 @@
# workdir/screenshots using the pattern of the ui-file name.
#
# Syntax:
-# - emty lines are allowed
+# - empty lines are allowed
# - lines starting with '#' are treated as comment
# - all other lines should contain a *.ui filename in the same
# notation as in the dialog constructors (see code)
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx
index d130eaac68fb..e83c9e896abf 100644
--- a/dbaccess/source/core/api/RowSet.cxx
+++ b/dbaccess/source/core/api/RowSet.cxx
@@ -569,7 +569,7 @@ void ORowSet::freeResources( bool _bComplete )
m_xColumns = nullptr;
if ( m_pColumns )
m_pColumns->disposing();
- // dispose the composer to avoid that everbody knows that the querycomposer is eol
+ // dispose the composer to avoid that everybody knows that the querycomposer is eol
try { ::comphelper::disposeComponent( m_xComposer ); }
catch(Exception&)
{
diff --git a/dbaccess/source/ui/app/AppController.hxx b/dbaccess/source/ui/app/AppController.hxx
index 9e40df4b2573..7b21b805e68a 100644
--- a/dbaccess/source/ui/app/AppController.hxx
+++ b/dbaccess/source/ui/app/AppController.hxx
@@ -310,7 +310,7 @@ namespace dbaui
,bool _bCollection = true
,const css::uno::Reference< css::ucb::XContent>& _xContent = css::uno::Reference< css::ucb::XContent>()
,bool _bMove = false);
- /** checks if delete command or rename comamnd is allowed
+ /** checks if delete command or rename command is allowed
@param _eType
The element type.
@param _bDelete
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.hxx b/dbaccess/source/ui/app/AppDetailPageHelper.hxx
index 0585154aca50..096f6045f65d 100644
--- a/dbaccess/source/ui/app/AppDetailPageHelper.hxx
+++ b/dbaccess/source/ui/app/AppDetailPageHelper.hxx
@@ -320,7 +320,7 @@ namespace dbaui
@param _eMode
the mode to set for the preview
@param _bForce
- Force the preview to be resetted
+ Force the preview to be reset
*/
void switchPreview(PreviewMode _eMode,bool _bForce = false);
diff --git a/dbaccess/source/ui/inc/JoinTableView.hxx b/dbaccess/source/ui/inc/JoinTableView.hxx
index a95dead35eb5..b44aa22d7cab 100644
--- a/dbaccess/source/ui/inc/JoinTableView.hxx
+++ b/dbaccess/source/ui/inc/JoinTableView.hxx
@@ -46,7 +46,7 @@ namespace dbaui
class OTableWindowData;
class OJoinDesignViewAccess;
- // this class conatins only the scrollbars to avoid that
+ // this class contains only the scrollbars to avoid that
// the tablewindows clip the scrollbars
class OJoinTableView;
class OScrollWindowHelper : public vcl::Window
@@ -216,7 +216,7 @@ namespace dbaui
corresponding Wins and Conns */
virtual void ReSync() { }
- /** Hart deletion
+ /** Hard deletion
That means that all Conns and Wins are deleted from their respective
lists and the corresponding Datas removed from the document */
diff --git a/dbaccess/source/ui/inc/UITools.hxx b/dbaccess/source/ui/inc/UITools.hxx
index bf730100eaaf..114e2ad78527 100644
--- a/dbaccess/source/ui/inc/UITools.hxx
+++ b/dbaccess/source/ui/inc/UITools.hxx
@@ -357,7 +357,7 @@ namespace dbaui
,OUString& _rsDatabaseName);
/** returns the standard database filter
- @retrun
+ @return
the filter
*/
std::shared_ptr<const SfxFilter> getStandardDatabaseFilter();
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index ca8f0ef4c2fd..1ba1f0b28887 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -1126,7 +1126,7 @@ TOTypeInfoSP queryPrimaryKeyType(const OTypeInfoMap& _rTypeInfo)
if ( !pTypeInfo.get() ) // just a fallback
pTypeInfo = queryTypeInfoByType(DataType::VARCHAR,_rTypeInfo);
- OSL_ENSURE(pTypeInfo.get(),"checkColumns: can't find a type which is useable as a key!");
+ OSL_ENSURE(pTypeInfo.get(),"checkColumns: can't find a type which is usable as a key!");
return pTypeInfo;
}
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
index d8f7489a13ca..78a9f1f311f3 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
@@ -806,7 +806,7 @@ namespace
aWhereStr += C_AND;
aWhereStr += " ";
- // aCriteria could have some german numbers so I have to be sure here
+ // aCriteria could have some German numbers so I have to be sure here
OUString aErrorMsg;
Reference<XPropertySet> xColumn;
std::unique_ptr< ::connectivity::OSQLParseNode> pParseNode( _pView->getPredicateTreeFromEntry(pEntryField,aCriteria,aErrorMsg,xColumn));
diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx
index d721ed7da46d..7ac7aff0fb89 100644
--- a/dbaccess/source/ui/querydesign/QueryTableView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx
@@ -613,7 +613,7 @@ void OQueryTableView::createNewConnection()
}
else
{
- // create a new conenction and append it
+ // create a new connection and append it
VclPtrInstance<OQueryTableConnection> pQConn(this, pData);
GetConnection(pQConn);
pConn = pQConn;