diff options
Diffstat (limited to 'sfx2/qa/cppunit/test_metadatable.cxx')
-rw-r--r-- | sfx2/qa/cppunit/test_metadatable.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/qa/cppunit/test_metadatable.cxx b/sfx2/qa/cppunit/test_metadatable.cxx index e611c6103cba..fc57dea7cef3 100644 --- a/sfx2/qa/cppunit/test_metadatable.cxx +++ b/sfx2/qa/cppunit/test_metadatable.cxx @@ -32,7 +32,7 @@ #include <sfx2/Metadatable.hxx> #include <sfx2/XmlIdRegistry.hxx> -#include <boost/scoped_ptr.hpp> +#include <memory> using namespace ::com::sun::star; @@ -94,9 +94,9 @@ static bool operator==(beans::StringPair p1, beans::StringPair p2) void MetadatableTest::test() { - boost::scoped_ptr< ::sfx2::IXmlIdRegistry > const pReg( + std::unique_ptr< ::sfx2::IXmlIdRegistry > const pReg( ::sfx2::createXmlIdRegistry(false) ); - boost::scoped_ptr< ::sfx2::IXmlIdRegistry > const pRegClip( + std::unique_ptr< ::sfx2::IXmlIdRegistry > const pRegClip( ::sfx2::createXmlIdRegistry(true) ); MockMetadatable m1(*pReg); |