diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-04-25 05:12:01 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-04-25 05:12:01 +0000 |
commit | dbe66eaf01cc0282588debcbb8ac98a4ab2a543a (patch) | |
tree | 428416e8673c4c75f2058b27e26594b7ccf5ccd0 /connectivity/source/inc/ado/Awrapado.hxx | |
parent | 54945250194553427fb9f0979c06eeef559cee48 (diff) |
initiliaze values with 0
Diffstat (limited to 'connectivity/source/inc/ado/Awrapado.hxx')
-rw-r--r-- | connectivity/source/inc/ado/Awrapado.hxx | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/connectivity/source/inc/ado/Awrapado.hxx b/connectivity/source/inc/ado/Awrapado.hxx index 9db794804024..8f080bad12df 100644 --- a/connectivity/source/inc/ado/Awrapado.hxx +++ b/connectivity/source/inc/ado/Awrapado.hxx @@ -2,9 +2,9 @@ * * $RCSfile: Awrapado.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: kz $ $Date: 2001-04-19 08:23:45 $ + * last change: $Author: oj $ $Date: 2001-04-25 06:12:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -136,7 +136,7 @@ namespace connectivity inline sal_Int32 GetCommandTimeout() const { - sal_Int32 nRet; + sal_Int32 nRet=0; pInterface->get_CommandTimeout(&nRet); return nRet; } @@ -148,7 +148,7 @@ namespace connectivity inline sal_Int32 GetConnectionTimeout() const { - sal_Int32 nRet; + sal_Int32 nRet=0; pInterface->get_ConnectionTimeout(&nRet); return nRet; } @@ -482,8 +482,12 @@ namespace connectivity return aBSTR; } - inline sal_Int32 GetNumber() const {sal_Int32 nErrNr; pInterface->get_Number(&nErrNr); - return nErrNr;} + inline sal_Int32 GetNumber() const + { + sal_Int32 nErrNr=0; + pInterface->get_Number(&nErrNr); + return nErrNr; + } inline ::rtl::OUString GetSQLState() const { |