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

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Dec 18 08:20:27 UTC 2020


 connectivity/source/drivers/postgresql/pq_connection.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 976ceae533becc3978e7c3741eadc69af4484437
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Dec 18 09:06:27 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Dec 18 09:19:46 2020 +0100

    fix build
    
    ...after 177792660697f85763b39f455d7ebff0f83084fd "pgsql-sdbc: use libpq's
    custom free()..."
    
    Change-Id: I44f86470707eea850742130caf7ec243d850ad51
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107933
    Tested-by: Stephan Bergmann <sbergman at redhat.com>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx
index e4716fe8855d..2bc1e4a42af8 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.cxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.cxx
@@ -444,7 +444,7 @@ void Connection::initialize( const Sequence< Any >& aArguments )
         nColon = url.indexOf( ':' , 1+ nColon );
         if( nColon != -1 )
         {
-             o = OUStringToOString( url.subView(nColon+1), ConnectionSettings::encoding );
+             o = rtl::OUStringToOString( url.subView(nColon+1), ConnectionSettings::encoding );
         }
     }
     {


More information about the Libreoffice-commits mailing list