diff options
Diffstat (limited to 'sw/source/filter/ww8/wrtw8nds.cxx')
-rw-r--r-- | sw/source/filter/ww8/wrtw8nds.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index 0ce54ec5a03a..0f95e9cb27bc 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -773,22 +773,22 @@ void WW8AttributeOutput::StartRuby( const SwTextNode& rNode, sal_Int32 /*nPos*/, sal_Char cDirective = 0; switch ( rRuby.GetAdjustment() ) { - case 0: + case css::text::RubyAdjust_LEFT: nJC = 3; cDirective = 'l'; break; - case 1: + case css::text::RubyAdjust_CENTER: //defaults to 0 break; - case 2: + case css::text::RubyAdjust_RIGHT: nJC = 4; cDirective = 'r'; break; - case 3: + case css::text::RubyAdjust_BLOCK: nJC = 1; cDirective = 'd'; break; - case 4: + case css::text::RubyAdjust_INDENT_BLOCK: nJC = 2; cDirective = 'd'; break; |