summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:46:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:46:46 +0200
commit9604199a9d6e193a0fbeaa28ae1631216ad473db (patch)
tree655dd51e1db3a10ddd348a0561a182c5c7035044 /svl
parent03a6b6ef1c6fef294e6fa530da8918171f91a916 (diff)
loplugin:defaultparams
Change-Id: Ia10dd1577f677a5b27571fc58b0e00ef973660b4
Diffstat (limited to 'svl')
-rw-r--r--svl/qa/unit/items/test_IndexedStyleSheets.cxx3
-rw-r--r--svl/source/numbers/zforfind.cxx2
2 files changed, 2 insertions, 3 deletions
diff --git a/svl/qa/unit/items/test_IndexedStyleSheets.cxx b/svl/qa/unit/items/test_IndexedStyleSheets.cxx
index 50e7887d4fd7..17edaf036d1f 100644
--- a/svl/qa/unit/items/test_IndexedStyleSheets.cxx
+++ b/svl/qa/unit/items/test_IndexedStyleSheets.cxx
@@ -206,8 +206,7 @@ void IndexedStyleSheetsTest::OnlyOneStyleSheetIsReturnedWhenReturnFirstIsUsed()
IndexedStyleSheets::RETURN_FIRST);
CPPUNIT_ASSERT_EQUAL_MESSAGE("Only one style sheet is returned.", static_cast<size_t>(1), v.size());
- std::vector<unsigned> w = iss.FindPositionsByNameAndPredicate(name, predicate,
- IndexedStyleSheets::RETURN_ALL);
+ std::vector<unsigned> w = iss.FindPositionsByNameAndPredicate(name, predicate);
CPPUNIT_ASSERT_EQUAL_MESSAGE("All style sheets are returned.", static_cast<size_t>(3), w.size());
}
diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx
index f359c509cd46..23fbb3da73f6 100644
--- a/svl/source/numbers/zforfind.cxx
+++ b/svl/source/numbers/zforfind.cxx
@@ -3714,7 +3714,7 @@ bool ImpSvNumberInputScan::IsNumberFormat( const OUString& rString, // s
}
sResString.append(sStrArray[nNums[nAnzNums-1]]);
rtl_math_ConversionStatus eStatus;
- fOutNumber = ::rtl::math::stringToDouble( sResString.makeStringAndClear(), '.', ',', &eStatus, NULL );
+ fOutNumber = ::rtl::math::stringToDouble( sResString.makeStringAndClear(), '.', ',', &eStatus );
if ( eStatus == rtl_math_ConversionStatus_OutOfRange )
{
F_Type = css::util::NumberFormat::TEXT; // overflow/underflow -> Text