diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 09:42:13 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 09:49:03 +0200 |
commit | f9290d301144744df879cea907584656b7f74ad1 (patch) | |
tree | 647eba944a40a0ad889d145c94578a6330940b26 /test/source | |
parent | read_percent returns ProgressStatus, not sal_Bool (diff) | |
download | core-f9290d301144744df879cea907584656b7f74ad1.tar.gz core-f9290d301144744df879cea907584656b7f74ad1.zip |
Clean up checks of sal_Bool values
Change-Id: Ia05565077823d6efaeaeb35d3d80b51dd9a10d4c
Diffstat (limited to 'test/source')
-rw-r--r-- | test/source/sheet/xdatabaserange.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/source/sheet/xdatabaserange.cxx b/test/source/sheet/xdatabaserange.cxx index 8c30ed8789d2..d1e5a5a72554 100644 --- a/test/source/sheet/xdatabaserange.cxx +++ b/test/source/sheet/xdatabaserange.cxx @@ -163,7 +163,7 @@ void XDatabaseRange::testRefresh() uno::Reference< beans::XPropertySet > xPropRow(xRow, UNO_QUERY_THROW); Any aAny = xPropRow->getPropertyValue( aHidden ); - CPPUNIT_ASSERT(aAny.get<sal_Bool>() == sal_True); + CPPUNIT_ASSERT(aAny.get<bool>()); } xDBRange->refresh(); @@ -177,7 +177,7 @@ void XDatabaseRange::testRefresh() uno::Reference< beans::XPropertySet > xPropRow(xRow, UNO_QUERY_THROW); Any aAny = xPropRow->getPropertyValue( aHidden ); - CPPUNIT_ASSERT(aAny.get<sal_Bool>() == sal_False); + CPPUNIT_ASSERT(!aAny.get<bool>()); } |