diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-05-11 20:59:39 +0200 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-05-11 20:59:39 +0200 |
commit | 4b455165b645acf62a053b61737598214f5af785 (patch) | |
tree | db7791f9b7011f25b11d69d0ac9f77c3b7337710 /canvas/source/directx/dx_impltools.cxx | |
parent | 1dffd5dc985c6bce998c6dbad58d39b83dbc0d45 (diff) | |
parent | c5934ada09feec288519cbdfbe1c0c988a2fceec (diff) |
rebased to DEV300_m77.
Diffstat (limited to 'canvas/source/directx/dx_impltools.cxx')
-rwxr-xr-x | canvas/source/directx/dx_impltools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/directx/dx_impltools.cxx b/canvas/source/directx/dx_impltools.cxx index 30bd11a2271a..c298fb9238f9 100755 --- a/canvas/source/directx/dx_impltools.cxx +++ b/canvas/source/directx/dx_impltools.cxx @@ -196,7 +196,7 @@ namespace dxcanvas { const sal_uInt32 nPoints( rPoly.count() ); - if( !nPoints ) + if( nPoints < 2 ) return; rOutput->StartFigure(); |