summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/osl/process/osl_process.cxx2
-rw-r--r--sal/workben/measure_oustrings.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sal/qa/osl/process/osl_process.cxx b/sal/qa/osl/process/osl_process.cxx
index 7b29a84c667b..59bd74f44073 100644
--- a/sal/qa/osl/process/osl_process.cxx
+++ b/sal/qa/osl/process/osl_process.cxx
@@ -99,7 +99,7 @@ class exclude : public std::unary_function<OString, bool>
{
public:
- exclude(const string_container_t& exclude_list)
+ explicit exclude(const string_container_t& exclude_list)
{
string_container_t::const_iterator iter = exclude_list.begin();
string_container_t::const_iterator iter_end = exclude_list.end();
diff --git a/sal/workben/measure_oustrings.cxx b/sal/workben/measure_oustrings.cxx
index 0a4eb45b09f2..eeca8ccf2906 100644
--- a/sal/workben/measure_oustrings.cxx
+++ b/sal/workben/measure_oustrings.cxx
@@ -54,7 +54,7 @@ private:
const char *m_pMessage;
sal_uInt32 m_nStartTime, m_nEndTime;
public:
- TimerMeasure(const char *pMessage)
+ explicit TimerMeasure(const char *pMessage)
: m_pMessage(pMessage)
{
m_nStartTime = osl_getGlobalTimer();