From d1eb389d7081276bb08f4cf3be16e5301a4c39cb Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Sat, 19 Sep 2015 10:56:57 +0200 Subject: sal_uLong/long to ErrCode Change-Id: I2ba2d867785765e4850c60070e86419f66e25f57 --- svx/source/gallery2/galtheme.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svx/source') 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& rActualize CopyFile( aTmpURL, aInURL ); KillFile( aTmpURL ); - sal_uIntPtr nStorErr = 0; + ErrCode nStorErr = ERRCODE_NONE; try { @@ -674,7 +674,7 @@ void GalleryTheme::Actualize( const Link& rActualize nStorErr = ERRCODE_IO_GENERAL; } - if( !nStorErr ) + if( nStorErr == ERRCODE_NONE ) { aSvDrawStorageRef.Clear(); CopyFile( aTmpURL, GetSdvURL() ); -- cgit