summaryrefslogtreecommitdiff
path: root/connectivity/source/parse
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:49:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:24 +0200
commit75838570c39ac5f399c1903d259355f3b80e07da (patch)
tree58af7d68f78dc941744cf99d0f4ee5c20351c173 /connectivity/source/parse
parent9ea1bb2c1d2e20c91a4f51474e1db9316e79b149 (diff)
loplugin:staticcall
Change-Id: I7f22aa5576ca3c62fa363971f4fa5992b7711563
Diffstat (limited to 'connectivity/source/parse')
-rw-r--r--connectivity/source/parse/sqlnode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx
index af2150911791..1b83a24ff810 100644
--- a/connectivity/source/parse/sqlnode.cxx
+++ b/connectivity/source/parse/sqlnode.cxx
@@ -1524,7 +1524,7 @@ bool OSQLParser::extractDate(OSQLParseNode* pLiteral,double& _rfValue)
Reference< XNumberFormatsSupplier > xFormatSup = m_xFormatter->getNumberFormatsSupplier();
Reference< XNumberFormatTypes > xFormatTypes;
if ( xFormatSup.is() )
- xFormatTypes = xFormatTypes.query( xFormatSup->getNumberFormats() );
+ xFormatTypes.set(xFormatSup->getNumberFormats(), css::uno::UNO_QUERY);
// if there is no format key, yet, make sure we have a feasible one for our locale
try