summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/outdevnative.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/outdevnative.cxx')
-rw-r--r--vcl/source/gdi/outdevnative.cxx39
1 files changed, 0 insertions, 39 deletions
diff --git a/vcl/source/gdi/outdevnative.cxx b/vcl/source/gdi/outdevnative.cxx
index 620566b9a07b..50c2ac0540c6 100644
--- a/vcl/source/gdi/outdevnative.cxx
+++ b/vcl/source/gdi/outdevnative.cxx
@@ -258,45 +258,6 @@ sal_Bool OutputDevice::DrawNativeControl( ControlType nType,
return bRet;
}
-
-// -----------------------------------------------------------------------
-
-sal_Bool OutputDevice::DrawNativeControlText(ControlType nType,
- ControlPart nPart,
- const Rectangle& rControlRegion,
- ControlState nState,
- const ImplControlValue& aValue,
- ::rtl::OUString aCaption )
-{
- if( !lcl_enableNativeWidget( *this ) )
- return sal_False;
-
- // make sure the current clip region is initialized correctly
- if ( !mpGraphics )
- if ( !ImplGetGraphics() )
- return false;
-
- if ( mbInitClipRegion )
- ImplInitClipRegion();
- if ( mbOutputClipped )
- return true;
-
- if ( mbInitLineColor )
- ImplInitLineColor();
- if ( mbInitFillColor )
- ImplInitFillColor();
-
- // Convert the coordinates from relative to Window-absolute, so we draw
- // in the correct place in platform code
- boost::shared_ptr< ImplControlValue > aScreenCtrlValue( lcl_transformControlValue( aValue, *this ) );
- Rectangle screenRegion( ImplLogicToDevicePixel( rControlRegion ) );
-
- sal_Bool bRet = mpGraphics->DrawNativeControlText(nType, nPart, screenRegion, nState, *aScreenCtrlValue, aCaption, this );
-
- return bRet;
-}
-
-
// -----------------------------------------------------------------------
sal_Bool OutputDevice::GetNativeControlRegion( ControlType nType,