summaryrefslogtreecommitdiff
path: root/test/source/sheet/xprintareas.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-08 11:44:15 +0200
committerNoel Grandin <noel@peralex.com>2014-05-08 11:48:14 +0200
commit78b9537b6aca0f998f939988e6e1a56528d28baf (patch)
tree6b96ba6b37c32c3ba2ffa112aff990739642e063 /test/source/sheet/xprintareas.cxx
parente5d0a9ad78ceb531018cb49c1d78b0f63ba92995 (diff)
various: sal_Bool->bool
Change-Id: I30fa5227f30373f95060148f269450d2945c1bb9
Diffstat (limited to 'test/source/sheet/xprintareas.cxx')
-rw-r--r--test/source/sheet/xprintareas.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/source/sheet/xprintareas.cxx b/test/source/sheet/xprintareas.cxx
index 298c0d43609e..5e1fb609ed10 100644
--- a/test/source/sheet/xprintareas.cxx
+++ b/test/source/sheet/xprintareas.cxx
@@ -21,20 +21,18 @@ namespace apitest {
void XPrintAreas::testSetAndGetPrintTitleColumns()
{
uno::Reference< sheet::XPrintAreas > xPrintAreas(init(), UNO_QUERY_THROW);
- sal_Bool testState = true;
- xPrintAreas->setPrintTitleColumns(testState);
+ xPrintAreas->setPrintTitleColumns(sal_True);
- CPPUNIT_ASSERT_MESSAGE("Wrong attribution at PrintTitleColumns", xPrintAreas->getPrintTitleColumns() == testState);
+ CPPUNIT_ASSERT_MESSAGE("Wrong attribution at PrintTitleColumns", xPrintAreas->getPrintTitleColumns() == sal_True);
}
void XPrintAreas::testSetAndGetPrintTitleRows()
{
uno::Reference< sheet::XPrintAreas > xPrintAreas(init(), UNO_QUERY_THROW);
- sal_Bool testState = true;
- xPrintAreas->setPrintTitleRows(testState);
+ xPrintAreas->setPrintTitleRows(sal_True);
- CPPUNIT_ASSERT_MESSAGE("Wrong attribution at PrintTitleRows", xPrintAreas->getPrintTitleRows() == testState);
+ CPPUNIT_ASSERT_MESSAGE("Wrong attribution at PrintTitleRows", xPrintAreas->getPrintTitleRows() == sal_True);
}
// the rest is right now in progress...