summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/MediaObjectBar.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-25 14:48:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-26 09:59:41 +0000
commite31da9fc2f24bb448efaab7a74a8bd1308bf2428 (patch)
tree748a1e189e9cd253ffff51f1afb93611e8026cd5 /sd/source/ui/view/MediaObjectBar.cxx
parente2c7ef060397c4e0a0297b14b008596fb1c089a4 (diff)
boost->std
Change-Id: I1696c0982533b9c1ccf66e8a729feeddd3c8d5df Reviewed-on: https://gerrit.libreoffice.org/18871 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source/ui/view/MediaObjectBar.cxx')
-rw-r--r--sd/source/ui/view/MediaObjectBar.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/view/MediaObjectBar.cxx b/sd/source/ui/view/MediaObjectBar.cxx
index 2ea5f2457f12..7c191ae057c7 100644
--- a/sd/source/ui/view/MediaObjectBar.cxx
+++ b/sd/source/ui/view/MediaObjectBar.cxx
@@ -40,7 +40,6 @@
#include "sdresid.hxx"
#include "drawdoc.hxx"
#include <memory>
-#include <boost/scoped_ptr.hpp>
using namespace sd;
@@ -87,7 +86,7 @@ void MediaObjectBar::GetState( SfxItemSet& rSet )
{
if( SID_AVMEDIA_TOOLBOX == nWhich )
{
- boost::scoped_ptr<SdrMarkList> pMarkList(new SdrMarkList( mpView->GetMarkedObjectList() ));
+ std::unique_ptr<SdrMarkList> pMarkList(new SdrMarkList( mpView->GetMarkedObjectList() ));
bool bDisable = true;
if( 1 == pMarkList->GetMarkCount() )
@@ -124,7 +123,7 @@ void MediaObjectBar::Execute( SfxRequest& rReq )
if( pItem )
{
- boost::scoped_ptr<SdrMarkList> pMarkList(new SdrMarkList( mpView->GetMarkedObjectList() ));
+ std::unique_ptr<SdrMarkList> pMarkList(new SdrMarkList( mpView->GetMarkedObjectList() ));
if( 1 == pMarkList->GetMarkCount() )
{