summaryrefslogtreecommitdiff
path: root/sc/qa/unit/opencl-test.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-25 12:03:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-02 08:02:54 +0000
commit4978328534c0f759eea7d0c196046f1d53b06925 (patch)
treecf9dcd62c4f09dcd08115bbda2a8950678a38562 /sc/qa/unit/opencl-test.cxx
parent1461ebbbb5d47d90e31f0945a4878a68fbee5213 (diff)
convert method names in tools::SvRef to be more like our other..
reference classes, uno::Reference and rtl::Reference. Specifically rename Is()->is() and Clear()->clear(). Change-Id: Icb7e05e2d09cb9977121508b837ba0961dabb4ae Reviewed-on: https://gerrit.libreoffice.org/33576 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/qa/unit/opencl-test.cxx')
-rw-r--r--sc/qa/unit/opencl-test.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx
index 64290cdcdae2..ec39852db255 100644
--- a/sc/qa/unit/opencl-test.cxx
+++ b/sc/qa/unit/opencl-test.cxx
@@ -538,11 +538,11 @@ bool ScOpenCLTest::initTestEnv(const OUString& fileName, sal_Int32 nFormat,
return false;
xDocSh = loadDoc(fileName, nFormat, bReadWrite);
- CPPUNIT_ASSERT_MESSAGE("Failed to load document.", xDocSh.Is());
+ CPPUNIT_ASSERT_MESSAGE("Failed to load document.", xDocSh.is());
enableOpenCL();
xDocShRes = loadDoc(fileName, nFormat, bReadWrite);
- CPPUNIT_ASSERT_MESSAGE("Failed to load document.", xDocShRes.Is());
+ CPPUNIT_ASSERT_MESSAGE("Failed to load document.", xDocShRes.is());
return true;
}
@@ -4747,15 +4747,15 @@ void ScOpenCLTest::setUp()
void ScOpenCLTest::tearDown()
{
//close test env
- if(xDocSh.Is())
+ if(xDocSh.is())
{
xDocSh->DoClose();
- xDocSh.Clear();
+ xDocSh.clear();
}
- if(xDocShRes.Is())
+ if(xDocShRes.is())
{
xDocShRes->DoClose();
- xDocShRes.Clear();
+ xDocShRes.clear();
}
uno::Reference< lang::XComponent >