summaryrefslogtreecommitdiff
path: root/include/salhelper/simplereferenceobject.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/salhelper/simplereferenceobject.hxx')
-rw-r--r--include/salhelper/simplereferenceobject.hxx18
1 files changed, 8 insertions, 10 deletions
diff --git a/include/salhelper/simplereferenceobject.hxx b/include/salhelper/simplereferenceobject.hxx
index 5f901c3f1015..b150fb238c14 100644
--- a/include/salhelper/simplereferenceobject.hxx
+++ b/include/salhelper/simplereferenceobject.hxx
@@ -58,7 +58,7 @@ namespace salhelper {
class SALHELPER_DLLPUBLIC SimpleReferenceObject
{
public:
- inline SimpleReferenceObject() SAL_THROW(()): m_nCount(0) {}
+ inline SimpleReferenceObject(): m_nCount(0) {}
/** @attention
The results are undefined if, for any individual instance of
@@ -66,33 +66,31 @@ public:
the total number of calls to release() by a platform dependent amount
(which, hopefully, is quite large).
*/
- inline void acquire() SAL_THROW(())
+ inline void acquire()
{ osl_atomic_increment(&m_nCount); }
- inline void release() SAL_THROW(())
+ inline void release()
{ if (osl_atomic_decrement(&m_nCount) == 0) delete this; }
/** see general class documentation
*/
- static void * operator new(std::size_t nSize) SAL_THROW((std::bad_alloc));
+ static void * operator new(std::size_t nSize);
/** see general class documentation
*/
static void * operator new(std::size_t nSize,
- std::nothrow_t const & rNothrow)
- SAL_THROW(());
+ std::nothrow_t const & rNothrow);
/** see general class documentation
*/
- static void operator delete(void * pPtr) SAL_THROW(());
+ static void operator delete(void * pPtr);
/** see general class documentation
*/
- static void operator delete(void * pPtr, std::nothrow_t const & rNothrow)
- SAL_THROW(());
+ static void operator delete(void * pPtr, std::nothrow_t const & rNothrow);
protected:
- virtual ~SimpleReferenceObject() SAL_THROW(());
+ virtual ~SimpleReferenceObject();
private:
oslInterlockedCount m_nCount;
cgit/lo/core/commit/chart2/source/view/charttypes/AreaChart.cxx?h=cp-6.0-11&id=7ab8b08b6c8e7eb05e8ec8dde2afbe0940075f36'>loplugin:staticmethodsNoel Grandin 2015-03-13tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann 2014-07-22Remove "this->". Pointless.Kohei Yoshida 2014-07-02remove whitespacesMarkus Mohrhard 2014-06-13loplugin:staticcallStephan Bergmann 2014-03-29Add API wrapper to handle properties of new GL3D chart type.Kohei Yoshida 2014-03-25Add a new skeleton plotter for the GL3D bar chart.Kohei Yoshida 2014-02-27Remove visual noise from chart2Alexander Wilms 2013-11-19this only works with c++11Markus Mohrhard 2013-11-19work on plotting a whole series at onceMarkus Mohrhard 2013-11-19remove a few more unnecessary linesMarkus Mohrhard 2013-11-19simplify AreaChart now that it does not deal with net chartsMarkus Mohrhard 2013-11-19prevent some implicit iterator conversionsMarkus Mohrhard 2013-11-19make it possible to switch between different ShapeFactoriesMarkus Mohrhard 2013-11-19create an AbstractFactory and add a DummyShapeFactory for testingMarkus Mohrhard 2013-11-19remove unused parameterMarkus Mohrhard 2013-07-29fdo#62475 removed pointless commentsJelle van der Waa 2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist 2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák