Kaydet (Commit) 82653085 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

vcl/osx: std::auto_ptr -> std::unique_ptr

Change-Id: If54aaffc6d88569220c4f1747926aae3199946b8
üst 9c88837f
...@@ -52,7 +52,7 @@ public: ...@@ -52,7 +52,7 @@ public:
virtual com::sun::star::uno::Any getOOoData() = 0; virtual com::sun::star::uno::Any getOOoData() = 0;
}; };
typedef std::auto_ptr<DataProvider> DataProviderPtr_t; typedef std::unique_ptr<DataProvider> DataProviderPtr_t;
class DataFlavorMapper class DataFlavorMapper
{ {
......
...@@ -234,7 +234,7 @@ void SAL_CALL DragSource::startDrag(const DragGestureEvent& trigger, ...@@ -234,7 +234,7 @@ void SAL_CALL DragSource::startDrag(const DragGestureEvent& trigger,
m_MouseButton= mMouseEvent.Buttons; m_MouseButton= mMouseEvent.Buttons;
mXDragSrcListener = listener; mXDragSrcListener = listener;
mXCurrentContext = static_cast<XDragSourceContext*>(new DragSourceContext); mXCurrentContext = static_cast<XDragSourceContext*>(new DragSourceContext);
auto_ptr<AquaClipboard> clipb(new AquaClipboard(NULL, false)); unique_ptr<AquaClipboard> clipb(new AquaClipboard(NULL, false));
g_XTransferable = transferable; g_XTransferable = transferable;
clipb->setContents(g_XTransferable, uno::Reference<XClipboardOwner>()); clipb->setContents(g_XTransferable, uno::Reference<XClipboardOwner>());
mDragSourceActions = sourceActions; mDragSourceActions = sourceActions;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment