Changeset 193:d0bbd290530f
- Timestamp:
- 03/17/08 16:47:05
(6 months ago)
- Author:
- Frank Benoit <benoit@tionex.de>
- branch:
- default
- Message:
Fix import conflict
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r48 |
r193 |
|
| 22 | 22 | import dwt.layout.FillData; |
|---|
| 23 | 23 | |
|---|
| 24 | | import tango.text.Util; |
|---|
| 25 | 24 | import tango.util.Convert; |
|---|
| 26 | 25 | import dwt.dwthelper.utils; |
|---|
| … | … | |
| 183 | 182 | char[] getName () { |
|---|
| 184 | 183 | char[] string = this.classinfo.name; |
|---|
| 185 | | int index = locatePrior( string, '.'); |
|---|
| 186 | | if (index is string.length ) return string; |
|---|
| | 184 | int index = string.lastIndexOf( '.'); |
|---|
| | 185 | if (index is -1 ) return string; |
|---|
| 187 | 186 | return string[ index + 1 .. string.length ]; |
|---|
| 188 | 187 | } |
|---|
| … | … | |
| 240 | 239 | if (marginHeight !is 0) string ~= "marginHeight="~to!(char[])(marginHeight)~" "; |
|---|
| 241 | 240 | if (spacing !is 0) string ~= "spacing="~to!(char[])(spacing)~" "; |
|---|
| 242 | | string = trim( string ); |
|---|
| | 241 | string = string.trim(); |
|---|
| 243 | 242 | string ~= "}"; |
|---|
| 244 | 243 | return string; |
|---|