simplereferenceobject.cxx (79aad27f) simplereferenceobject.cxx (0f3a8aaf)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 54 unchanged lines hidden (view full) ---

63 SAL_THROW(())
64{
65#if defined WNT
66 ::operator delete(pPtr); // WNT lacks a global nothrow operator delete...
67#else // WNT
68 ::operator delete(pPtr, std::nothrow);
69#endif // WNT
70}
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 54 unchanged lines hidden (view full) ---

63 SAL_THROW(())
64{
65#if defined WNT
66 ::operator delete(pPtr); // WNT lacks a global nothrow operator delete...
67#else // WNT
68 ::operator delete(pPtr, std::nothrow);
69#endif // WNT
70}
71
72void SimpleReferenceObject::operator delete[](void * pPtr)
73 SAL_THROW(())
74{
75 ::operator delete[](pPtr);
76}