diff options
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/xforms/convert.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/convert.cxx b/forms/source/xforms/convert.cxx index f0db80bdaacc..4fa42509be2e 100644 --- a/forms/source/xforms/convert.cxx +++ b/forms/source/xforms/convert.cxx @@ -388,9 +388,9 @@ namespace if ( sFractional.getLength() > 2 ) // our precision is HundrethSeconds - it's all a css.util.Time can hold sFractional = sFractional.copy( 0, 2 ); - sal_Int32 nFractional = 0; if ( sFractional.getLength() ) { + sal_Int32 nFractional = 0; if ( StringTokenizer( sFractional, 0 ).getNextToken().toInt32( nFractional ) ) { aTime.HundredthSeconds = (sal_uInt16)nFractional; |