summaryrefslogtreecommitdiff
path: root/filter/source/svg/units.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/svg/units.cxx')
-rw-r--r--filter/source/svg/units.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/svg/units.cxx b/filter/source/svg/units.cxx
index 84b82e6e90d0..f602971a3a27 100644
--- a/filter/source/svg/units.cxx
+++ b/filter/source/svg/units.cxx
@@ -101,7 +101,7 @@ double convLength( const OUString& sValue, const State& rState, char dir )
// Begin grammar
(
//parse font-size keywords (ie: xx-large, medium )
- ( +(alpha_p) >> !(str_p("-") >> +alpha_p) )[assign_a(sVal)]
+ ( +alpha_p >> !(str_p("-") >> +alpha_p) )[assign_a(sVal)]
>> str_p("")[assign_a(eUnit,SVG_LENGTH_FONT_SIZE)] |
//take the first part and ignore the units
( +(anychar_p -