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

coverity#1308534 Uncaught exception

Change-Id: Ia515fb55486cd5d3bb95ad3dbbb0cc554c0c1547
üst 8e1dd507
...@@ -219,7 +219,7 @@ namespace SwUnoCursorHelper ...@@ -219,7 +219,7 @@ namespace SwUnoCursorHelper
const ::com::sun::star::uno::Any& rValue, const ::com::sun::star::uno::Any& rValue,
SwDoc & rDoc, SfxItemSet & rSet); SwDoc & rDoc, SfxItemSet & rSet);
void SetTextFormatColl(const ::com::sun::star::uno::Any & rAny, SwPaM & rPaM) void SetTextFormatColl(const ::com::sun::star::uno::Any & rAny, SwPaM & rPaM)
throw (::com::sun::star::lang::IllegalArgumentException, css::uno::RuntimeException); throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception);
bool SetCursorPropertyValue( bool SetCursorPropertyValue(
SfxItemPropertySimpleEntry const& rEntry, SfxItemPropertySimpleEntry const& rEntry,
::com::sun::star::uno::Any const& rValue, ::com::sun::star::uno::Any const& rValue,
......
...@@ -261,7 +261,7 @@ throw (lang::IllegalArgumentException) ...@@ -261,7 +261,7 @@ throw (lang::IllegalArgumentException)
void void
SwUnoCursorHelper::SetTextFormatColl(const uno::Any & rAny, SwPaM & rPaM) SwUnoCursorHelper::SetTextFormatColl(const uno::Any & rAny, SwPaM & rPaM)
throw (lang::IllegalArgumentException, uno::RuntimeException) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
{ {
SwDoc *const pDoc = rPaM.GetDoc(); SwDoc *const pDoc = rPaM.GetDoc();
SwDocShell *const pDocSh = pDoc->GetDocShell(); SwDocShell *const pDocSh = pDoc->GetDocShell();
......
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