summaryrefslogtreecommitdiff
path: root/sw/source/uibase/misc/glshell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/misc/glshell.cxx')
-rw-r--r--sw/source/uibase/misc/glshell.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/uibase/misc/glshell.cxx b/sw/source/uibase/misc/glshell.cxx
index b15be1f8f833..fcd31ec39ea8 100644
--- a/sw/source/uibase/misc/glshell.cxx
+++ b/sw/source/uibase/misc/glshell.cxx
@@ -252,8 +252,9 @@ SwDocShellRef SwGlossaries::EditGroupDoc( const OUString& rGroup, const OUString
try
{
// set the UI-title
- uno::Reference< frame::XTitle > xTitle( xDocSh->GetModel(), uno::UNO_QUERY_THROW );
- xTitle->setTitle( aDocTitle );
+ uno::Reference< frame::XTitle > xTitle( xDocSh->GetModel(), uno::UNO_QUERY );
+ if (xTitle)
+ xTitle->setTitle( aDocTitle );
}
catch (const uno::Exception&)
{