summaryrefslogtreecommitdiff
path: root/connectivity/workben
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/workben')
-rw-r--r--connectivity/workben/little/main.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/workben/little/main.cxx b/connectivity/workben/little/main.cxx
index 346f60020ca7..3769c478e72d 100644
--- a/connectivity/workben/little/main.cxx
+++ b/connectivity/workben/little/main.cxx
@@ -53,7 +53,7 @@ void main( int argc, char * argv[] )
if(!xFac.is())
return;
- m_xDriver = Reference<XDriver>(xFac->createInstance("com.sun.star.sdbc.driver.dbase.Driver"),UNO_QUERY);
+ m_xDriver.set(xFac->createInstance("com.sun.star.sdbc.driver.dbase.Driver"),UNO_QUERY);
if(m_xDriver.is())
{