Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,

Please find attached a patch to remove a couple of methods listed in
unusedcode.easy, from gtkframe.

Kate
From 85b2e98cb31fc7d8968136bf91c01b5589e7a0dd Mon Sep 17 00:00:00 2001
From: Kate Goss <katherine.goss@gmail.com>
Date: Tue, 14 Feb 2012 21:10:14 +0000
Subject: [PATCH] Remove unused methods from gtkframe

Remove GtkSalFrame::popIgnoreDamage() and GtkSalFrame::pushIgnoreDamage()
---
 unusedcode.easy                 |    2 --
 vcl/inc/unx/gtk/gtkframe.hxx    |    2 --
 vcl/unx/gtk/window/gtkframe.cxx |   14 --------------
 3 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/unusedcode.easy b/unusedcode.easy
index f1476f8..f5d4b3e 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -40,8 +40,6 @@ FontStyleBox::FontStyleBox(Window*, long)
 FormattedField::SetValidateText(String const&, String const*)
 FuncData::FuncData(rtl::OUString const&)
 GraphCtrl::GraphCtrl(Window*, long)
-GtkSalFrame::popIgnoreDamage()
-GtkSalFrame::pushIgnoreDamage()
 HTMLControls::Insert(HTMLControl const*&, unsigned short&)
 HTMLControls::Insert(HTMLControl const**, unsigned short)
 HTMLControls::Insert(HTMLControls const*, unsigned short, unsigned short)
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx
index 1d84ca2..c59fcde 100644
--- a/vcl/inc/unx/gtk/gtkframe.hxx
+++ b/vcl/inc/unx/gtk/gtkframe.hxx
@@ -326,8 +326,6 @@ public:
     void updateScreenNumber();
 
     // only for gtk3 ...
-    void pushIgnoreDamage();
-    void popIgnoreDamage();
 #if GTK_CHECK_VERSION(3,0,0)
     void renderArea( cairo_t *cr, cairo_rectangle_t *src );
 #endif
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx
index e4856bd..e320ca8 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -2994,20 +2994,6 @@ gboolean GtkSalFrame::signalCrossing( GtkWidget*, GdkEventCrossing* pEvent, 
gpoi
     return sal_True;
 }
 
-void GtkSalFrame::pushIgnoreDamage()
-{
-#if GTK_CHECK_VERSION(3,0,0)
-    m_nDuringRender++;
-#endif
-}
-
-void GtkSalFrame::popIgnoreDamage()
-{
-#if GTK_CHECK_VERSION(3,0,0)
-    m_nDuringRender--;
-#endif
-}
-
 void GtkSalFrame::damaged (const basegfx::B2IBox& rDamageRect)
 {
 #if !GTK_CHECK_VERSION(3,0,0)
-- 
1.7.9


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.