[Libreoffice-commits] core.git: dbaccess/source

Andrea Gelmini andrea.gelmini at gelma.net
Sat Mar 25 16:55:26 UTC 2017


 dbaccess/source/core/dataaccess/databasecontext.cxx      |    2 +-
 dbaccess/source/core/dataaccess/datasource.hxx           |    2 +-
 dbaccess/source/ext/macromigration/migrationengine.cxx   |    2 +-
 dbaccess/source/ui/app/AppController.hxx                 |    2 +-
 dbaccess/source/ui/browser/brwctrlr.cxx                  |    2 +-
 dbaccess/source/ui/control/dbtreelistbox.cxx             |    2 +-
 dbaccess/source/ui/dlg/tablespage.hxx                    |    2 +-
 dbaccess/source/ui/inc/defaultobjectnamecheck.hxx        |    2 +-
 dbaccess/source/ui/inc/querycontainerwindow.hxx          |    2 +-
 dbaccess/source/ui/querydesign/QueryTableView.cxx        |    4 ++--
 dbaccess/source/ui/querydesign/TableWindow.cxx           |    2 +-
 dbaccess/source/ui/relationdesign/RelationController.cxx |    2 +-
 dbaccess/source/ui/tabledesign/TEditControl.cxx          |    2 +-
 13 files changed, 14 insertions(+), 14 deletions(-)

New commits:
commit 3c8efc29d6c0fd3c8d819cc38c2fa0c4385cbfb6
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Sat Mar 25 09:41:15 2017 +0100

    Fix typos
    
    Change-Id: If350d22ed9365fa8924dc049f23d7f5cd92b9872
    Reviewed-on: https://gerrit.libreoffice.org/35625
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/dbaccess/source/core/dataaccess/databasecontext.cxx b/dbaccess/source/core/dataaccess/databasecontext.cxx
index 99e4668a7706..6bf904125df9 100644
--- a/dbaccess/source/core/dataaccess/databasecontext.cxx
+++ b/dbaccess/source/core/dataaccess/databasecontext.cxx
@@ -652,7 +652,7 @@ Any ODatabaseContext::getByName(const OUString& _rName)
         throw;
     }
     catch (const Exception&)
-    {   // exceptions other than the speciafied ones -> wrap
+    {   // exceptions other than the specified ones -> wrap
         Any aError = ::cppu::getCaughtException();
         throw WrappedTargetException(_rName, *this, aError );
     }
diff --git a/dbaccess/source/core/dataaccess/datasource.hxx b/dbaccess/source/core/dataaccess/datasource.hxx
index 8fa26c50cce1..b508c599b2b3 100644
--- a/dbaccess/source/core/dataaccess/datasource.hxx
+++ b/dbaccess/source/core/dataaccess/datasource.hxx
@@ -100,7 +100,7 @@ public:
 
         Normally, this name is passed at time of creation of the ODatabaseModelImpl instance,
         but if a newly created data source is registered, then it must be possible to propagate
-        the new trgistration name.
+        the new registration name.
     */
     static void setName(
             const css::uno::Reference< css::sdb::XDocumentDataSource >& _rxDocument,
diff --git a/dbaccess/source/ext/macromigration/migrationengine.cxx b/dbaccess/source/ext/macromigration/migrationengine.cxx
index def0bf7274f0..1bd5d908b475 100644
--- a/dbaccess/source/ext/macromigration/migrationengine.cxx
+++ b/dbaccess/source/ext/macromigration/migrationengine.cxx
@@ -1161,7 +1161,7 @@ namespace dbmm
             // "too many" invalid characters, or the name composed with the base name was already used.
             // (The latter is valid, since there can be multiple sub documents with the same base name,
             // in different levels in the hierarchy.)
-            // In this case, just use the umambiguous sub document number.
+            // In this case, just use the unambiguous sub document number.
             return sPrefix + OUString::number( _rDocument.nNumber ) + "_" + _rSourceLibName;
         }
     }
diff --git a/dbaccess/source/ui/app/AppController.hxx b/dbaccess/source/ui/app/AppController.hxx
index 24dbc9c7e749..81323fd6e5e9 100644
--- a/dbaccess/source/ui/app/AppController.hxx
+++ b/dbaccess/source/ui/app/AppController.hxx
@@ -272,7 +272,7 @@ namespace dbaui
         */
         void addContainerListener(const css::uno::Reference< css::container::XNameAccess>& _xCollection);
 
