diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-07 13:52:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-08 10:38:35 +0100 |
commit | 17dd2662ccfa9d04efbea74e5d7548db5b2126d4 (patch) | |
tree | 37c0de883c43a57f54b0a483437da9de3bf4c941 /basic | |
parent | 638be04c8334e5e29f9258ff870fbe63603ce7e0 (diff) |
convert "*xxx.get()" to "*xxx"
Change-Id: Ic307226591ff9702957ccdec486ccf70357eb6d9
Reviewed-on: https://gerrit.libreoffice.org/65951
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/sbx/sbxexec.cxx | 2 | ||||
-rw-r--r-- | basic/source/uno/scriptcont.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxexec.cxx b/basic/source/sbx/sbxexec.cxx index f2f23049dcb6..ae1d35671a36 100644 --- a/basic/source/sbx/sbxexec.cxx +++ b/basic/source/sbx/sbxexec.cxx @@ -311,7 +311,7 @@ static SbxVariableRef Element // One copies the parameter, so that // one have the current status (triggers also // the call per access) - refPar->Put( new SbxVariable( *(refArg.get()) ), ++nArg ); + refPar->Put( new SbxVariable( *refArg ), ++nArg ); } p = SkipWhitespace( p ); if( *p == ',' ) diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx index e31b7ee27550..f9b2b424e07a 100644 --- a/basic/source/uno/scriptcont.cxx +++ b/basic/source/uno/scriptcont.cxx @@ -335,7 +335,7 @@ void SfxScriptLibraryContainer::importFromOldStorage( const OUString& aFile ) auto xStorage = tools::make_ref<SotStorage>( false, aFile ); if( xStorage->GetError() == ERRCODE_NONE ) { - std::unique_ptr<BasicManager> pBasicManager(new BasicManager( *(xStorage.get()), aFile )); + std::unique_ptr<BasicManager> pBasicManager(new BasicManager( *xStorage, aFile )); // Set info LibraryContainerInfo aInfo( this, nullptr, static_cast< OldBasicPassword* >( this ) ); |