diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-30 07:59:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-30 11:08:36 +0200 |
commit | cb4fa1d1e2e61b686442a9d26220c0f1a6e1d4e7 (patch) | |
tree | 2d819dbc32230f7af209b59a5c1f262f4964fa84 /connectivity/workben | |
parent | UNO: no need to use OUString constructor when calling createInstance (diff) | |
download | core-cb4fa1d1e2e61b686442a9d26220c0f1a6e1d4e7.tar.gz core-cb4fa1d1e2e61b686442a9d26220c0f1a6e1d4e7.zip |
use uno::Reference::set method instead of assignment
Change-Id: I080668f86f0ab8b3bba857ee21411f907ae285c4
Diffstat (limited to 'connectivity/workben')
-rw-r--r-- | connectivity/workben/little/main.cxx | 2 |
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()) { |