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

Julien Nabet serval2412 at yahoo.fr
Sun Feb 8 13:37:40 PST 2015


 dbaccess/source/ui/app/AppController.hxx    |    2 +-
 dbaccess/source/ui/app/AppControllerDnD.cxx |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 5fc371068c0731a52119493e88e3e79a0f86b31a
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Feb 8 22:37:01 2015 +0100

    Typo: getQueryDefintions->getQueryDefinitions
    
    Change-Id: Id7f9117efaac3d1c66db5858c220971a5f9adad8

diff --git a/dbaccess/source/ui/app/AppController.hxx b/dbaccess/source/ui/app/AppController.hxx
index d54fcc8..42237ce 100644
--- a/dbaccess/source/ui/app/AppController.hxx
+++ b/dbaccess/source/ui/app/AppController.hxx
@@ -253,7 +253,7 @@ namespace dbaui
         ::std::unique_ptr<OLinkedDocumentsAccess> getDocumentsAccess(ElementType _eType);
 
         /// returns the query definitions of the active data source.
-        ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer> getQueryDefintions() const;
+        ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer> getQueryDefinitions() const;
 
         /** pastes a special format from the system clipboard to the currently selected object types
             @param  _nFormatId
diff --git a/dbaccess/source/ui/app/AppControllerDnD.cxx b/dbaccess/source/ui/app/AppControllerDnD.cxx
index 6e0dd75..4736dc2 100644
--- a/dbaccess/source/ui/app/AppControllerDnD.cxx
+++ b/dbaccess/source/ui/app/AppControllerDnD.cxx
@@ -456,7 +456,7 @@ Reference< XNameAccess > OApplicationController::getElements( ElementType _eType
 
         case E_QUERY:
         {
-            xElements.set( getQueryDefintions(), UNO_QUERY_THROW );
+            xElements.set( getQueryDefinitions(), UNO_QUERY_THROW );
         }
         break;
 
@@ -624,7 +624,7 @@ bool OApplicationController::paste( ElementType _eType, const ::svx::ODataAccess
                         OUString sDefaultName = OUString( ModuleRes( STR_QRY_TITLE ) );
                         sDefaultName = sDefaultName.getToken( 0, ' ' );
 
-                        Reference< XNameAccess > xQueries( getQueryDefintions(), UNO_QUERY_THROW );
+                        Reference< XNameAccess > xQueries( getQueryDefinitions(), UNO_QUERY_THROW );
                         sTargetName = ::dbtools::createUniqueName( xQueries, sDefaultName, false );
                     }
                 }
@@ -665,7 +665,7 @@ bool OApplicationController::paste( ElementType _eType, const ::svx::ODataAccess
                     }
                 }
 
-                Reference< XNameContainer > xDestQueries(getQueryDefintions(), UNO_QUERY);
+                Reference< XNameContainer > xDestQueries(getQueryDefinitions(), UNO_QUERY);
                 Reference< XSingleServiceFactory > xQueryFactory(xDestQueries, UNO_QUERY);
                 if (!xQueryFactory.is())
                 {
@@ -762,7 +762,7 @@ bool OApplicationController::paste( ElementType _eType, const ::svx::ODataAccess
     return false;
 }
 
-Reference<XNameContainer> OApplicationController::getQueryDefintions() const
+Reference<XNameContainer> OApplicationController::getQueryDefinitions() const
 {
     Reference<XQueryDefinitionsSupplier> xSet(m_xDataSource,UNO_QUERY);
     Reference<XNameContainer> xNames;


More information about the Libreoffice-commits mailing list