summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-15 16:42:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-15 16:42:40 +0200
commitbdca9f352bd6732e04d86930fefe49f7faaf72b8 (patch)
tree80fbfcfdb92468e5315f1c40eefd2566a386e4f6 /sw/qa
parentdc28de33f6ac960bbab1f03b882ae4afd20e0ddc (diff)
CppunitTest_sw_uiwriter: sal_Bool -> bool
Change-Id: I76199dbd781d228153bca015ac0b34d589276d85
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/uiwriter/uiwriter.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 6cb67f7aeae9..5d21781e0ff6 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -202,21 +202,21 @@ void SwUiWriterTest::testFdo70807()
uno::Reference<style::XStyle> xStyle(stylesIter->getByIndex(i), uno::UNO_QUERY);
uno::Reference<container::XNamed> xName(xStyle, uno::UNO_QUERY);
- sal_Bool expectedUsedStyle = sal_False;
- sal_Bool expectedUserDefined = sal_False;
+ bool expectedUsedStyle = false;
+ bool expectedUserDefined = false;
OUString styleName(xName->getName());
// just these styles are user defined styles
if (styleName == "pagestyle1" || styleName == "pagestyle2")
- expectedUserDefined = sal_True;
+ expectedUserDefined = true;
// just these styles are used in the document
if (styleName == "Right Page" || styleName == "pagestyle1" || styleName == "pagestyle2")
- expectedUsedStyle = sal_True;
+ expectedUsedStyle = true;
- CPPUNIT_ASSERT_EQUAL(expectedUserDefined, xStyle->isUserDefined());
- CPPUNIT_ASSERT_EQUAL(expectedUsedStyle, xStyle->isInUse());
+ CPPUNIT_ASSERT_EQUAL(expectedUserDefined, bool(xStyle->isUserDefined()));
+ CPPUNIT_ASSERT_EQUAL(expectedUsedStyle, bool(xStyle->isInUse()));
}
}