summaryrefslogtreecommitdiff
path: root/sc/source/core/data/dpcache.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/dpcache.cxx')
-rw-r--r--sc/source/core/data/dpcache.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/core/data/dpcache.cxx b/sc/source/core/data/dpcache.cxx
index 01e33268fe9b..da4d08f05948 100644
--- a/sc/source/core/data/dpcache.cxx
+++ b/sc/source/core/data/dpcache.cxx
@@ -93,7 +93,7 @@ namespace {
class MacroInterpretIncrementer
{
public:
- MacroInterpretIncrementer(ScDocument* pDoc) :
+ explicit MacroInterpretIncrementer(ScDocument* pDoc) :
mpDoc(pDoc)
{
mpDoc->IncMacroInterpretLevel();
@@ -211,7 +211,7 @@ class PushBackValue : std::unary_function<Bucket, void>
{
ScDPCache::ScDPItemDataVec& mrItems;
public:
- PushBackValue(ScDPCache::ScDPItemDataVec& _items) : mrItems(_items) {}
+ explicit PushBackValue(ScDPCache::ScDPItemDataVec& _items) : mrItems(_items) {}
void operator() (const Bucket& v)
{
mrItems.push_back(v.maValue);
@@ -222,7 +222,7 @@ class PushBackOrderIndex : std::unary_function<Bucket, void>
{
ScDPCache::IndexArrayType& mrData;
public:
- PushBackOrderIndex(ScDPCache::IndexArrayType& _items) : mrData(_items) {}
+ explicit PushBackOrderIndex(ScDPCache::IndexArrayType& _items) : mrData(_items) {}
void operator() (const Bucket& v)
{
mrData.push_back(v.mnOrderIndex);
@@ -701,7 +701,7 @@ class InsertLabel : public std::unary_function<OUString, void>
{
LabelSet& mrNames;
public:
- InsertLabel(LabelSet& rNames) : mrNames(rNames) {}
+ explicit InsertLabel(LabelSet& rNames) : mrNames(rNames) {}
void operator() (const OUString& r)
{
mrNames.insert(r);