diff options
Diffstat (limited to 'scripting/source/inc/util')
-rw-r--r-- | scripting/source/inc/util/MiscUtils.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/inc/util/MiscUtils.hxx b/scripting/source/inc/util/MiscUtils.hxx index 8edbde242c0b..8ad4f8f505de 100644 --- a/scripting/source/inc/util/MiscUtils.hxx +++ b/scripting/source/inc/util/MiscUtils.hxx @@ -36,7 +36,7 @@ #include <com/sun/star/sdbc/XResultSet.hpp> #include <com/sun/star/sdbc/XRow.hpp> #include <com/sun/star/lang/XMultiComponentFactory.hpp> - +#include <comphelper/processfactory.hxx> #include "util.hxx" @@ -116,7 +116,7 @@ public: try { - ::ucbhelper::Content root( url, NULL ); + ::ucbhelper::Content root( url, NULL, comphelper::getProcessComponentContext() ); ::rtl::OUString propName = OUSTR("DocumentModel"); result = getUCBProperty( root, propName ); } |