summaryrefslogtreecommitdiffstats
path: root/vcl/unx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-02-21 23:45:01 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-02-22 00:52:31 +0100
commit178ce4295ba864b4dd5082eff7e3444d5cead6ca (patch)
tree2f7ef1dbab04198bdb5daadd6c254a0180edd174 /vcl/unx
parentEasyHack fdo#46258 Removal of VCL testtool support (-enableautomation option) (diff)
downloadcore-178ce4295ba864b4dd5082eff7e3444d5cead6ca.tar.gz
core-178ce4295ba864b4dd5082eff7e3444d5cead6ca.zip
unusedcode.easy: vcl: remove DrawNativeControlText()
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx21
-rw-r--r--vcl/unx/kde/salnativewidgets-kde.cxx27
-rw-r--r--vcl/unx/kde4/KDESalGraphics.hxx12
3 files changed, 0 insertions, 60 deletions
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
index a55d3f4f2ccf..97299151cd6f 100644
--- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
@@ -904,27 +904,6 @@ sal_Bool GtkSalGraphics::drawNativeControl( ControlType nType,
}
/*
- * DrawNativeControlText()
- *
- * OPTIONAL. Draws the requested text for the control described by nPart/nState.
- * Used if text not drawn by DrawNativeControl().
- *
- * rControlRegion: The bounding region of the complete control in VCL frame coordinates.
- * aValue: An optional value (tristate/numerical/string)
- * rCaption: A caption or title string (like button text etc)
- */
-sal_Bool GtkSalGraphics::drawNativeControlText( ControlType,
- ControlPart,
- const Rectangle&,
- ControlState,
- const ImplControlValue&,
- const OUString& )
-{
- return( sal_False );
-}
-
-
-/*
* GetNativeControlRegion()
*
* If the return value is sal_True, rNativeBoundingRegion
diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx
index 8ff0ce5f6463..adee91e73a32 100644
--- a/vcl/unx/kde/salnativewidgets-kde.cxx
+++ b/vcl/unx/kde/salnativewidgets-kde.cxx
@@ -1179,10 +1179,6 @@ class KDESalGraphics : public X11SalGraphics
const Rectangle& rControlRegion, ControlState nState,
const ImplControlValue& aValue,
const OUString& aCaption );
- virtual sal_Bool drawNativeControlText( ControlType nType, ControlPart nPart,
- const Rectangle& rControlRegion, ControlState nState,
- const ImplControlValue& aValue,
- const OUString& aCaption );
virtual sal_Bool getNativeControlRegion( ControlType nType, ControlPart nPart,
const Rectangle& rControlRegion, ControlState nState,
const ImplControlValue& aValue,
@@ -1471,29 +1467,6 @@ sal_Bool KDESalGraphics::drawNativeControl( ControlType nType, ControlPart nPart
return bReturn;
}
-
-/** Draw text on the widget.
-
- OPTIONAL. Draws the requested text for the control described by nPart/nState.
- Used if text is not drawn by DrawNativeControl().
-
- @param rControlRegion
- The bounding region of the complete control in VCL frame coordinates.
-
- @param aValue
- An optional value (tristate/numerical/string)
-
- @param aCaption
- A caption or title string (like button text etc.)
-*/
-sal_Bool KDESalGraphics::drawNativeControlText( ControlType, ControlPart,
- const Rectangle&, ControlState,
- const ImplControlValue&,
- const OUString& )
-{
- return sal_False;
-}
-
/** Check if the bounding regions match.
If the return value is sal_True, rNativeBoundingRegion
diff --git a/vcl/unx/kde4/KDESalGraphics.hxx b/vcl/unx/kde4/KDESalGraphics.hxx
index 2f4c3f384c75..dd4ef01f1493 100644
--- a/vcl/unx/kde4/KDESalGraphics.hxx
+++ b/vcl/unx/kde4/KDESalGraphics.hxx
@@ -78,18 +78,6 @@ class KDESalGraphics : public X11SalGraphics
const ImplControlValue& aValue,
const rtl::OUString& aCaption );
- /** Draw text on the widget.
- OPTIONAL. Draws the requested text for the control described by part/nControlState.
- Used if text is not drawn by DrawNativeControl().
-
- @param rControlRegion The bounding region of the complete control in VCL frame coordinates.
- @param aValue An optional value (tristate/numerical/string)
- @param aCaption A caption or title string (like button text etc.)
- */
- virtual sal_Bool drawNativeControlText( ControlType, ControlPart,
- const Rectangle&, ControlState,
- const ImplControlValue&,
- const rtl::OUString& ) { return false; }
/** Check if the bounding regions match.
If the return value is TRUE, rNativeBoundingRegion