-        /** opens a uno dialog withthe currently selected data source as initialize argument
+        /** opens a uno dialog with the currently selected data source as initialize argument
             @param  _sServiceName
                 The service name of the dialog to be executed.
         */
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx
index 1c26dc89d13d..e891ab85c1d0 100644
--- a/dbaccess/source/ui/browser/brwctrlr.cxx
+++ b/dbaccess/source/ui/browser/brwctrlr.cxx
@@ -2403,7 +2403,7 @@ IMPL_LINK(SbaXDataBrowserController, OnCanceledNotFound, FmFoundRecordInformatio
 
     try
     {
-        // let the grid snyc its display with the cursor
+        // let the grid sync its display with the cursor
         Reference< XPropertySet >  xModelSet(getControlModel(), UNO_QUERY);
         OSL_ENSURE(xModelSet.is(), "SbaXDataBrowserController::OnCanceledNotFound : no model set ?!");
         Any aOld = xModelSet->getPropertyValue("DisplayIsSynchron");
diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx
index 1eac063f9dc3..dc6537b4c3c6 100644
--- a/dbaccess/source/ui/control/dbtreelistbox.cxx
+++ b/dbaccess/source/ui/control/dbtreelistbox.cxx
@@ -131,7 +131,7 @@ void DBTreeListBox::RequestingChildren( SvTreeListEntry* pParent )
     if (m_aPreExpandHandler.IsSet() && !m_aPreExpandHandler.Call(pParent))
     {
         // an error occurred. The method calling us will reset the entry flags, so it can't be expanded again.
-        // But we want that the user may do a second try (i.e. because he misstypes a password in this try), so
+        // But we want that the user may do a second try (i.e. because he mistypes a password in this try), so
         // we have to reset these flags controlling the expand ability
         PostUserEvent(LINK(this, DBTreeListBox, OnResetEntry), pParent, true);
     }
diff --git a/dbaccess/source/ui/dlg/tablespage.hxx b/dbaccess/source/ui/dlg/tablespage.hxx
index 2e1bdaa25301..eaeb984968bf 100644
--- a/dbaccess/source/ui/dlg/tablespage.hxx
+++ b/dbaccess/source/ui/dlg/tablespage.hxx
@@ -87,7 +87,7 @@ namespace dbaui
         virtual void implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) override;
 
         // checks the tables according to the filter given
-        // in oppsofite to implCheckTables, this method handles the case of an empty sequence, too ...
+        // in opposite to implCheckTables, this method handles the case of an empty sequence, too ...
         void implCompleteTablesCheck( const css::uno::Sequence< OUString >& _rTableFilter );
     };
 
diff --git a/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx b/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx
index 64d36b02fff1..7190d72448cf 100644
--- a/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx
+++ b/dbaccess/source/ui/inc/defaultobjectnamecheck.hxx
@@ -44,7 +44,7 @@ namespace dbaui
     public:
         /** constructs a HierarchicalNameCheck instance
         @param _rxNames
-            the hierarchic container of named objects, against which given names should be
+            the hierarchical container of named objects, against which given names should be
             checked
         @param _rRelativeRoot
             the root in the hierarchy against which given names should be checked
diff --git a/dbaccess/source/ui/inc/querycontainerwindow.hxx b/dbaccess/source/ui/inc/querycontainerwindow.hxx
index 45f4ecc803af..c4aa690c4891 100644
--- a/dbaccess/source/ui/inc/querycontainerwindow.hxx
+++ b/dbaccess/source/ui/inc/querycontainerwindow.hxx
@@ -31,7 +31,7 @@ namespace dbaui
 {
 
     // OBeamer
-    // tempoaray class until the beamer is implemented
+    // temporary class until the beamer is implemented
     class OBeamer : public DockingWindow
     {
     public:
diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx
index fd96f7b7af84..a71c067a3d53 100644
--- a/dbaccess/source/ui/querydesign/QueryTableView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx
@@ -195,7 +195,7 @@ namespace
                 else
                     OSL_FAIL("Column not found!");
             }
-            // get the position inside the tabe
+            // get the position inside the table
             Reference<XNameAccess> xRefColumns = _rDest.GetOriginalColumns();
             if(xRefColumns.is())
             {
@@ -305,7 +305,7 @@ void OQueryTableView::ReSync()
             continue;
         }
 
-        // adds a new connection to join view and notifies our accessible and invaldates the controller
+        // adds a new connection to join view and notifies our accessible and invalidates the controller
         addConnection(VclPtr<OQueryTableConnection>::Create(this, *aConIter));
     }
 }
diff --git a/dbaccess/source/ui/querydesign/TableWindow.cxx b/dbaccess/source/ui/querydesign/TableWindow.cxx
index dfc78424b2a7..aad254bdb8b7 100644
--- a/dbaccess/source/ui/querydesign/TableWindow.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindow.cxx
@@ -476,7 +476,7 @@ void OTableWindow::SetBoldTitle( bool bBold )
 void OTableWindow::GetFocus()
 {
     Window::GetFocus();
-    // we have to forward the focus to our listbox to enable keystokes
+    // we have to forward the focus to our listbox to enable keystrokes
     if(m_xListBox)
         m_xListBox->GrabFocus();
 }
diff --git a/dbaccess/source/ui/relationdesign/RelationController.cxx b/dbaccess/source/ui/relationdesign/RelationController.cxx
index 04f355764bb6..9c6ca8a42ec7 100644
--- a/dbaccess/source/ui/relationdesign/RelationController.cxx
+++ b/dbaccess/source/ui/relationdesign/RelationController.cxx
@@ -393,7 +393,7 @@ namespace
                             aRefFind->second->ShowAll(false);
                         }
                         else
-                            continue; // table name could not be found so we do not show this table releation
+                            continue; // table name could not be found so we do not show this table relation
                     }
                     TTableWindowData::value_type pReferencedTable = aRefFind->second;
 
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx
index 7777121f2c54..5895b8376f17 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.cxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx
@@ -920,7 +920,7 @@ void OTableEditorCtrl::SetCellData( long nRow, sal_uInt16 nColId, const css::uno
         return;
 
     OUString sValue;
-    // Set indvidual fields
+    // Set individual fields
     switch( nColId )
     {
         case FIELD_NAME:


More information about the Libreoffice-commits mailing list