[PATCH 8/8] vcl: I18nHelper: delete unused GetDate() method
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Wed Feb 8 08:57:45 PST 2012
---
vcl/inc/vcl/i18nhelp.hxx | 1 -
vcl/source/app/i18nhelp.cxx | 7 -------
2 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/vcl/inc/vcl/i18nhelp.hxx b/vcl/inc/vcl/i18nhelp.hxx
index faafdfe..610f5cf 100644
--- a/vcl/inc/vcl/i18nhelp.hxx
+++ b/vcl/inc/vcl/i18nhelp.hxx
@@ -84,7 +84,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 f1505cc..ea4eb34 100644
--- a/vcl/source/app/i18nhelp.cxx
+++ b/vcl/source/app/i18nhelp.cxx
@@ -170,13 +170,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 );
--
1.7.9
More information about the LibreOffice
mailing list