diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-03-02 11:31:00 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-03-02 11:31:00 +0000 |
commit | 4e5582dda7c0e42a9eab04a850ab66d971524650 (patch) | |
tree | 15df19bfb39c600580de3f149e9e5f51cb849a87 /connectivity | |
parent | 8e0887f0d097c0672f3749b1dee2791600474a29 (diff) |
INTEGRATION: CWS oj07 (1.6.106); FILE MERGED
2004/02/25 09:47:09 oj 1.6.106.4: #i18583# adjust sign unsigned values
2004/01/28 08:08:22 oj 1.6.106.3: RESYNC: (1.7-1.8); FILE MERGED
2003/09/15 13:59:47 oj 1.6.106.2: RESYNC: (1.6-1.7); FILE MERGED
2003/08/27 10:18:01 oj 1.6.106.1: #i18583# adjust value when it is unsigned
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/inc/connectivity/FValue.hxx | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/connectivity/inc/connectivity/FValue.hxx b/connectivity/inc/connectivity/FValue.hxx index 0505466d4fc5..ce9f659db86e 100644 --- a/connectivity/inc/connectivity/FValue.hxx +++ b/connectivity/inc/connectivity/FValue.hxx @@ -2,9 +2,9 @@ * * $RCSfile: FValue.hxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: rt $ $Date: 2003-12-01 18:19:59 $ + * last change: $Author: rt $ $Date: 2004-03-02 12:31:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -115,6 +115,7 @@ namespace connectivity sal_Bool m_bNull : 1; // value is null sal_Bool m_bBound : 1; // is bound sal_Bool m_bModified : 1; // value was changed + sal_Bool m_bSigned : 1; // value is signed void free(); @@ -123,6 +124,7 @@ namespace connectivity m_eTypeKind(::com::sun::star::sdbc::DataType::VARCHAR) ,m_bBound(sal_True) ,m_bNull(sal_True) + ,m_bSigned(sal_True) { m_aValue.m_pString = NULL; } @@ -131,6 +133,7 @@ namespace connectivity m_eTypeKind(::com::sun::star::sdbc::DataType::VARCHAR) ,m_bBound(sal_True) ,m_bNull(sal_True) + ,m_bSigned(sal_True) { m_aValue.m_pString = NULL; operator=(_rRH); @@ -140,6 +143,7 @@ namespace connectivity m_eTypeKind(::com::sun::star::sdbc::DataType::VARCHAR) ,m_bBound(sal_True) ,m_bNull(sal_True) + ,m_bSigned(sal_True) { m_aValue.m_pString = NULL; operator=(_rRH); @@ -149,6 +153,7 @@ namespace connectivity m_eTypeKind(::com::sun::star::sdbc::DataType::DOUBLE) ,m_bBound(sal_True) ,m_bNull(sal_True) + ,m_bSigned(sal_True) { m_aValue.m_pString = NULL; operator=(_rRH); @@ -158,6 +163,7 @@ namespace connectivity m_eTypeKind(::com::sun::star::sdbc::DataType::FLOAT) ,m_bBound(sal_True) ,m_bNull(sal_True) + ,m_bSigned(sal_True) { m_aValue.m_pString = NULL; operator=(_rRH); @@ -167,6 +173,7 @@ namespace connectivity m_eTypeKind(::com::sun::star::sdbc::DataType::TINYINT) ,m_bBound(sal_True) ,m_bNull(sal_True) + ,m_bSigned(sal_True) { m_aValue.m_pString = NULL; operator=(_rRH); @@ -175,6 +182,7 @@ namespace connectivity m_eTypeKind(::com::sun::star::sdbc::DataType::SMALLINT) ,m_bBound(sal_True) ,m_bNull(sal_True) + ,m_bSigned(sal_True) { m_aValue.m_pString = NULL; operator=(_rRH); @@ -183,6 +191,7 @@ namespace connectivity m_eTypeKind(::com::sun::star::sdbc::DataType::INTEGER) ,m_bBound(sal_True) ,m_bNull(sal_True) + ,m_bSigned(sal_True) { m_aValue.m_pString = NULL; operator=(_rRH); @@ -191,6 +200,7 @@ namespace connectivity m_eTypeKind(::com::sun::star::sdbc::DataType::BIGINT) ,m_bBound(sal_True) ,m_bNull(sal_True) + ,m_bSigned(sal_True) { m_aValue.m_pString = NULL; operator=(_rRH); @@ -200,6 +210,7 @@ namespace connectivity m_eTypeKind(::com::sun::star::sdbc::DataType::BIT) ,m_bBound(sal_True) ,m_bNull(sal_True) + ,m_bSigned(sal_True) { m_aValue.m_pString = NULL; operator=(_rRH); @@ -209,6 +220,7 @@ namespace connectivity m_eTypeKind(::com::sun::star::sdbc::DataType::DATE) ,m_bBound(sal_True) ,m_bNull(sal_True) + ,m_bSigned(sal_True) { m_aValue.m_pString = NULL; operator=(_rRH); @@ -218,6 +230,7 @@ namespace connectivity m_eTypeKind(::com::sun::star::sdbc::DataType::TIME) ,m_bBound(sal_True) ,m_bNull(sal_True) + ,m_bSigned(sal_True) { m_aValue.m_pString = NULL; operator=(_rRH); @@ -227,6 +240,7 @@ namespace connectivity m_eTypeKind(::com::sun::star::sdbc::DataType::TIMESTAMP) ,m_bBound(sal_True) ,m_bNull(sal_True) + ,m_bSigned(sal_True) { m_aValue.m_pString = NULL; operator=(_rRH); @@ -236,6 +250,7 @@ namespace connectivity m_eTypeKind(::com::sun::star::sdbc::DataType::LONGVARBINARY) ,m_bBound(sal_True) ,m_bNull(sal_True) + ,m_bSigned(sal_True) { m_aValue.m_pString = NULL; operator=(_rRH); @@ -329,6 +344,9 @@ namespace connectivity sal_Bool isModified() const { return m_bModified; } void setModified(sal_Bool _bMod=sal_True){ m_bModified = _bMod; } + sal_Bool isSigned() const { return m_bSigned; } + void setSigned(sal_Bool _bMod=sal_True); + sal_Int32 getTypeKind() const { return m_eTypeKind; } void setTypeKind(sal_Int32 _eType); |