summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2013-03-30 15:34:22 -0400
committerPeter Foley <pefoley2@verizon.net>2013-03-30 16:55:25 -0400
commit8ffb20747c77e5875237a9bceca28f4cb4ec9bb3 (patch)
treea4adae652ac22e3d9021fb9b68dda8b1dbe8488d /framework
parent761af309529d877e1b365fdcdb2fee4bb9ee377f (diff)
fix loplugin unused warnings
Change-Id: I23fc6bf62e74f192f77c74ed48d5276737375f3c
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;