summaryrefslogtreecommitdiff
path: root/writerperfect/qa/unit
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/qa/unit')
-rw-r--r--writerperfect/qa/unit/WPXSvStreamTest.cxx4
-rw-r--r--writerperfect/qa/unit/WpftLoader.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/writerperfect/qa/unit/WPXSvStreamTest.cxx b/writerperfect/qa/unit/WPXSvStreamTest.cxx
index d7c42ee7d3b0..ef246afb7725 100644
--- a/writerperfect/qa/unit/WPXSvStreamTest.cxx
+++ b/writerperfect/qa/unit/WPXSvStreamTest.cxx
@@ -89,13 +89,13 @@ const shared_ptr<RVNGInputStream> lcl_createStreamForURL(const OUString& rURL)
using uno::UNO_QUERY_THROW;
const Reference<uno::XComponentContext> xContext(comphelper::getProcessComponentContext(),
- UNO_QUERY_THROW);
+ css::uno::UNO_SET_THROW);
const Reference<ucb::XSimpleFileAccess> xFileAccess(
xContext->getServiceManager()->createInstanceWithContext(
"com.sun.star.ucb.SimpleFileAccess", xContext),
UNO_QUERY_THROW);
const Reference<io::XInputStream> xInputStream(xFileAccess->openFileRead(rURL),
- UNO_QUERY_THROW);
+ css::uno::UNO_SET_THROW);
const shared_ptr<RVNGInputStream> pInput(new WPXSvInputStream(xInputStream));
return pInput;
diff --git a/writerperfect/qa/unit/WpftLoader.cxx b/writerperfect/qa/unit/WpftLoader.cxx
index bae64e0aa651..79fc2a05dc68 100644
--- a/writerperfect/qa/unit/WpftLoader.cxx
+++ b/writerperfect/qa/unit/WpftLoader.cxx
@@ -92,7 +92,7 @@ bool WpftLoader::impl_load()
// create an empty frame
m_xDoc.set(m_xDesktop->loadComponentFromURL(m_aFactoryURL, "_blank", 0,
uno::Sequence<beans::PropertyValue>()),
- uno::UNO_QUERY_THROW);
+ uno::UNO_SET_THROW);
// Find the model and frame. We need them later.
m_xFrame.set(m_xDoc, uno::UNO_QUERY);