diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-06 16:49:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-07 07:20:24 +0200 |
commit | 6343754e310a589cb49e2a1da0cd68472571179d (patch) | |
tree | a0915b9679f3422a6abda3fb2d6917df4edb30f5 /ucb/source/ucp/tdoc | |
parent | dea885f80a80c6a5839ee5dbf8521487186a9522 (diff) |
cppcheck:noExplicitConstructor
Change-Id: I2717d3d120df8af5b7e9af8d147a57b9f5b5ecbe
Diffstat (limited to 'ucb/source/ucp/tdoc')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_content.cxx | 2 | ||||
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_uri.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_content.cxx b/ucb/source/ucp/tdoc/tdoc_content.cxx index 33d390934da4..6eb3875da89b 100644 --- a/ucb/source/ucp/tdoc/tdoc_content.cxx +++ b/ucb/source/ucp/tdoc/tdoc_content.cxx @@ -905,7 +905,7 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues( const OUString& rContentId ) { ContentProperties aData; - if ( loadData( pProvider, rContentId, aData ) ) + if ( loadData( pProvider, Uri(rContentId), aData ) ) { return getPropertyValues( rxContext, rProperties, aData, pProvider, rContentId ); diff --git a/ucb/source/ucp/tdoc/tdoc_uri.hxx b/ucb/source/ucp/tdoc/tdoc_uri.hxx index 12d40e4e708f..39da47e9deb5 100644 --- a/ucb/source/ucp/tdoc/tdoc_uri.hxx +++ b/ucb/source/ucp/tdoc/tdoc_uri.hxx @@ -49,7 +49,7 @@ private: public: Uri() : m_eState( UNKNOWN ) {} - Uri( const OUString & rUri ) + explicit Uri( const OUString & rUri ) : m_aUri( rUri ), m_eState( UNKNOWN ) {} bool operator== ( const Uri & rOther ) const |