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

Stephan Bergmann sbergman at redhat.com
Fri Jan 6 11:35:15 UTC 2017


 connectivity/source/drivers/ado/AConnection.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit b397c4b8cb9f1a0f2182f1d4b480bf77951aa68f
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jan 6 12:34:15 2017 +0100

    bSilent is unused
    
    ...ever since c25ec0608a167bcf1d891043f02273761c351701 "initial import"
    
    Change-Id: Iccee867aa9722ced2f66d4d8b8911c5e191502c2

diff --git a/connectivity/source/drivers/ado/AConnection.cxx b/connectivity/source/drivers/ado/AConnection.cxx
index d5a2a60..15432c3 100644
--- a/connectivity/source/drivers/ado/AConnection.cxx
+++ b/connectivity/source/drivers/ado/AConnection.cxx
@@ -108,15 +108,12 @@ void OConnection::construct(const OUString& url,const Sequence< PropertyValue >&
         aDSN = aDSN.copy(7);
 
     sal_Int32 nTimeout = 20;
-    bool bSilent = true;
     const PropertyValue *pIter  = info.getConstArray();
     const PropertyValue *pEnd   = pIter + info.getLength();
     for(;pIter != pEnd;++pIter)
     {
         if(pIter->Name == "Timeout")
             pIter->Value >>= nTimeout;
-        else if(pIter->Name == "Silent")
-            pIter->Value >>= bSilent;
         else if(pIter->Name == "user")
             pIter->Value >>= aUID;
         else if(pIter->Name == "password")


More information about the Libreoffice-commits mailing list