diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-11 18:51:50 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-12 10:05:25 +0900 |
commit | 75b835c8cd2953c5bc0f23df300ee553f94eb28d (patch) | |
tree | 753bf89fdc56cd3df9842adc7962b0965090cf44 /fileaccess | |
parent | f00172b81c8bab0b1c62cbca1bc14b83deed8806 (diff) |
catch exception by constant reference
Diffstat (limited to 'fileaccess')
-rw-r--r-- | fileaccess/source/FileAccess.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fileaccess/source/FileAccess.cxx b/fileaccess/source/FileAccess.cxx index a19d90938c33..15867f8e24fa 100644 --- a/fileaccess/source/FileAccess.cxx +++ b/fileaccess/source/FileAccess.cxx @@ -396,7 +396,7 @@ sal_Bool OFileAccess::isFolder( const rtl::OUString& FileURL ) ucbhelper::Content aCnt( aURLObj.GetMainURL( INetURLObject::NO_DECODE ), mxEnvironment ); bRet = aCnt.isFolder(); } - catch (Exception &) {} + catch (const Exception &) {} return bRet; } @@ -600,7 +600,7 @@ sal_Bool OFileAccess::exists( const rtl::OUString& FileURL ) xStream->closeInput(); } } - catch (Exception &) {} + catch (const Exception &) {} return bRet; } |