summaryrefslogtreecommitdiff
path: root/connectivity/Library_postgresql-sdbc.mk
blob: 48613ab91bfc1d7fd173ddf19e2c3745c34debe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

$(eval $(call gb_Library_Library,postgresql-sdbc))

$(eval $(call gb_Library_add_defs,postgresql-sdbc,\
	-DPQ_SDBC_MAJOR=0 \
	-DPQ_SDBC_MINOR=8 \
	-DPQ_SDBC_MICRO=2 \
))

$(eval $(call gb_Library_use_sdk_api,postgresql-sdbc))

$(eval $(call gb_Library_use_libraries,postgresql-sdbc,\
	comphelper \
	cppu \
	cppuhelper \
	sal \
	salhelper \
))

$(eval $(call gb_Library_set_componentfile,postgresql-sdbc,connectivity/source/drivers/postgresql/postgresql-sdbc))

$(eval $(call gb_Library_add_exception_objects,postgresql-sdbc,\
	connectivity/source/drivers/postgresql/pq_driver \
))

# vim: set noet sw=4 ts=4:
ited to 'xmlsecurity')
-rw-r--r--xmlsecurity/tools/standalone/csfit/certmngr.cxx2
-rw-r--r--xmlsecurity/tools/standalone/csfit/decrypter.cxx2
-rw-r--r--xmlsecurity/tools/standalone/csfit/encrypter.cxx2
-rw-r--r--xmlsecurity/tools/standalone/csfit/signer.cxx2
-rw-r--r--xmlsecurity/tools/standalone/csfit/verifier.cxx2
-rw-r--r--xmlsecurity/tools/standalone/mscsfit/certmngr.cxx2
-rw-r--r--xmlsecurity/tools/standalone/mscsfit/decrypter.cxx2
-rw-r--r--xmlsecurity/tools/standalone/mscsfit/encrypter.cxx2
-rw-r--r--xmlsecurity/tools/standalone/mscsfit/signer.cxx2
-rw-r--r--xmlsecurity/tools/standalone/mscsfit/verifier.cxx2
10 files changed, 10 insertions, 10 deletions
diff --git a/xmlsecurity/tools/standalone/csfit/certmngr.cxx b/xmlsecurity/tools/standalone/csfit/certmngr.cxx
index b5257911623c..82d8d5b9e4e2 100644
--- a/xmlsecurity/tools/standalone/csfit/certmngr.cxx
+++ b/xmlsecurity/tools/standalone/csfit/certmngr.cxx
@@ -169,7 +169,7 @@ int SAL_CALL main( int argc, char **argv )
sal_Int32 validity = pSecEnv->verifyCertificate( xPersonalCerts[i] ) ;
fprintf( stdout, "The certificate validities are %d\n", validity ) ;
}
- } catch( Exception& e ) {
+ } catch( const Exception& e ) {
fprintf( stderr , "Error Message: %s\n" , OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US ).getStr() ) ;
goto done ;
}
diff --git a/xmlsecurity/tools/standalone/csfit/decrypter.cxx b/xmlsecurity/tools/standalone/csfit/decrypter.cxx
index c3d27a887b8f..a39352c629ce 100644
--- a/xmlsecurity/tools/standalone/csfit/decrypter.cxx
+++ b/xmlsecurity/tools/standalone/csfit/decrypter.cxx
@@ -236,7 +236,7 @@ int SAL_CALL main( int argc, char **argv )
OSL_ENSURE( xDecrRes.is() ,
"Decryptor - "
"Cannot decrypt the xml document" ) ;
- } catch( Exception& e ) {
+ } catch( const Exception& e ) {
fprintf( stderr , "Error Message: %s\n" , OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US ).getStr() ) ;
goto done ;
}
diff --git a/xmlsecurity/tools/standalone/csfit/encrypter.cxx b/xmlsecurity/tools/standalone/csfit/encrypter.cxx
index 2000b037991c..bcf9c275eaaf 100644
--- a/xmlsecurity/tools/standalone/csfit/encrypter.cxx
+++ b/xmlsecurity/tools/standalone/csfit/encrypter.cxx
@@ -269,7 +269,7 @@ int SAL_CALL main( int argc, char **argv )
OSL_ENSURE( xTemplate.is() ,
"Encryptor - "
"Cannot encrypt the xml document" ) ;
- } catch( Exception& e ) {
+ } catch( const Exception& e ) {
fprintf( stderr , "Error Message: %s\n" , OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US ).getStr() ) ;
goto done ;
}
diff --git a/xmlsecurity/tools/standalone/csfit/signer.cxx b/xmlsecurity/tools/standalone/csfit/signer.cxx
index ee21c0d5fec6..96cf72d2ae71 100644
--- a/xmlsecurity/tools/standalone/csfit/signer.cxx
+++ b/xmlsecurity/tools/standalone/csfit/signer.cxx
@@ -326,7 +326,7 @@ int SAL_CALL main( int argc, char **argv )
OSL_ENSURE( xTemplate.is() ,
"Signer - "
"Cannot generate the xml signature" ) ;
- } catch( Exception& e ) {
+ } catch( const Exception& e ) {
fprintf( stderr , "Error Message: %s\n" , OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US ).getStr() ) ;
goto done ;
}
diff --git a/xmlsecurity/tools/standalone/csfit/verifier.cxx b/xmlsecurity/tools/standalone/csfit/verifier.cxx
index ecca4020c719..a624f793eefd 100644
--- a/xmlsecurity/tools/standalone/csfit/verifier.cxx
+++ b/xmlsecurity/tools/standalone/csfit/verifier.cxx
@@ -313,7 +313,7 @@ int SAL_CALL main( int argc, char **argv )
} else {
printf( "Signature is VALID!\n" ) ;
}
- } catch( Exception& e ) {
+ } catch( const Exception& e ) {
fprintf( stderr , "Error Message: %s\n" , OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US ).getStr() ) ;
goto done ;
}
diff --git a/xmlsecurity/tools/standalone/mscsfit/certmngr.cxx b/xmlsecurity/tools/standalone/mscsfit/certmngr.cxx
index 9ff7ae36e20a..04ddd9860f7f 100644
--- a/xmlsecurity/tools/standalone/mscsfit/certmngr.cxx
+++ b/xmlsecurity/tools/standalone/mscsfit/certmngr.cxx
@@ -135,7 +135,7 @@ int SAL_CALL main( int argc, char **argv )
fprintf( stdout, "The certificate validities are %d\n", validity ) ;
}
- } catch( Exception& e ) {
+ } catch( const Exception& e ) {
fprintf( stderr , "Error Message: %s\n" , OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US ).getStr() ) ;
goto done ;
}
diff --git a/xmlsecurity/tools/standalone/mscsfit/decrypter.cxx b/xmlsecurity/tools/standalone/mscsfit/decrypter.cxx
index b2a08629880b..259d9cef89fa 100644
--- a/xmlsecurity/tools/standalone/mscsfit/decrypter.cxx
+++ b/xmlsecurity/tools/standalone/mscsfit/decrypter.cxx
@@ -210,7 +210,7 @@ int SAL_CALL main( int argc, char **argv )
OSL_ENSURE( xDecrRes.is() ,
"Decryptor - "
"Cannot decrypt the xml document" ) ;
- } catch( Exception& e ) {
+ } catch( const Exception& e ) {
fprintf( stderr , "Error Message: %s\n" , OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US ).getStr() ) ;
goto done ;
}
diff --git a/xmlsecurity/tools/standalone/mscsfit/encrypter.cxx b/xmlsecurity/tools/standalone/mscsfit/encrypter.cxx
index 0312f271e0ea..1645163a1894 100644
--- a/xmlsecurity/tools/standalone/mscsfit/encrypter.cxx
+++ b/xmlsecurity/tools/standalone/mscsfit/encrypter.cxx
@@ -267,7 +267,7 @@ int SAL_CALL main( int argc, char **argv )
{
fprintf( stdout, "Operation fails.\n") ;
}
- } catch( Exception& e ) {
+ } catch( const Exception& e ) {
fprintf( stderr , "Error Message: %s\n" , OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US ).getStr() ) ;
goto done ;
}
diff --git a/xmlsecurity/tools/standalone/mscsfit/signer.cxx b/xmlsecurity/tools/standalone/mscsfit/signer.cxx
index 0c7fbecba9fa..9e96e4fc40ec 100644
--- a/xmlsecurity/tools/standalone/mscsfit/signer.cxx
+++ b/xmlsecurity/tools/standalone/mscsfit/signer.cxx
@@ -299,7 +299,7 @@ int SAL_CALL main( int argc, char **argv )
{
fprintf( stdout, "Operation fails.\n") ;