diff options
Diffstat (limited to 'salhelper/qa/test_api.cxx')
-rw-r--r-- | salhelper/qa/test_api.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/salhelper/qa/test_api.cxx b/salhelper/qa/test_api.cxx index 8b98ef3489e0..c9d88005b4a5 100644 --- a/salhelper/qa/test_api.cxx +++ b/salhelper/qa/test_api.cxx @@ -57,8 +57,6 @@ std::type_info const & getSimpleReferenceObjectTypeInfo() #include <cppunit/plugin/TestPlugIn.h> #include <boost/scoped_ptr.hpp> -#include <memory> - namespace { class DerivedCondition: public salhelper::Condition { @@ -110,7 +108,7 @@ public: void Test::testCondition() { osl::Mutex mutex; - std::auto_ptr< salhelper::Condition > p(new DerivedCondition(mutex)); + boost::scoped_ptr< salhelper::Condition > p(new DerivedCondition(mutex)); CPPUNIT_ASSERT(typeid (*p.get()) != typeid (salhelper::Condition)); CPPUNIT_ASSERT(typeid (p.get()) == typeid (salhelper::Condition *)); CPPUNIT_ASSERT( |