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

David Tardon dtardon at redhat.com
Sat Nov 4 19:08:03 UTC 2017


 include/connectivity/sqlerror.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4f2308bb6e5c26e304bb9372b3e5971e8ce24df1
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Nov 4 19:55:21 2017 +0100

    fix build with older boost
    
    Change-Id: Ie3f7a32bf8d5c9c118d35272c8e197b9c6ffcd80

diff --git a/include/connectivity/sqlerror.hxx b/include/connectivity/sqlerror.hxx
index 026d6d84bbae..b1084959a94b 100644
--- a/include/connectivity/sqlerror.hxx
+++ b/include/connectivity/sqlerror.hxx
@@ -71,7 +71,7 @@ namespace connectivity
         public:
             ParamValue( ) : base_type( ) { }
             ParamValue( OUString const& val ) : base_type( val ) { }
-            ParamValue( ParamValue const& rhs ) : base_type( rhs ) { }
+            ParamValue( ParamValue const& rhs ) : base_type( static_cast<base_type const&>( rhs ) ) { }
 
             bool    is() const { return !base_type::operator!(); }
         };


More information about the Libreoffice-commits mailing list