[Libreoffice-commits] core.git: sw/qa
Stephan Bergmann
sbergman at redhat.com
Wed Jun 10 09:29:54 PDT 2015
sw/qa/extras/uiwriter/uiwriter.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7fd168ad47c0cb3afcbf09aa1b5bd9f76e4e5cb2
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Jun 10 18:29:26 2015 +0200
loplugin:salbool
Change-Id: I030321e8cb905be78b68f9e404926e22723632ef
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index acc31ae..518ec6b 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -891,8 +891,8 @@ void SwUiWriterTest::testExportToPicture()
utl::TempFile aTempFile;
uno::Reference<frame::XStorable> xStorable(mxComponent, uno::UNO_QUERY);
xStorable->storeToURL(aTempFile.GetURL(), aDescriptor);
- sal_Bool extchk = aTempFile.IsValid();
- CPPUNIT_ASSERT_EQUAL(sal_Bool(true), extchk);
+ bool extchk = aTempFile.IsValid();
+ CPPUNIT_ASSERT_EQUAL(true, extchk);
osl::File tmpFile(aTempFile.GetURL());
tmpFile.open(sal_uInt32(osl_File_OpenFlag_Read));
sal_uInt64 val;
More information about the Libreoffice-commits
mailing list