diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:24:53 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 10:31:47 +0100 |
commit | bf057fab3c0d17bf2832c8d9fc6d34b1b859e660 (patch) | |
tree | 7792f30782655fa9f0830b7320f9ff988c598fb1 /svl/qa/unit/svl.cxx | |
parent | 6f06230da10c6a51c5538f1b5515b341475ea043 (diff) |
loplugin:nullptr (automatic rewrite)
Change-Id: I0f2f81dae91f62639e79799b1bed1b2df1fd79ab
Diffstat (limited to 'svl/qa/unit/svl.cxx')
-rw-r--r-- | svl/qa/unit/svl.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index 695483ae0c37..e10221132dcf 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -123,19 +123,19 @@ void Test::testNumberFormat() "#,##0", "#,##0.00", "#,###.00", - 0 + nullptr }; const char* pScientific[] = { "0.00E+000", "0.00E+00", - 0 + nullptr }; const char* pPercent[] = { "0%", "0.00%", - 0 + nullptr }; const char* pFraction[] = { @@ -147,7 +147,7 @@ void Test::testNumberFormat() "# \?/4", "# \?\?/100", #endif - 0 + nullptr }; #if 0 // TODO: Find out why on some systems the last two currency format codes differ. @@ -197,7 +197,7 @@ void Test::testNumberFormat() "[HH]:MM:SS", "MM:SS.00", "[HH]:MM:SS.00", - 0 + nullptr }; #if 0 // TODO: This currently fails @@ -210,12 +210,12 @@ void Test::testNumberFormat() const char* pBoolean[] = { "BOOLEAN", - 0 + nullptr }; const char* pText[] = { "@", - 0 + nullptr }; struct { @@ -400,7 +400,7 @@ void Test::checkPreviewString(SvNumberFormatter& aFormatter, OUString& sExpected) { OUString sStr; - Color* pColor = 0; + Color* pColor = nullptr; Color** ppColor = &pColor; if (!aFormatter.GetPreviewString(sCode, fPreviewNumber, sStr, ppColor, eLang)) CPPUNIT_FAIL("GetPreviewString() failed"); |