Kaydet (Commit) a49e332d authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1308467 Uncaught exception

Change-Id: I1daa61d04b91586450891e13462fbbbbafce823d
üst ac33fb8e
...@@ -192,7 +192,8 @@ namespace SwUnoCursorHelper ...@@ -192,7 +192,8 @@ namespace SwUnoCursorHelper
const SwGetPropertyStatesCaller eCaller = const SwGetPropertyStatesCaller eCaller =
SW_PROPERTY_STATE_CALLER_DEFAULT) SW_PROPERTY_STATE_CALLER_DEFAULT)
throw (::com::sun::star::beans::UnknownPropertyException, throw (::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::uno::RuntimeException); ::com::sun::star::uno::RuntimeException,
std::exception);
::com::sun::star::beans::PropertyState GetPropertyState( ::com::sun::star::beans::PropertyState GetPropertyState(
SwPaM & rPaM, SwPaM & rPaM,
const SfxItemPropertySet & rPropSet, const SfxItemPropertySet & rPropSet,
......
...@@ -1875,7 +1875,7 @@ SwUnoCursorHelper::GetPropertyStates( ...@@ -1875,7 +1875,7 @@ SwUnoCursorHelper::GetPropertyStates(
SwPaM& rPaM, const SfxItemPropertySet& rPropSet, SwPaM& rPaM, const SfxItemPropertySet& rPropSet,
const uno::Sequence< OUString >& rPropertyNames, const uno::Sequence< OUString >& rPropertyNames,
const SwGetPropertyStatesCaller eCaller) const SwGetPropertyStatesCaller eCaller)
throw (beans::UnknownPropertyException, uno::RuntimeException) throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)
{ {
const OUString* pNames = rPropertyNames.getConstArray(); const OUString* pNames = rPropertyNames.getConstArray();
uno::Sequence< beans::PropertyState > aRet(rPropertyNames.getLength()); uno::Sequence< beans::PropertyState > aRet(rPropertyNames.getLength());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment