diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-09-23 00:44:04 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-10-27 13:59:09 +0100 |
commit | 99628775132143936fcd00ca9e18a853616418e4 (patch) | |
tree | 2ed016618c5616531c9f03ef2090549dbc4504b6 /filter | |
parent | sal_uLong/long to ErrCode (diff) | |
download | core-99628775132143936fcd00ca9e18a853616418e4.tar.gz core-99628775132143936fcd00ca9e18a853616418e4.zip |
sal_uLong to ErrCode
Change-Id: I2b4b2673aa27de664f6c6780e67c70559ec61971
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/svxmsbas2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/msfilter/svxmsbas2.cxx b/filter/source/msfilter/svxmsbas2.cxx index 42f343689a96..e2a4ce64af12 100644 --- a/filter/source/msfilter/svxmsbas2.cxx +++ b/filter/source/msfilter/svxmsbas2.cxx @@ -27,10 +27,10 @@ using namespace com::sun::star; -sal_uLong SvxImportMSVBasic::SaveOrDelMSVBAStorage( bool bSaveInto, +ErrCode SvxImportMSVBasic::SaveOrDelMSVBAStorage( bool bSaveInto, const OUString& rStorageName ) { - sal_uLong nRet = ERRCODE_NONE; + ErrCode nRet = ERRCODE_NONE; uno::Reference < embed::XStorage > xSrcRoot( rDocSh.GetStorage() ); OUString aDstStgName( GetMSBasicStorageName() ); tools::SvRef<SotStorage> xVBAStg( SotStorage::OpenOLEStorage( xSrcRoot, aDstStgName, @@ -62,7 +62,7 @@ sal_uLong SvxImportMSVBasic::SaveOrDelMSVBAStorage( bool bSaveInto, // check if the MS-VBA-Storage exists in the RootStorage of the DocShell. // If it exists, then return the WarningId for losing the information. -sal_uLong SvxImportMSVBasic::GetSaveWarningOfMSVBAStorage( SfxObjectShell &rDocSh) +ErrCode SvxImportMSVBasic::GetSaveWarningOfMSVBAStorage( SfxObjectShell &rDocSh) { uno::Reference < embed::XStorage > xSrcRoot( rDocSh.GetStorage() ); tools::SvRef<SotStorage> xVBAStg( SotStorage::OpenOLEStorage( xSrcRoot, GetMSBasicStorageName(), |