summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/doctemplates.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/doctemplates.cxx')
-rw-r--r--sfx2/source/doc/doctemplates.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx
index 67702b9c0ef5..23257dbc5949 100644
--- a/sfx2/source/doc/doctemplates.cxx
+++ b/sfx2/source/doc/doctemplates.cxx
@@ -2743,7 +2743,7 @@ void SfxURLRelocator_Impl::implExpandURL( OUString& io_url )
{
if ( !mxMacroExpander.is() )
{
- mxMacroExpander.set( theMacroExpander::get(mxContext), UNO_QUERY_THROW );
+ mxMacroExpander.set( theMacroExpander::get(mxContext), UNO_SET_THROW );
}
io_url = mxMacroExpander->expandMacros( io_url );
}