summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-07 09:33:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-07 09:56:07 +0100
commit267f401e2ad6e0094de39032671a3191772276ed (patch)
treebe549a278ad37f2e3d10f3ab1be393d14461639a /desktop/source
parentb0f3024304bf4e7d9efcb539a49394945f052a51 (diff)
cppcheck: noExplicitConstructor
Change-Id: I2a1add8cf526cdb305ad99ccb138454a88f2fdbd
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/app/desktopcontext.hxx2
-rw-r--r--desktop/source/app/officeipcthread.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/desktopcontext.hxx b/desktop/source/app/desktopcontext.hxx
index 0c31758d77a3..cc7e68d30d96 100644
--- a/desktop/source/app/desktopcontext.hxx
+++ b/desktop/source/app/desktopcontext.hxx
@@ -28,7 +28,7 @@ namespace desktop
class DesktopContext: public cppu::WeakImplHelper< com::sun::star::uno::XCurrentContext >
{
public:
- DesktopContext( const com::sun::star::uno::Reference< com::sun::star::uno::XCurrentContext > & ctx);
+ explicit DesktopContext( const com::sun::star::uno::Reference< com::sun::star::uno::XCurrentContext > & ctx);
// XCurrentContext
virtual com::sun::star::uno::Any SAL_CALL getValueByName( const OUString& Name )
diff --git a/desktop/source/app/officeipcthread.hxx b/desktop/source/app/officeipcthread.hxx
index c329e7a4880e..add93768efa8 100644
--- a/desktop/source/app/officeipcthread.hxx
+++ b/desktop/source/app/officeipcthread.hxx
@@ -45,7 +45,7 @@ oslSignalAction SAL_CALL SalMainPipeExchangeSignal_impl(void* /*pData*/, oslSign
// that was given by command line or by IPC pipe communication.
struct ProcessDocumentsRequest
{
- ProcessDocumentsRequest(boost::optional< OUString > const & cwdUrl):
+ explicit ProcessDocumentsRequest(boost::optional< OUString > const & cwdUrl):
aCwdUrl(cwdUrl), pcProcessed( NULL ), bTextCat( false ) {}
boost::optional< OUString > aCwdUrl;