You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libreoffice/0001-fix-build-with-older-b...

27 lines
988 B

From 4f2308bb6e5c26e304bb9372b3e5971e8ce24df1 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Sat, 4 Nov 2017 19:55:21 +0100
Subject: [PATCH] fix build with older boost
Change-Id: Ie3f7a32bf8d5c9c118d35272c8e197b9c6ffcd80
---
include/connectivity/sqlerror.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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!(); }
};
--
2.14.1