summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-12 10:08:43 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-02-12 11:13:25 +0000
commitb16f90f33143e6c8c9e8e2fa9cc55797b5bbff12 (patch)
tree6e2049b522dc47ffd7cac2c9b0ef5a27023f7ede /svtools
parent501a0142ec67460e60b23cae8127b3c8aa5874e9 (diff)
remove code in dead HTML_BEHAVIOUR #define
git grep found nowhere in the codebase that this define is being set. Change-Id: I63e18e8f47b5e58ff96b075ddb4bc9a36e1dc80e Reviewed-on: https://gerrit.libreoffice.org/8002 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/svhtml/parhtml.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index b892cc4f9d41..5b45f94f588b 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -1600,17 +1600,10 @@ int HTMLParser::FilterPRE( int nToken )
{
switch( nToken )
{
-#ifdef HTML_BEHAVIOUR
- // These become LFs according to the definition
- case HTML_PARABREAK_ON:
- case HTML_LINEBREAK:
- nToken = HTML_NEWPARA;
-#else
// in Netscape they only have impact in not empty paragraphs
case HTML_PARABREAK_ON:
nToken = HTML_LINEBREAK;
case HTML_LINEBREAK:
-#endif
case HTML_NEWPARA:
nPre_LinePos = 0;
if( bPre_IgnoreNewPara )