summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-10 09:24:16 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-06-06 14:15:43 +0200
commitd0069e5189f5410e1db7aa395f0754109e872f46 (patch)
tree30c860e8d780c3461c6048be9594f642f03de5de /vcl
parentcc2db25645ede743bdc3824fe7d26ea4beda6a96 (diff)
add COVERITY_NOEXCEPT_FALSE
to markup dtors that coverity warns might throw exceptions which won't throw in practice, or where std::terminate is an acceptable response if they do Change-Id: I32b94814e8245372e1d1dc36be0d81e3564042f4 Reviewed-on: https://gerrit.libreoffice.org/38318 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 'vcl')
-rw-r--r--vcl/inc/saldatabasic.hxx2
-rw-r--r--vcl/inc/saltimer.hxx2
-rw-r--r--vcl/source/app/salvtables.cxx2
-rw-r--r--vcl/source/app/scheduler.cxx2
-rw-r--r--vcl/unx/generic/plugadapt/salplug.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/vcl/inc/saldatabasic.hxx b/vcl/inc/saldatabasic.hxx
index 25f3b1881408..087edd6cd360 100644
--- a/vcl/inc/saldatabasic.hxx
+++ b/vcl/inc/saldatabasic.hxx
@@ -45,7 +45,7 @@ public:
#endif
SalData();
- virtual ~SalData();
+ virtual ~SalData() COVERITY_NOEXCEPT_FALSE;
#ifdef IOS
SystemFontList* mpFontList;
CGColorSpaceRef mxRGBSpace;
diff --git a/vcl/inc/saltimer.hxx b/vcl/inc/saltimer.hxx
index 4d8541801ef2..234a18228af2 100644
--- a/vcl/inc/saltimer.hxx
+++ b/vcl/inc/saltimer.hxx
@@ -37,7 +37,7 @@ class VCL_PLUGIN_PUBLIC SalTimer
SALTIMERPROC m_pProc;
public:
SalTimer() : m_pProc( nullptr ) {}
- virtual ~SalTimer();
+ virtual ~SalTimer() COVERITY_NOEXCEPT_FALSE;
// AutoRepeat and Restart
virtual void Start( sal_uLong nMS ) = 0;
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index dec8bdb64683..82f8ab0b38ce 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -97,7 +97,7 @@ SalI18NImeStatus* SalInstance::CreateI18NImeStatus()
return new SalI18NImeStatus;
}
-SalTimer::~SalTimer()
+SalTimer::~SalTimer() COVERITY_NOEXCEPT_FALSE
{
}
diff --git a/vcl/source/app/scheduler.cxx b/vcl/source/app/scheduler.cxx
index a3de686aa2a7..e5109bc71f1c 100644
--- a/vcl/source/app/scheduler.cxx
+++ b/vcl/source/app/scheduler.cxx
@@ -351,7 +351,7 @@ Task::Task( const Task& rTask )
Start();
}
-Task::~Task()
+Task::~Task() COVERITY_NOEXCEPT_FALSE
{
if ( mpSchedulerData )
{
diff --git a/vcl/unx/generic/plugadapt/salplug.cxx b/vcl/unx/generic/plugadapt/salplug.cxx
index 65f721730941..09462023320a 100644
--- a/vcl/unx/generic/plugadapt/salplug.cxx
+++ b/vcl/unx/generic/plugadapt/salplug.cxx
@@ -322,7 +322,7 @@ SalData::SalData() :
{
}
-SalData::~SalData()
+SalData::~SalData() COVERITY_NOEXCEPT_FALSE
{
psp::PrinterInfoManager::release();
}