comparison dwtx/jface/text/AbstractInformationControlManager.d @ 192:c3583c6ec027

Added missing default cases for switch statements
author Frank Benoit <benoit@tionex.de>
date Mon, 03 Nov 2008 22:52:26 +0100
parents 1a5b8f8129df
children
comparison
equal deleted inserted replaced
191:1ef729510ed6 192:c3583c6ec027
1020 yShift= -controlSize.y - fMarginY; 1020 yShift= -controlSize.y - fMarginY;
1021 break; 1021 break;
1022 case DWT.LEFT: 1022 case DWT.LEFT:
1023 xShift= -controlSize.x - fMarginX; 1023 xShift= -controlSize.x - fMarginX;
1024 break; 1024 break;
1025 default:
1025 } 1026 }
1026 1027
1027 bool isRTL= fSubjectControl !is null && (fSubjectControl.getStyle() & DWT.RIGHT_TO_LEFT) !is 0; 1028 bool isRTL= fSubjectControl !is null && (fSubjectControl.getStyle() & DWT.RIGHT_TO_LEFT) !is 0;
1028 if (isRTL) 1029 if (isRTL)
1029 xShift += controlSize.x; 1030 xShift += controlSize.x;