summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:20:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:27:27 +0200
commitc838f2ed9f14e79c68adbf004f20513855e6edd3 (patch)
tree890c0c6ae7e5e5c19e1cf5648a52ae74776cc627 /test
parent2c6840eb95eb925be78f2b5279594ef5c71c2e98 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ie66903c2aae5535a507e1549b58d892b80237842
Diffstat (limited to 'test')
-rw-r--r--test/source/bootstrapfixture.cxx4
-rw-r--r--test/source/sheet/xprintareas.cxx4
-rw-r--r--test/source/text/xtext.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/test/source/bootstrapfixture.cxx b/test/source/bootstrapfixture.cxx
index 8812adb21d0f..f274dbce571f 100644
--- a/test/source/bootstrapfixture.cxx
+++ b/test/source/bootstrapfixture.cxx
@@ -75,11 +75,11 @@ void test_init_impl(bool bAssertOnDialog, bool bNeedUCB,
// initialise unconfigured UCB:
uno::Reference<ucb::XUniversalContentBroker> xUcb(pSFactory->createInstance("com.sun.star.ucb.UniversalContentBroker"), uno::UNO_QUERY_THROW);
uno::Reference<ucb::XContentProvider> xFileProvider(pSFactory->createInstance("com.sun.star.ucb.FileContentProvider"), uno::UNO_QUERY_THROW);
- xUcb->registerContentProvider(xFileProvider, "file", sal_True);
+ xUcb->registerContentProvider(xFileProvider, "file", true);
uno::Reference<ucb::XContentProvider> xTdocProvider(pSFactory->createInstance("com.sun.star.ucb.TransientDocumentsContentProvider"), uno::UNO_QUERY);
if (xTdocProvider.is())
{
- xUcb->registerContentProvider(xTdocProvider, "vnd.sun.star.tdoc", sal_True);
+ xUcb->registerContentProvider(xTdocProvider, "vnd.sun.star.tdoc", true);
}
}
}
diff --git a/test/source/sheet/xprintareas.cxx b/test/source/sheet/xprintareas.cxx
index cd470ca495d7..776d502fd6cc 100644
--- a/test/source/sheet/xprintareas.cxx
+++ b/test/source/sheet/xprintareas.cxx
@@ -21,7 +21,7 @@ namespace apitest {
void XPrintAreas::testSetAndGetPrintTitleColumns()
{
uno::Reference< sheet::XPrintAreas > xPrintAreas(init(), UNO_QUERY_THROW);
- xPrintAreas->setPrintTitleColumns(sal_True);
+ xPrintAreas->setPrintTitleColumns(true);
CPPUNIT_ASSERT_MESSAGE("Wrong attribution at PrintTitleColumns", xPrintAreas->getPrintTitleColumns());
@@ -30,7 +30,7 @@ namespace apitest {
void XPrintAreas::testSetAndGetPrintTitleRows()
{
uno::Reference< sheet::XPrintAreas > xPrintAreas(init(), UNO_QUERY_THROW);
- xPrintAreas->setPrintTitleRows(sal_True);
+ xPrintAreas->setPrintTitleRows(true);
CPPUNIT_ASSERT_MESSAGE("Wrong attribution at PrintTitleRows", xPrintAreas->getPrintTitleRows());
}
diff --git a/test/source/text/xtext.cxx b/test/source/text/xtext.cxx
index dff3c9be453d..0840ca4889a8 100644
--- a/test/source/text/xtext.cxx
+++ b/test/source/text/xtext.cxx
@@ -21,7 +21,7 @@ void XText::testInsertRemoveTextContent()
uno::Reference<text::XText> xText(init(), UNO_QUERY_THROW);
uno::Reference<text::XTextRange> xCursor(xText->createTextCursor(), UNO_QUERY_THROW);
- xText->insertTextContent(xCursor, getTextContent(), sal_False);
+ xText->insertTextContent(xCursor, getTextContent(), false);
xText->removeTextContent(getTextContent());
}