summaryrefslogtreecommitdiff
path: root/vcl/source/outdev
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-04 10:25:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-04 11:37:40 +0100
commit01e6e93eed5efc22aa7818f50807ec68a4a3aa52 (patch)
treeef4617c6838018623e337409d0b810c4fe41cb05 /vcl/source/outdev
parentd64105fd3a16356ff858da1497d7fd73b98f55c6 (diff)
vcl: replace boost::ptr_deque with std::deque<std::unique_ptr>
Change-Id: Id53ee54dda5454669affd5ca5324a2d7c5387063
Diffstat (limited to 'vcl/source/outdev')
-rw-r--r--vcl/source/outdev/outdevstatestack.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/outdev/outdevstatestack.cxx b/vcl/source/outdev/outdevstatestack.cxx
index 0fcdcd52b74b..24eb24557580 100644
--- a/vcl/source/outdev/outdevstatestack.cxx
+++ b/vcl/source/outdev/outdevstatestack.cxx
@@ -21,7 +21,7 @@ size_t OutDevStateStack::size() const
void OutDevStateStack::push_back( OutDevState* p )
{
- maData.push_back(p);
+ maData.push_back(std::unique_ptr<OutDevState>(p));
}
void OutDevStateStack::pop_back()
@@ -31,7 +31,7 @@ void OutDevStateStack::pop_back()
OutDevState& OutDevStateStack::back()
{
- return maData.back();
+ return *maData.back();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */