diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-05 12:46:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-06 08:23:06 +0200 |
commit | 6469b6134e71f6fc2debd8c8812e2dc9ad8e60c3 (patch) | |
tree | f0737df448a342df972947e7e969042e69407bce /vcl/inc | |
parent | a2c665e4dd73007fe7f0eda2de31db8b768f1df9 (diff) |
simplify and flatten OutDevStateStack
Change-Id: Ic2ee5c2e122244e11770ab5fb73f65800828439a
Reviewed-on: https://gerrit.libreoffice.org/75128
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/outdevstatestack.hxx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/vcl/inc/outdevstatestack.hxx b/vcl/inc/outdevstatestack.hxx deleted file mode 100644 index 0d83f5978b18..000000000000 --- a/vcl/inc/outdevstatestack.hxx +++ /dev/null @@ -1,31 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - */ - -#ifndef INCLUDED_VCL_OUTDEVSTATESTACK_HXX -#define INCLUDED_VCL_OUTDEVSTATESTACK_HXX - -#include <vcl/outdevstate.hxx> -#include <memory> -#include <deque> - -class OutDevStateStack -{ - std::deque<std::unique_ptr<OutDevState>> maData; - -public: - bool empty() const; - size_t size() const; - void push_back( OutDevState* p ); - void pop_back(); - OutDevState& back(); -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |