summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/source/services/sessionlistener.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/framework/source/services/sessionlistener.cxx b/framework/source/services/sessionlistener.cxx
index d9881c0f0ee1..1a88f56cae8e 100644
--- a/framework/source/services/sessionlistener.cxx
+++ b/framework/source/services/sessionlistener.cxx
@@ -150,8 +150,7 @@ void SessionListener::StoreSession( sal_Bool bAsync )
args[0] = PropertyValue(OUString("DispatchAsynchron"),-1,makeAny(bAsync),PropertyState_DIRECT_VALUE);
xDispatch->dispatch(aURL, args);
} catch (const com::sun::star::uno::Exception& e) {
- OString aMsg = OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8);
- OSL_FAIL(aMsg.getStr());
+ SAL_WARN("fwk.session",e.Message);
// save failed, but tell manager to go on if we havent yet dispatched the request
// in case of synchronous saving the notification is done by the caller
if ( bAsync && m_rSessionManager.is() )
@@ -179,8 +178,7 @@ void SessionListener::QuitSessionQuietly()
args[0] = PropertyValue(OUString("DispatchAsynchron"),-1,makeAny(sal_False),PropertyState_DIRECT_VALUE);
xDispatch->dispatch(aURL, args);
} catch (const com::sun::star::uno::Exception& e) {
- OString aMsg = OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8);
- OSL_FAIL(aMsg.getStr());
+ SAL_WARN("fwk.session",e.Message);
}
}
@@ -263,8 +261,7 @@ sal_Bool SAL_CALL SessionListener::doRestore()
m_bRestored = sal_True;
} catch (const com::sun::star::uno::Exception& e) {
- OString aMsg = OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8);
- OSL_FAIL(aMsg.getStr());
+ SAL_WARN("fwk.session",e.Message);
}
return m_bRestored;
-annotated-deco' href='/cgit/lo/core/tag/?h=libreoffice-3-6-branch-point'>libreoffice-3-6-branch-pointStefan Knorr (astron) 2012-06-05Remove ugly symbolsStefan Knorr (astron) 2012-05-28put white next to black in the color palette drop-downMichael Meeks 2012-05-26added the metropolis master pageAlexander Wilms 2012-05-05<fanboy>I love you Neil</fanboy>Caolán McNamara 2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen