Kaydet (Commit) aade7198 authored tarafından Giuseppe Castagno's avatar Giuseppe Castagno Kaydeden (comit) Noel Grandin

cppcheck:noExplicitConstructor

Added a constructor and a method there were missing.

The explict keyword was added in 6343754e

Change-Id: Iaff33eba8581dc201a8e899c7be024e87f8e6b0e
Reviewed-on: https://gerrit.libreoffice.org/17781Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 5050704c
......@@ -591,6 +591,11 @@ CachableContentProperties::CachableContentProperties(
addProperties( rProps );
}
CachableContentProperties::CachableContentProperties(
const DAVResource & rResource )
{
addProperties( rResource );
}
void CachableContentProperties::addProperties(
const ContentProperties & rProps )
......@@ -611,7 +616,6 @@ void CachableContentProperties::addProperties(
}
}
void CachableContentProperties::addProperties(
const std::vector< DAVPropertyValue > & rProps )
{
......@@ -627,4 +631,9 @@ void CachableContentProperties::addProperties(
}
}
void CachableContentProperties::addProperties( const DAVResource & rResource )
{
addProperties( rResource.properties );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -173,12 +173,15 @@ private:
CachableContentProperties( const CachableContentProperties & ); // n.i.
public:
explicit CachableContentProperties( const DAVResource& rResource );
explicit CachableContentProperties( const ContentProperties & rProps );
void addProperties( const ContentProperties & rProps );
void addProperties( const std::vector< DAVPropertyValue > & rProps );
void addProperties( const DAVResource & rResource );
bool containsAllNames(
const com::sun::star::uno::Sequence<
com::sun::star::beans::Property >& rProps,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment