Kaydet (Commit) 287bc1c6 authored tarafından Caolán McNamara's avatar Caolán McNamara

mysterious OutDevSupport_B2DClip is unused

since maybe...

commit ead04f8f
Author: Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>
Date:   Fri Dec 3 16:21:36 2010 +0100

    vcl118: #i115905# improved clip region interface on SAL layer (part 1, windows implementation)

Change-Id: Iaeb49b60f70a9f595b67c7eb307a2e90b58d7150
üst ebd68448
...@@ -81,7 +81,7 @@ enum FontHintStyle { HINT_NONE, HINT_SLIGHT, HINT_MEDIUM, HINT_FULL }; ...@@ -81,7 +81,7 @@ enum FontHintStyle { HINT_NONE, HINT_SLIGHT, HINT_MEDIUM, HINT_FULL };
typedef sal_uInt32 sal_UCS4; // TODO: this should be moved to rtl typedef sal_uInt32 sal_UCS4; // TODO: this should be moved to rtl
enum OutDevSupportType { OutDevSupport_TransparentRect, OutDevSupport_B2DClip, OutDevSupport_B2DDraw }; enum OutDevSupportType { OutDevSupport_TransparentRect, OutDevSupport_B2DDraw };
struct ItalicMatrix struct ItalicMatrix
{ {
......
...@@ -1380,8 +1380,6 @@ bool SvpSalGraphics::supportsOperation(OutDevSupportType eType) const ...@@ -1380,8 +1380,6 @@ bool SvpSalGraphics::supportsOperation(OutDevSupportType eType) const
case OutDevSupport_TransparentRect: case OutDevSupport_TransparentRect:
case OutDevSupport_B2DDraw: case OutDevSupport_B2DDraw:
return true; return true;
case OutDevSupport_B2DClip: //what's this one ?
return false;
} }
return false; return false;
} }
......
...@@ -1891,7 +1891,6 @@ bool AquaSalGraphics::supportsOperation( OutDevSupportType eType ) const ...@@ -1891,7 +1891,6 @@ bool AquaSalGraphics::supportsOperation( OutDevSupportType eType ) const
switch( eType ) switch( eType )
{ {
case OutDevSupport_TransparentRect: case OutDevSupport_TransparentRect:
case OutDevSupport_B2DClip:
case OutDevSupport_B2DDraw: case OutDevSupport_B2DDraw:
bRet = true; bRet = true;
break; break;
......
...@@ -47,9 +47,6 @@ bool WinSalGraphics::supportsOperation( OutDevSupportType eType ) const ...@@ -47,9 +47,6 @@ bool WinSalGraphics::supportsOperation( OutDevSupportType eType ) const
case OutDevSupport_TransparentRect: case OutDevSupport_TransparentRect:
bRet = mbVirDev || mbWindow; bRet = mbVirDev || mbWindow;
break; break;
case OutDevSupport_B2DClip:
bRet = true;
break;
case OutDevSupport_B2DDraw: case OutDevSupport_B2DDraw:
bRet = bAllowForTest; bRet = bAllowForTest;
default: break; default: break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment