summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
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");