summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-08 08:57:45 -0800
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-02-08 11:23:54 -0600
commit737a584d9a1cc29d2688871bdebbb0a7175c542c (patch)
treea235dfe31e013084fe37d6355e9c83c2bd4c547b /vcl
parentd857f0938b8acd491f297d104889588bb986aa66 (diff)
vcl: I18nHelper: delete unused GetDate() method
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/i18nhelp.hxx1
-rw-r--r--vcl/source/app/i18nhelp.cxx7
2 files changed, 0 insertions, 8 deletions
diff --git a/vcl/inc/vcl/i18nhelp.hxx b/vcl/inc/vcl/i18nhelp.hxx
index a83afa4510ab..32f9e168243c 100644
--- a/vcl/inc/vcl/i18nhelp.hxx
+++ b/vcl/inc/vcl/i18nhelp.hxx
@@ -86,7 +86,6 @@ public:
sal_Bool MatchString( const String& rStr1, const String& rStr2 ) const;
sal_Bool MatchMnemonic( const String& rString, sal_Unicode cMnemonicChar ) const;
- String GetDate( const Date& rDate ) const;
String GetNum( long nNumber, sal_uInt16 nDecimals, sal_Bool bUseThousandSep = sal_True, sal_Bool bTrailingZeros = sal_True ) const;
static String filterFormattingChars( const String& );
diff --git a/vcl/source/app/i18nhelp.cxx b/vcl/source/app/i18nhelp.cxx
index f8967b27b052..0c1c3fadaddb 100644
--- a/vcl/source/app/i18nhelp.cxx
+++ b/vcl/source/app/i18nhelp.cxx
@@ -175,13 +175,6 @@ sal_Bool vcl::I18nHelper::MatchMnemonic( const String& rString, sal_Unicode cMne
}
-String vcl::I18nHelper::GetDate( const Date& rDate ) const
-{
- ::osl::Guard< ::osl::Mutex > aGuard( ((vcl::I18nHelper*)this)->maMutex );
-
- return ImplGetLocaleDataWrapper().getDate( rDate );
-}
-
String vcl::I18nHelper::GetNum( long nNumber, sal_uInt16 nDecimals, sal_Bool bUseThousandSep, sal_Bool bTrailingZeros ) const
{
return ImplGetLocaleDataWrapper().getNum( nNumber, nDecimals, bUseThousandSep, bTrailingZeros );