summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-08 11:48:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-08 13:04:46 +0100
commit5298b1b32d90002be8d09fe82955550c18eae8bc (patch)
tree3af0cf62eed719894b77c99d1e0896c7ad260c25 /connectivity
parent3e6613964f10ff10b71188293a2e4d4d1b29944c (diff)
callcatcher: ditch some more methods
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/inc/connectivity/sqlparse.hxx8
-rwxr-xr-xconnectivity/source/parse/sqlbison.y6
2 files changed, 0 insertions, 14 deletions
diff --git a/connectivity/inc/connectivity/sqlparse.hxx b/connectivity/inc/connectivity/sqlparse.hxx
index a99cd369677c..1d7f128bba1d 100644
--- a/connectivity/inc/connectivity/sqlparse.hxx
+++ b/connectivity/inc/connectivity/sqlparse.hxx
@@ -97,14 +97,6 @@ namespace connectivity
// determines the default international setting
static const ::com::sun::star::lang::Locale& getDefaultLocale();
- /** set's the default locale which should be used when analyzing strings
- <p>If no locale is set, and any method which needs a locale is called, a default
- (en-US) is used.</p>
- <p>If, while parsing, the locale can be obtained from other sources (such as the number format
- set for a table column), the preferred locale is ignored.</p>
- */
- static void setDefaultLocale( const ::com::sun::star::lang::Locale& _rLocale );
-
/** get's a locale instance which should be used when parsing in the context specified by this instance
<p>if this is not overridden by derived classes, it returns the static default locale.</p>
*/
diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y
index 1f2c577b8da0..d7e7c678a890 100755
--- a/connectivity/source/parse/sqlbison.y
+++ b/connectivity/source/parse/sqlbison.y
@@ -4477,12 +4477,6 @@ static Locale& impl_getLocaleInstance( )
}
//------------------------------------------------------------------------------
-void OParseContext::setDefaultLocale( const ::com::sun::star::lang::Locale& _rLocale )
-{
- impl_getLocaleInstance() = _rLocale;
-}
-
-//------------------------------------------------------------------------------
Locale OParseContext::getPreferredLocale( ) const
{
return getDefaultLocale();