From ce219689caafb5e28e96437bdab18034a5015409 Mon Sep 17 00:00:00 2001 From: Harri Pitkänen Date: Sun, 1 Apr 2012 09:27:11 +0300 Subject: Remove unused HTMLMODE_FIRSTLINE HTMLMODE_FIRSTLINE was disabled in all HTML export modes. It seems to have been used to add first line indent for paragraphs in Netscape version 3 but all currently available export modes use CSS for that. --- cui/source/tabpages/paragrph.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'cui') diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx index a2334b5de2ec..24ebdeb8f464 100644 --- a/cui/source/tabpages/paragrph.cxx +++ b/cui/source/tabpages/paragrph.cxx @@ -611,11 +611,8 @@ void SvxStdParagraphTabPage::Reset( const SfxItemSet& rSet ) aRightIndent.Disable(); aTopDist.Disable(); //HTML3.2 und NS 3.0 aBottomDist.Disable(); - if(!(nHtmlMode & HTMLMODE_FIRSTLINE)) //NS 3.0 - { - aFLineIndent.Disable(); - aFLineLabel.Disable(); - } + aFLineIndent.Disable(); + aFLineLabel.Disable(); } } @@ -1282,7 +1279,7 @@ void SvxParaAlignTabPage::Reset( const SfxItemSet& rSet ) aLastLineLB.Hide(); aLastLineFT.Hide(); aExpandCB.Hide(); - if(!(nHtmlMode & (HTMLMODE_FULL_STYLES|HTMLMODE_FIRSTLINE)) ) + if(!(nHtmlMode & HTMLMODE_FULL_STYLES) ) aJustify.Disable(); aSnapToGridCB.Show(sal_False); } -- cgit