From 404a3c806ffdf094c2f4a95a722765fea132fad5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 1 Oct 2019 09:17:15 +0200 Subject: loplugin:simplifyconstruct (clang-cl) Change-Id: I08da288a88c2bce1d4250ec77f17bd483e6bc09c Reviewed-on: https://gerrit.libreoffice.org/79911 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- connectivity/source/drivers/ado/ADriver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/ado/ADriver.cxx b/connectivity/source/drivers/ado/ADriver.cxx index eae5ee686996..c19df1794285 100644 --- a/connectivity/source/drivers/ado/ADriver.cxx +++ b/connectivity/source/drivers/ado/ADriver.cxx @@ -260,7 +260,7 @@ void ADOS::ThrowException(ADOConnection* _pAdoCon,const Reference< XInterface >& aException = SQLException(aErr.GetDescription(),_xInterface,aErr.GetSQLState(),aErr.GetNumber(),Any()); else { - SQLException aTemp = SQLException(aErr.GetDescription(), + SQLException aTemp(aErr.GetDescription(), _xInterface,aErr.GetSQLState(),aErr.GetNumber(),makeAny(aException)); aTemp.NextException <<= aException; aException = aTemp; -- cgit