diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-12-22 10:50:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-12-25 21:55:39 +0100 |
commit | 76e950bfafd8b44ee47d7a9573df1571652c52e1 (patch) | |
tree | 35c6ea2a240ba08ccf2c4faaaaed18c088f75763 /sw | |
parent | 93c96ec5018f723748557975435eb6c27135b60c (diff) |
various coverity exception warnings
Change-Id: I7b3588ad42e17f2f363b6a247e318f23c95e578e
Reviewed-on: https://gerrit.libreoffice.org/46961
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 'sw')
-rw-r--r-- | sw/source/uibase/uno/unodefaults.cxx | 6 | ||||
-rw-r--r-- | sw/source/uibase/uno/unodefaults.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/uno/unodefaults.cxx b/sw/source/uibase/uno/unodefaults.cxx index 33eae5cb4152..6daaeee4edc1 100644 --- a/sw/source/uibase/uno/unodefaults.cxx +++ b/sw/source/uibase/uno/unodefaults.cxx @@ -23,9 +23,9 @@ #include <doc.hxx> #include <IDocumentDrawModelAccess.hxx> -SwSvxUnoDrawPool::SwSvxUnoDrawPool( SwDoc* pDoc ) throw() : - SvxUnoDrawPool(pDoc->getIDocumentDrawModelAccess().GetDrawModel(), SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS_WRITER), - m_pDoc(pDoc) +SwSvxUnoDrawPool::SwSvxUnoDrawPool(SwDoc* pDoc) + : SvxUnoDrawPool(pDoc->getIDocumentDrawModelAccess().GetDrawModel(), SVXUNO_SERVICEID_COM_SUN_STAR_DRAWING_DEFAULTS_WRITER) + , m_pDoc(pDoc) { } diff --git a/sw/source/uibase/uno/unodefaults.hxx b/sw/source/uibase/uno/unodefaults.hxx index 78e4ea63e558..23bd6b543e10 100644 --- a/sw/source/uibase/uno/unodefaults.hxx +++ b/sw/source/uibase/uno/unodefaults.hxx @@ -27,7 +27,7 @@ class SwSvxUnoDrawPool : public SvxUnoDrawPool { SwDoc* m_pDoc; public: - SwSvxUnoDrawPool( SwDoc* pDoc ) throw(); + SwSvxUnoDrawPool(SwDoc* pDoc); virtual ~SwSvxUnoDrawPool() throw() override; virtual SfxItemPool* getModelPool( bool bReadOnly ) throw() override; |