summaryrefslogtreecommitdiff
path: root/svl/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-13 22:53:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-15 09:21:47 +0100
commit5c3b0251b137c5d695d670c643fac1ee8049fb17 (patch)
tree5031e0e9ffe85b4381a9dd2d98c45a87a2ec9abb /svl/inc
parent684d499a42215bc50fcbce3e233a16c3282d9eb6 (diff)
callcatcher: remove code, hide's erAcks to-do code behind an ifdef
Diffstat (limited to 'svl/inc')
-rw-r--r--svl/inc/svl/zformat.hxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/svl/inc/svl/zformat.hxx b/svl/inc/svl/zformat.hxx
index b534f97be002..9ad2895aa2f7 100644
--- a/svl/inc/svl/zformat.hxx
+++ b/svl/inc/svl/zformat.hxx
@@ -101,14 +101,18 @@ class SvNumberNatNum
public:
static sal_uInt8 MapDBNumToNatNum( sal_uInt8 nDBNum, LanguageType eLang, bool bDate );
+#ifdef THE_FUTURE
static sal_uInt8 MapNatNumToDBNum( sal_uInt8 nNatNum, LanguageType eLang, bool bDate );
+#endif
SvNumberNatNum() : eLang( LANGUAGE_DONTKNOW ), nNum(0),
bDBNum(0), bDate(0), bSet(0) {}
bool IsComplete() const { return bSet && eLang != LANGUAGE_DONTKNOW; }
sal_uInt8 GetRawNum() const { return nNum; }
sal_uInt8 GetNatNum() const { return bDBNum ? MapDBNumToNatNum( nNum, eLang, bDate ) : nNum; }
+#ifdef THE_FUTURE
sal_uInt8 GetDBNum() const { return bDBNum ? nNum : MapNatNumToDBNum( nNum, eLang, bDate ); }
+#endif
LanguageType GetLang() const { return eLang; }
void SetLang( LanguageType e ) { eLang = e; }
void SetNum( sal_uInt8 nNumber, bool bDBNumber )
@@ -434,6 +438,7 @@ public:
calling this method. */
void SwitchToGregorianCalendar( const String& rOrgCalendar, double fOrgDateTime ) const;
+#ifdef THE_FUTURE
/** Switches to the first specified calendar, if any, in subformat nNumFor
(0..3). Original calendar name and date/time returned, but only if
calendar switched and rOrgCalendar was empty.
@@ -450,7 +455,7 @@ public:
fOrgDateTime, NumFor[nNumFor] );
return false;
}
-
+#endif
private:
ImpSvNumFor NumFor[4]; // Array for the 4 subformats
String sFormatstring; // The format code string
@@ -471,8 +476,10 @@ private:
SVL_DLLPRIVATE bool ImpIsOtherCalendar( const ImpSvNumFor& rNumFor ) const;
+#ifdef THE_FUTURE
SVL_DLLPRIVATE bool ImpSwitchToSpecifiedCalendar( String& rOrgCalendar,
double& fOrgDateTime, const ImpSvNumFor& rNumFor ) const;
+#endif
#ifdef _ZFORMAT_CXX // ----- private implementation methods -----