summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-05 14:29:59 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-09 19:56:31 +0100
commit99ff2fcfb546e4a85042e4222677aac617bdc19b (patch)
treee5cb65babf493f0e7fa14a9ffa33ce1b3e5a229e /vcl/qa
parentd904316d3da61fdaedf68ebfb6d75abda49600f1 (diff)
vcl: add cast operator to VclReference to convert to pointer
so we don't have to call .get() everywhere Change-Id: If6ccd7dcf1a492b1e7703956ecbe8e5ac2dd0fb7
Diffstat (limited to 'vcl/qa')
-rw-r--r--vcl/qa/cppunit/lifecycle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/lifecycle.cxx b/vcl/qa/cppunit/lifecycle.cxx
index a2d75dfee2d2..c4eef2eb2109 100644
--- a/vcl/qa/cppunit/lifecycle.cxx
+++ b/vcl/qa/cppunit/lifecycle.cxx
@@ -90,7 +90,7 @@ void LifecycleTest::testParentedWidgets()
VclReference<WorkWindow> xWin(new WorkWindow((vcl::Window *)NULL,
WB_APP|WB_STDWORK));
CPPUNIT_ASSERT(xWin.get() != NULL);
- testWidgets(xWin.get());
+ testWidgets(xWin);
}
CPPUNIT_TEST_SUITE_REGISTRATION(LifecycleTest);