summaryrefslogtreecommitdiff
path: root/accessibility/source/extended/textwindowaccessibility.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-02 14:16:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-02 16:45:18 +0100
commit21773f6d9a06012634716f3af5ccc74b6204a569 (patch)
treee365f0399b2f8b95b7ad4b664b980ac77ac529ac /accessibility/source/extended/textwindowaccessibility.cxx
parent5c4955ed4593f529fd902cdf3afab3c8150b3214 (diff)
cppcheck: noExplicitConstructor
Change-Id: I0b1cac50f9e158004f8c1b8294b7a1b9f21f9628
Diffstat (limited to 'accessibility/source/extended/textwindowaccessibility.cxx')
-rw-r--r--accessibility/source/extended/textwindowaccessibility.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx
index fbe72a0e9d07..1a391ce13f04 100644
--- a/accessibility/source/extended/textwindowaccessibility.cxx
+++ b/accessibility/source/extended/textwindowaccessibility.cxx
@@ -982,7 +982,10 @@ Document::retrieveCharacterBounds(Paragraph const * pParagraph,
struct IndexCompare
{
const css::beans::PropertyValue* pValues;
- IndexCompare( const css::beans::PropertyValue* pVals ) : pValues(pVals) {}
+ explicit IndexCompare(const css::beans::PropertyValue* pVals)
+ : pValues(pVals)
+ {
+ }
bool operator() ( const sal_Int32& a, const sal_Int32& b ) const
{
return pValues[a].Name < pValues[b].Name;