summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-11-22 18:35:06 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-22 18:38:49 -0500
commit84a6d8eeaab540e5b2ea3baffd919903dff8c247 (patch)
tree40caa8028110eddadef72c15194a2238c3b9f12f /include
parent3a79d1c0001252483c695eed8e709304cd43ca84 (diff)
ptr_container sometimes requires new_clone function.
This fixes Windows build breakage. Change-Id: I188e38b20674700132c7d7c78304f58748540556
Diffstat (limited to 'include')
-rw-r--r--include/svl/zforlist.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx
index 7607af724b7d..7ada1b58ed6b 100644
--- a/include/svl/zforlist.hxx
+++ b/include/svl/zforlist.hxx
@@ -250,8 +250,13 @@ public:
NfCurrencyEntry( const ::com::sun::star::i18n::Currency & rCurr,
const LocaleDataWrapper& rLocaleData,
LanguageType eLang );
+ NfCurrencyEntry( const OUString& rSymbol, const OUString& rBankSymbol, LanguageType eLang,
+ sal_uInt16 nPositiveFmt, sal_uInt16 nNegativeFmt, sal_uInt16 nDig,
+ sal_Unicode cZero );
~NfCurrencyEntry() {}
+ NfCurrencyEntry* Clone() const;
+
/// Symbols and language identical
bool operator==( const NfCurrencyEntry& r ) const;
@@ -299,6 +304,11 @@ public:
static inline sal_Unicode GetEuroSymbol() { return sal_Unicode(0x20AC); }
};
+inline NfCurrencyEntry* new_clone( const NfCurrencyEntry& r )
+{
+ return r.Clone();
+}
+
typedef std::vector< OUString > NfWSStringsDtor;
class SvNumberFormatterRegistry_Impl;