[Libreoffice-commits] core.git: 2 commits - unoxml/inc unoxml/source uui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Feb 22 06:39:21 UTC 2019


 unoxml/inc/node.hxx                  |    1 -
 unoxml/source/dom/node.cxx           |    1 -
 unoxml/source/dom/saxbuilder.cxx     |    6 +-----
 unoxml/source/dom/saxbuilder.hxx     |    1 -
 uui/source/iahndl-authentication.cxx |    1 -
 uui/source/loginerr.hxx              |    3 ---
 6 files changed, 1 insertion(+), 12 deletions(-)

New commits:
commit 09394116502c54c8c6bbb9ec18e9ad991b7db83b
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Feb 21 15:50:15 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Feb 22 07:39:04 2019 +0100

    loplugin:unusedfields in unoxml
    
    Change-Id: I03655d967dc165885bb51e4a931930590632c32d
    Reviewed-on: https://gerrit.libreoffice.org/68159
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/unoxml/inc/node.hxx b/unoxml/inc/node.hxx
index ebfcd9bf15d4..216f80eda3d5 100644
--- a/unoxml/inc/node.hxx
+++ b/unoxml/inc/node.hxx
@@ -64,7 +64,6 @@ namespace DOM
         {
             OString     maPrefix;
             sal_Int32   mnToken;
-            OUString    maNamespaceURL;
 
             const OString& getPrefix() const { return maPrefix; }
         };
diff --git a/unoxml/source/dom/node.cxx b/unoxml/source/dom/node.cxx
index 73e2b5985f48..f486182eca83 100644
--- a/unoxml/source/dom/node.cxx
+++ b/unoxml/source/dom/node.cxx
@@ -90,7 +90,6 @@ namespace DOM
                 Context::Namespace aNS;
                 aNS.maPrefix = prefix;
                 aNS.mnToken = aIter->second;
-                aNS.maNamespaceURL = val;
 
                 io_rContext.maNamespaces.back().push_back(aNS);
 
diff --git a/unoxml/source/dom/saxbuilder.cxx b/unoxml/source/dom/saxbuilder.cxx
index a8d1210c9c83..994a6c0392f6 100644
--- a/unoxml/source/dom/saxbuilder.cxx
+++ b/unoxml/source/dom/saxbuilder.cxx
@@ -191,12 +191,8 @@ namespace DOM
         m_aNodeStack.top()->appendChild(aInstruction);
     }
 
-    void SAL_CALL CSAXDocumentBuilder::setDocumentLocator( const Reference< XLocator >& xLocator )
+    void SAL_CALL CSAXDocumentBuilder::setDocumentLocator( const Reference< XLocator >& )
     {
-        ::osl::MutexGuard g(m_Mutex);
-
-        // set the document locator...
-        m_aLocator = xLocator;
     }
 
     void SAL_CALL CSAXDocumentBuilder::startFastElement( sal_Int32 nElement , const Reference< XFastAttributeList >& xAttribs  )
diff --git a/unoxml/source/dom/saxbuilder.hxx b/unoxml/source/dom/saxbuilder.hxx
index e2279a0c24bb..e20b5ccb95a5 100644
--- a/unoxml/source/dom/saxbuilder.hxx
+++ b/unoxml/source/dom/saxbuilder.hxx
@@ -56,7 +56,6 @@ namespace DOM
 
         css::uno::Reference< css::xml::dom::XDocument > m_aDocument;
         css::uno::Reference< css::xml::dom::XDocumentFragment > m_aFragment;
-        css::uno::Reference< css::xml::sax::XLocator > m_aLocator;
 
 
     public:
commit e0c9956a76514279a6df27f9752763e1ea20abbd
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Feb 21 15:50:06 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Feb 22 07:38:51 2019 +0100

    loplugin:unusedfields in uui
    
    Change-Id: I4b5f359dd7af170bcdee5343078e4e36eeebdc85
    Reviewed-on: https://gerrit.libreoffice.org/68158
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx
index 6103f876e209..114cf8b87563 100644
--- a/uui/source/iahndl-authentication.cxx
+++ b/uui/source/iahndl-authentication.cxx
@@ -236,7 +236,6 @@ handleAuthenticationRequest_(
     }
 
     LoginErrorInfo aInfo;
-    aInfo.SetTitle(rRequest.ServerName);
     aInfo.SetServer(rRequest.ServerName);
     if (rRequest.HasAccount)
         aInfo.SetAccount(rRequest.Account);
diff --git a/uui/source/loginerr.hxx b/uui/source/loginerr.hxx
index bdfb7f06c19a..76973684c855 100644
--- a/uui/source/loginerr.hxx
+++ b/uui/source/loginerr.hxx
@@ -34,7 +34,6 @@
 class LoginErrorInfo
 {
 private:
-    OUString m_aTitle;
     OUString m_aServer;
     OUString m_aAccount;
     OUString m_aUserName;
@@ -72,8 +71,6 @@ public:
     sal_uInt8       GetFlags() const        { return m_nFlags; }
     DialogMask   GetResult() const       { return m_nRet; }
 
-    void            SetTitle( const OUString& aTitle )
-                    { m_aTitle = aTitle; }
     void            SetServer( const OUString& aServer )
                     { m_aServer = aServer; }
     void            SetAccount( const OUString& aAccount )


More information about the Libreoffice-commits mailing list