diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-02-21 23:45:01 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-02-22 00:52:31 +0100 |
commit | 178ce4295ba864b4dd5082eff7e3444d5cead6ca (patch) | |
tree | 2f7ef1dbab04198bdb5daadd6c254a0180edd174 /vcl/unx | |
parent | 936ebcfa4b44a90bdc8789ce7556f1ba3599375c (diff) |
unusedcode.easy: vcl: remove DrawNativeControlText()
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 21 | ||||
-rw-r--r-- | vcl/unx/kde/salnativewidgets-kde.cxx | 27 | ||||
-rw-r--r-- | vcl/unx/kde4/KDESalGraphics.hxx | 12 |
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 |