diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-15 17:28:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-16 21:37:10 +0100 |
commit | 06e23c974d9f927a34352a3e8386f6de54570396 (patch) | |
tree | 443d8f7528b6ee1a46332e3b43359eefc526792d /svx | |
parent | a26b6c5a37408f49f81786ac1ba2ae9cef70d3d9 (diff) |
coverity#1421065 Uncaught exception
Change-Id: I68e798a4e7a90bb0cf7709ac84915e7f14f00c1d
Reviewed-on: https://gerrit.libreoffice.org/44778
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/XPropertyTable.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/unodraw/XPropertyTable.cxx b/svx/source/unodraw/XPropertyTable.cxx index bef11412087e..98231be1007e 100644 --- a/svx/source/unodraw/XPropertyTable.cxx +++ b/svx/source/unodraw/XPropertyTable.cxx @@ -237,7 +237,7 @@ public: // SvxUnoXPropertyTable virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw() override; - virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const throw() override; + virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const override; // XElementAccess virtual uno::Type SAL_CALL getElementType() override; @@ -258,7 +258,7 @@ uno::Any SvxUnoXColorTable::getAny( const XPropertyEntry* pEntry ) const throw() return uno::Any( (sal_Int32)static_cast<const XColorEntry*>(pEntry)->GetColor().GetColor() ); } -std::unique_ptr<XPropertyEntry> SvxUnoXColorTable::createEntry(const OUString& rName, const uno::Any& rAny) const throw() +std::unique_ptr<XPropertyEntry> SvxUnoXColorTable::createEntry(const OUString& rName, const uno::Any& rAny) const { sal_Int32 nColor = 0; if( !(rAny >>= nColor) ) @@ -362,7 +362,7 @@ public: // SvxUnoXPropertyTable virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw() override; - virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const throw() override; + virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const override; // XElementAccess virtual uno::Type SAL_CALL getElementType() override; @@ -394,7 +394,7 @@ uno::Any SvxUnoXDashTable::getAny( const XPropertyEntry* pEntry ) const throw() return uno::Any(aLineDash); } -std::unique_ptr<XPropertyEntry> SvxUnoXDashTable::createEntry(const OUString& rName, const uno::Any& rAny) const throw() +std::unique_ptr<XPropertyEntry> SvxUnoXDashTable::createEntry(const OUString& rName, const uno::Any& rAny) const { drawing::LineDash aLineDash; if(!(rAny >>= aLineDash)) @@ -439,7 +439,7 @@ public: // SvxUnoXPropertyTable virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw() override; - virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const throw() override; + virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const override; // XElementAccess virtual uno::Type SAL_CALL getElementType() override; @@ -469,7 +469,7 @@ uno::Any SvxUnoXHatchTable::getAny( const XPropertyEntry* pEntry ) const throw() return uno::Any(aUnoHatch); } -std::unique_ptr<XPropertyEntry> SvxUnoXHatchTable::createEntry(const OUString& rName, const uno::Any& rAny) const throw() +std::unique_ptr<XPropertyEntry> SvxUnoXHatchTable::createEntry(const OUString& rName, const uno::Any& rAny) const { drawing::Hatch aUnoHatch; if(!(rAny >>= aUnoHatch)) @@ -511,7 +511,7 @@ public: // SvxUnoXPropertyTable virtual uno::Any getAny( const XPropertyEntry* pEntry ) const throw() override; - virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const throw() override; + virtual std::unique_ptr<XPropertyEntry> createEntry(const OUString& rName, const uno::Any& rAny) const override; // XElementAccess virtual uno::Type SAL_CALL getElementType() override; @@ -546,7 +546,7 @@ uno::Any SvxUnoXGradientTable::getAny( const XPropertyEntry* pEntry ) const thro return uno::Any(aGradient); } -std::unique_ptr<XPropertyEntry> SvxUnoXGradientTable::createEntry(const OUString& rName, const uno::Any& rAny) const throw() +std::unique_ptr<XPropertyEntry> SvxUnoXGradientTable::createEntry(const OUString& rName, const uno::Any& rAny) const { awt::Gradient aGradient; if(!(rAny >>= aGradient)) |