summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-06 16:49:55 +0200
committerNoel Grandin <noel@peralex.com>2015-08-07 07:20:24 +0200
commit6343754e310a589cb49e2a1da0cd68472571179d (patch)
treea0915b9679f3422a6abda3fb2d6917df4edb30f5 /ucb/source/ucp/tdoc
parentdea885f80a80c6a5839ee5dbf8521487186a9522 (diff)
cppcheck:noExplicitConstructor
Change-Id: I2717d3d120df8af5b7e9af8d147a57b9f5b5ecbe
Diffstat (limited to 'ucb/source/ucp/tdoc')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_content.cxx2
-rw-r--r--ucb/source/ucp/tdoc/tdoc_uri.hxx2
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