diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-05 14:29:59 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-09 19:56:31 +0100 |
commit | 99ff2fcfb546e4a85042e4222677aac617bdc19b (patch) | |
tree | e5cb65babf493f0e7fa14a9ffa33ce1b3e5a229e /vcl/qa | |
parent | d904316d3da61fdaedf68ebfb6d75abda49600f1 (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.cxx | 2 |
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); |