diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-09-19 10:56:57 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-10-27 13:59:09 +0100 |
commit | d1eb389d7081276bb08f4cf3be16e5301a4c39cb (patch) | |
tree | 8428f085d6d8def34f6f68090e2645530a45b768 /svx/source | |
parent | f8dac0391c4aa6d4d378919326aacd935d7bd462 (diff) |
sal_uLong/long to ErrCode
Change-Id: I2ba2d867785765e4850c60070e86419f66e25f57
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/gallery2/galtheme.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx index 4e9732992309..11e78dd0d7e0 100644 --- a/svx/source/gallery2/galtheme.cxx +++ b/svx/source/gallery2/galtheme.cxx @@ -658,7 +658,7 @@ void GalleryTheme::Actualize( const Link<const INetURLObject&, void>& rActualize CopyFile( aTmpURL, aInURL ); KillFile( aTmpURL ); - sal_uIntPtr nStorErr = 0; + ErrCode nStorErr = ERRCODE_NONE; try { @@ -674,7 +674,7 @@ void GalleryTheme::Actualize( const Link<const INetURLObject&, void>& rActualize nStorErr = ERRCODE_IO_GENERAL; } - if( !nStorErr ) + if( nStorErr == ERRCODE_NONE ) { aSvDrawStorageRef.Clear(); CopyFile( aTmpURL, GetSdvURL() ); |