From 8826771e8398063018935c38039c05faf4c993a3 Mon Sep 17 00:00:00 2001
From: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Date: Tue, 1 Nov 2016 11:44:15 +0100
Subject: style fixes for cppcheck noExplicitConstructor

Change-Id: I2a690caea7656f2a18beb6d09f53154178a30f34
Reviewed-on: https://gerrit.libreoffice.org/30460
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
---
 fpicker/source/win32/filepicker/comptr.hxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'fpicker/source')

diff --git a/fpicker/source/win32/filepicker/comptr.hxx b/fpicker/source/win32/filepicker/comptr.hxx
index 5cc4f4d3f907..89fc85b34787 100644
--- a/fpicker/source/win32/filepicker/comptr.hxx
+++ b/fpicker/source/win32/filepicker/comptr.hxx
@@ -42,7 +42,7 @@ class ComPtr
 
         /** initialize com ptr with given interface.
          */
-        ComPtr(T_INTERFACE* pInterface)
+        explicit ComPtr(T_INTERFACE* pInterface)
         {
             m_pInterface = pInterface;
             if (m_pInterface)
@@ -62,7 +62,7 @@ class ComPtr
 
         /** initialize object by quering external object for the right interface.
          */
-        ComPtr(IUnknown* pIUnknown)
+        explicit ComPtr(IUnknown* pIUnknown)
         {
             if (pIUnknown)
                 pIUnknown->QueryInterface(P_IID, (void**)&m_pInterface);
-- 
cgit