diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-03-06 14:15:44 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-03-06 14:15:44 +0000 |
commit | 6df1fb713c2005eb0b0917b5c2e809c31bfd3025 (patch) | |
tree | 8720539c5e28579a40215e38957ed58595deb04c /sc/inc/dociter.hxx | |
parent | 6053ef8070f9cf9720bee949e231b2a8fb91fbda (diff) |
INTEGRATION: CWS odff (1.7.158); FILE MERGED
2008/01/08 22:19:48 er 1.7.158.1: #i38759# value iterator's GetFirst/GetNext: correct behavior does not reset double& rValue to 0.0 if no value found
Diffstat (limited to 'sc/inc/dociter.hxx')
-rw-r--r-- | sc/inc/dociter.hxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx index 3f8c5373ea11..912f9fce8871 100644 --- a/sc/inc/dociter.hxx +++ b/sc/inc/dociter.hxx @@ -4,9 +4,9 @@ * * $RCSfile: dociter.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: vg $ $Date: 2007-02-27 11:55:41 $ + * last change: $Author: kz $ $Date: 2008-03-06 15:15:44 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -126,7 +126,9 @@ public: const ScRange& rRange, BOOL bSTotal = FALSE, BOOL bTextAsZero = FALSE ); void GetCurNumFmtInfo( short& nType, ULONG& nIndex ); + /// Does NOT reset rValue if no value found! BOOL GetFirst(double& rValue, USHORT& rErr); + /// Does NOT reset rValue if no value found! BOOL GetNext(double& rValue, USHORT& rErr) { return bNextValid ? ( bNextValid = FALSE, rValue = fNextValue, @@ -156,7 +158,9 @@ private: public: ScQueryValueIterator(ScDocument* pDocument, SCTAB nTable, const ScQueryParam& aParam); + /// Does NOT reset rValue if no value found! BOOL GetFirst(double& rValue, USHORT& rErr); + /// Does NOT reset rValue if no value found! BOOL GetNext(double& rValue, USHORT& rErr); void GetCurNumFmtInfo( short& nType, ULONG& nIndex ) { nType = nNumFmtType; nIndex = nNumFmtIndex; } |