diff options
author | sb <sb@openoffice.org> | 2010-01-08 13:21:39 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-01-08 13:21:39 +0100 |
commit | 736960b56fdf3a640bfbb48d41833b7f7074295d (patch) | |
tree | 632e70154aa6f79b134de6c01ddc3ee019449a03 /jvmfwk/plugins/sunmajor/pluginlib/util.cxx | |
parent | 9af3a0f3254ff8e6fe0ed0559a07aadf41a1eb83 (diff) | |
parent | 6e8628fb7374b7d19e15f03e63f8ad221ca25f1e (diff) |
sb111: merged in DEV300_m69
Diffstat (limited to 'jvmfwk/plugins/sunmajor/pluginlib/util.cxx')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/util.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx index 61edd8ebcaf4..319424038d34 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx @@ -300,13 +300,14 @@ class AsynchReader: public Thread public: AsynchReader(oslFileHandle & rHandle); - +#if OSL_DEBUG_LEVEL >= 2 /** only call this function after this thread has finished. That is, call join on this instance and then call getData. */ OString getData(); +#endif }; AsynchReader::AsynchReader(oslFileHandle & rHandle): @@ -314,11 +315,13 @@ AsynchReader::AsynchReader(oslFileHandle & rHandle): { } +#if OSL_DEBUG_LEVEL >= 2 OString AsynchReader::getData() { OSL_ASSERT(isRunning() == sal_False ); return OString(m_arData.get(), m_nDataSize); } +#endif void AsynchReader::run() { |