summaryrefslogtreecommitdiffstats
path: root/filter/source/flash/swfwriter1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/flash/swfwriter1.cxx')
-rw-r--r--filter/source/flash/swfwriter1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx
index 03042a9c86a2..f32eb9538f53 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -1099,7 +1099,7 @@ bool Writer::Impl_writeStroke( SvtGraphicStroke const & rStroke )
SvtGraphicStroke::DashArray aDashArray;
rStroke.getDashArray( aDashArray );
- if( 0 != aDashArray.size() )
+ if( !aDashArray.empty() )
return false; // todo: implement dashes
Color aColor( mpVDev->GetLineColor() );