summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-05 08:16:59 +0200
committerNoel Grandin <noel@peralex.com>2014-06-05 08:17:52 +0200
commit0e507ae031768deceab236a41d1bbe9fb5123cea (patch)
tree34cc1626f1e8fa6d50d6edd88045be6252150f19 /jvmfwk
parentdb246b491c1639942d9f952658d33974e9b06201 (diff)
various: remove SAL_THROW macro
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/util.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
index 0c21124b0271..abad760cc788 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
@@ -186,18 +186,18 @@ rtl::Bootstrap * getBootstrap()
class FileHandleGuard: private boost::noncopyable
{
public:
- inline FileHandleGuard(oslFileHandle & rHandle) SAL_THROW(()):
+ inline FileHandleGuard(oslFileHandle & rHandle):
m_rHandle(rHandle) {}
- inline ~FileHandleGuard() SAL_THROW(());
+ inline ~FileHandleGuard();
- inline oslFileHandle & getHandle() SAL_THROW(()) { return m_rHandle; }
+ inline oslFileHandle & getHandle() { return m_rHandle; }
private:
oslFileHandle & m_rHandle;
};
-inline FileHandleGuard::~FileHandleGuard() SAL_THROW(())
+inline FileHandleGuard::~FileHandleGuard()
{
if (m_rHandle != 0)
{
@@ -219,10 +219,10 @@ public:
RESULT_ERROR
};
- inline FileHandleReader(oslFileHandle & rHandle) SAL_THROW(()):
+ inline FileHandleReader(oslFileHandle & rHandle):
m_aGuard(rHandle), m_nSize(0), m_nIndex(0), m_bLf(false) {}
- Result readLine(OString * pLine) SAL_THROW(());
+ Result readLine(OString * pLine);
private:
enum { BUFFER_SIZE = 1024 };
@@ -236,7 +236,6 @@ private:
FileHandleReader::Result
FileHandleReader::readLine(OString * pLine)
- SAL_THROW(())
{
OSL_ENSURE(pLine, "specification violation");