summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-03-28 22:54:47 +0300
committerTor Lillqvist <tml@iki.fi>2012-03-29 09:49:44 +0300
commitded39ff8f6b17b4493f3a612a0f6f39181766414 (patch)
treeb96e5756048778dfb0a860d15b4f480c81294bdc /stoc
parent0487871af64c83ecfc9d424f64357655b44aa923 (diff)
We want just the library basename in the DISABLE_DYNLOADING case
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/simpleregistry/textualservices.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/stoc/source/simpleregistry/textualservices.cxx b/stoc/source/simpleregistry/textualservices.cxx
index 37540c820134..ad24a4454550 100644
--- a/stoc/source/simpleregistry/textualservices.cxx
+++ b/stoc/source/simpleregistry/textualservices.cxx
@@ -326,6 +326,7 @@ void Parser::handleComponent() {
": <component> is missing \"loader\" attribute"))),
css::uno::Reference< css::uno::XInterface >());
}
+#ifndef DISABLE_DYNLOADING
try {
attrUri_ = rtl::Uri::convertRelToAbs(reader_.getUrl(), attrUri_);
} catch (const rtl::MalformedUriException & e) {
@@ -336,6 +337,7 @@ void Parser::handleComponent() {
e.getMessage()),
css::uno::Reference< css::uno::XInterface >());
}
+#endif
}
void Parser::handleImplementation() {