summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-12-15 21:48:17 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2016-12-16 08:23:34 +0000
commit6ee75be645d605cbecd0ebda54303891acf25664 (patch)
tree308e8a0b77268ece80285be0c15c53998088cb31
parent107bcc88397f7167cf9599255f4e8c4de299e659 (diff)
vcl: Kill unused RenderSettings
Change-Id: Ie74d4f3258ef553b4febcc544204080d8c6e0f40 Reviewed-on: https://gerrit.libreoffice.org/32046 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
-rw-r--r--include/vcl/rendersettings.hxx34
-rw-r--r--include/vcl/window.hxx1
-rw-r--r--unusedcode.easy2
-rw-r--r--vcl/Library_vcl.mk1
-rw-r--r--vcl/inc/pch/precompiled_vcl.hxx2
-rw-r--r--vcl/inc/window.h1
-rw-r--r--vcl/source/gdi/impanmvw.cxx5
-rw-r--r--vcl/source/outdev/rendersettings.cxx18
8 files changed, 4 insertions, 60 deletions
diff --git a/include/vcl/rendersettings.hxx b/include/vcl/rendersettings.hxx
deleted file mode 100644
index d516dfcc41b3..000000000000
--- a/include/vcl/rendersettings.hxx
+++ /dev/null
@@ -1,34 +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_RENDERSETTINGS_HXX
-#define INCLUDED_VCL_RENDERSETTINGS_HXX
-
-#include <vcl/window.hxx>
-#include <vcl/outdev.hxx>
-#include <vcl/outdevstate.hxx>
-
-namespace vcl
-{
-
-class VCL_DLLPUBLIC RenderSettings final
-{
- OutDevState maOutDevState;
- std::unique_ptr<Wallpaper> mpBackground;
-
-public:
- RenderSettings()
- {}
-};
-
-}
-
-#endif // INCLUDED_VCL_RENDERSETTINGS_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 8aa141e3ec09..1b5759b23f12 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -101,7 +101,6 @@ namespace dnd {
namespace vcl {
struct ControlLayoutData;
- class RenderSettings;
}
namespace svt { class PopupWindowControllerImpl; }
diff --git a/unusedcode.easy b/unusedcode.easy
index 7285029d48d1..e93255042b4e 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -74,10 +74,8 @@ std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace
std::__cxx1998::vector<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread>, std::allocator<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread> > >::reserve(unsigned long)
vcl::MapChar(vcl::TrueTypeFont*, unsigned short, bool)
vcl::Region::IsInside(Rectangle const&) const
-vcl::RenderSettings::PushAndApply(OutputDevice&)
vcl::Window::DrawGradientWallpaper(OutputDevice&, long, long, long, long, Wallpaper const&)
vcl::Window::DrawSelectionBackground(Rectangle const&, unsigned short, bool, bool, bool, Color*)
-vcl::Window::GetRenderSettings()
vcl::Window::SetDoubleBuffering(bool)
vclcanvas::CanvasBitmapHelper::setData(com::sun::star::uno::Sequence<signed char> const&, com::sun::star::rendering::IntegerBitmapLayout const&, com::sun::star::geometry::IntegerRectangle2D const&)
vclcanvas::CanvasBitmapHelper::setPixel(com::sun::star::uno::Sequence<signed char> const&, com::sun::star::rendering::IntegerBitmapLayout const&, com::sun::star::geometry::IntegerPoint2D const&)
diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk
index 5fd6a82f88cf..a57fdb4a7bc4 100644
--- a/vcl/Library_vcl.mk
+++ b/vcl/Library_vcl.mk
@@ -232,7 +232,6 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\
vcl/source/outdev/textline \
vcl/source/outdev/pixel \
vcl/source/outdev/rect \
- vcl/source/outdev/rendersettings \
vcl/source/outdev/line \
vcl/source/outdev/polyline \
vcl/source/outdev/hatch \
diff --git a/vcl/inc/pch/precompiled_vcl.hxx b/vcl/inc/pch/precompiled_vcl.hxx
index 7d3297788219..ec459c710e0e 100644
--- a/vcl/inc/pch/precompiled_vcl.hxx
+++ b/vcl/inc/pch/precompiled_vcl.hxx
@@ -50,7 +50,6 @@
#include <unordered_map>
#include <utility>
#include <vector>
-#include <window.h>
#include <boost/functional/hash.hpp>
#include <boost/math/special_functions/sinc.hpp>
#include <boost/multi_array.hpp>
@@ -298,5 +297,6 @@
#include <unotools/configmgr.hxx>
#include <unotools/localedatawrapper.hxx>
#include <unotools/unotoolsdllapi.h>
+#include <window.h>
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/inc/window.h b/vcl/inc/window.h
index 061996dd856e..cb5d7e6f1548 100644
--- a/vcl/inc/window.h
+++ b/vcl/inc/window.h
@@ -24,7 +24,6 @@
#include <tools/fract.hxx>
#include <vcl/idle.hxx>
-#include <vcl/rendersettings.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <list>
diff --git a/vcl/source/gdi/impanmvw.cxx b/vcl/source/gdi/impanmvw.cxx
index c8616ef3ce49..185fee4b95f3 100644
--- a/vcl/source/gdi/impanmvw.cxx
+++ b/vcl/source/gdi/impanmvw.cxx
@@ -17,12 +17,13 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <window.h>
+#include "impanmvw.hxx"
+
#include <vcl/virdev.hxx>
#include <vcl/window.hxx>
#include <tools/helpers.hxx>
-#include "impanmvw.hxx"
+#include "window.h"
ImplAnimView::ImplAnimView( Animation* pParent, OutputDevice* pOut,
const Point& rPt, const Size& rSz,
diff --git a/vcl/source/outdev/rendersettings.cxx b/vcl/source/outdev/rendersettings.cxx
deleted file mode 100644
index ab9d10db0c4b..000000000000
--- a/vcl/source/outdev/rendersettings.cxx
+++ /dev/null
@@ -1,18 +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/.
- *
- */
-
-#include <vcl/rendersettings.hxx>
-
-namespace vcl
-{
-
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */