diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:49:59 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:54:26 +0200 |
commit | 2c4494df10eaf0198d8bf4c0dcdef5988d97b0e6 (patch) | |
tree | 99e7db4868ec778c324e946cf758733b5c6a691a /extensions/source/abpilot | |
parent | e45366826cf4a5b01163403e384ead8c818d8a1e (diff) |
loplugin:staticcall
Change-Id: Ib8bbba8d6e3364f7474643ddb60a469497437616
Diffstat (limited to 'extensions/source/abpilot')
-rw-r--r-- | extensions/source/abpilot/datasourcehandling.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/abpilot/datasourcehandling.cxx b/extensions/source/abpilot/datasourcehandling.cxx index 839e6696d640..8d2f36f9fbbf 100644 --- a/extensions/source/abpilot/datasourcehandling.cxx +++ b/extensions/source/abpilot/datasourcehandling.cxx @@ -372,7 +372,7 @@ namespace abp Reference< XDocumentDataSource > xDocAccess( m_pImpl->xDataSource, UNO_QUERY ); Reference< XStorable > xStorable; if ( xDocAccess.is() ) - xStorable = xStorable.query( xDocAccess->getDatabaseDocument() ); + xStorable.set(xDocAccess->getDatabaseDocument(), css::uno::UNO_QUERY); OSL_ENSURE( xStorable.is(),"DataSource is no XStorable!" ); if ( xStorable.is() ) xStorable->storeAsURL(m_pImpl->sName,Sequence<PropertyValue>()); |