summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-11-01 13:25:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-11-05 16:43:14 +0100
commit41a71413f4ebe69a48ee068fd5c785d6015c0cca (patch)
treedc46caf73c60f9186e1ce28543715d79e747394e /xmlhelp
parentb70a330d4f06daaeeff940b2f935c8089d8a7be6 (diff)
fdo#46808, use service constructor for ucb::PropertiesManager
Change-Id: Ib0c7375ac9f72647b10adcb2cea8a0f8e2fdcca0
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetbase.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
index 5319a58ca34b..eb124bfdc382 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
@@ -26,6 +26,7 @@
*
************************************************************************/
+#include <comphelper/processfactory.hxx>
#include <ucbhelper/contentidentifier.hxx>
#include <com/sun/star/ucb/OpenMode.hpp>
#include <com/sun/star/uno/Reference.h>
@@ -648,7 +649,7 @@ ResultSetBase::getMetaData(
{
::ucbhelper::ResultSetMetaData* p =
new ::ucbhelper::ResultSetMetaData(
- m_xMSF, m_sProperty );
+ comphelper::getComponentContext(m_xMSF), m_sProperty );
return uno::Reference< sdbc::XResultSetMetaData >( p );
}