summaryrefslogtreecommitdiff
path: root/desktop/source/app/app.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/app/app.cxx')
-rw-r--r--desktop/source/app/app.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 195776f3e49f..de16f0a1c5bf 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -2438,8 +2438,7 @@ void Desktop::OpenClients()
// session management
try
{
- Reference< XSessionManagerListener > r(xSessionListener, UNO_QUERY_THROW);
- r->doRestore();
+ xSessionListener->doRestore();
}
catch(const com::sun::star::uno::Exception& e)
{