summaryrefslogtreecommitdiff
path: root/vcl/source/outdev/rendersettings.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-08 10:25:58 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-10 08:21:20 +0000
commit001e694ecd21095b6fcfb5632ace63d8e0c2b7f8 (patch)
tree6a78b42161a396b3a63e55a4e5c2fa45d76311c2 /vcl/source/outdev/rendersettings.cxx
parentf06f06d50393184f1ca2e27db6167b08edc26cb3 (diff)
loplugin:unusedmethods vcl(part2)
Change-Id: I12356b3fdce68282a30cae2b270b02e46558860a Reviewed-on: https://gerrit.libreoffice.org/16847 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/outdev/rendersettings.cxx')
-rw-r--r--vcl/source/outdev/rendersettings.cxx29
1 files changed, 0 insertions, 29 deletions
diff --git a/vcl/source/outdev/rendersettings.cxx b/vcl/source/outdev/rendersettings.cxx
index fd2524d8858a..2d7b8710096a 100644
--- a/vcl/source/outdev/rendersettings.cxx
+++ b/vcl/source/outdev/rendersettings.cxx
@@ -13,35 +13,6 @@
namespace vcl
{
-void RenderSettings::SetLineColor(const Color& rColor)
-{
- maOutDevState.mpLineColor = new Color(rColor);
- maOutDevState.mnFlags |= PushFlags::LINECOLOR;
-}
-
-void RenderSettings::SetFillColor(const Color& rColor)
-{
- maOutDevState.mpFillColor = new Color(rColor);
- maOutDevState.mnFlags |= PushFlags::FILLCOLOR;
-}
-
-void RenderSettings::SetFont(const vcl::Font& rNewFont)
-{
- maOutDevState.mpFont = new vcl::Font(rNewFont);
- maOutDevState.mnFlags |= PushFlags::FONT;
-}
-
-void RenderSettings::SetBackground(const Wallpaper& rBackground)
-{
- mpBackground.reset(new Wallpaper(rBackground));
-}
-
-void RenderSettings::PushAndApply(vcl::RenderContext& rRenderContext)
-{
- rRenderContext.Push(maOutDevState.mnFlags);
- Apply(rRenderContext);
-}
-
void RenderSettings::Apply(vcl::RenderContext& rRenderContext)
{
if (maOutDevState.mnFlags & PushFlags::LINECOLOR)