summaryrefslogtreecommitdiffstats
path: root/embeddedobj/source/msole/graphconvert.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-12-09 02:56:30 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-12-09 09:59:02 +0900
commit9262039e908b3ea897180bc723d947d3d7546d4e (patch)
tree0937618fd39b4d73e770664fae96166304df7d68 /embeddedobj/source/msole/graphconvert.cxx
parentRevert "mysqlcppconn: force recompilation when switching between different bi... (diff)
downloadcore-9262039e908b3ea897180bc723d947d3d7546d4e.tar.gz
core-9262039e908b3ea897180bc723d947d3d7546d4e.zip
catch exception by constant reference
Diffstat (limited to 'embeddedobj/source/msole/graphconvert.cxx')
-rw-r--r--embeddedobj/source/msole/graphconvert.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/embeddedobj/source/msole/graphconvert.cxx b/embeddedobj/source/msole/graphconvert.cxx
index ed126065b9a8..b39c88888583 100644
--- a/embeddedobj/source/msole/graphconvert.cxx
+++ b/embeddedobj/source/msole/graphconvert.cxx
@@ -84,7 +84,7 @@ sal_Bool ConvertBufferToFormat( void* pBuf,
}
}
}
- catch (uno::Exception&)
+ catch (const uno::Exception&)
{}
}
@@ -119,7 +119,7 @@ void SAL_CALL MainThreadNotificationRequest::notify (const uno::Any& ) throw (un
m_pObject->OnIconChanged_Impl();
}
}
- catch( uno::Exception& )
+ catch( const uno::Exception& )
{
// ignore all the errors
}