diff options
author | jp <jp@openoffice.org> | 2000-11-20 13:17:21 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2000-11-20 13:17:21 +0000 |
commit | 7e30aa52adc691c6b468ec4e15089e32a418b919 (patch) | |
tree | bc8d780ad87d48797ab3786faf61887be67ba50e /sw/source/filter/ww1 | |
parent | 7a59eb8852a43fcc5268d40b4d10110e7e52a1b4 (diff) |
ReadFilterFlags removed, use new class SwFilterOptions
Diffstat (limited to 'sw/source/filter/ww1')
-rw-r--r-- | sw/source/filter/ww1/w1par.cxx | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/sw/source/filter/ww1/w1par.cxx b/sw/source/filter/ww1/w1par.cxx index a21f47c61983..030b83721797 100644 --- a/sw/source/filter/ww1/w1par.cxx +++ b/sw/source/filter/ww1/w1par.cxx @@ -2,9 +2,9 @@ * * $RCSfile: w1par.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:14:58 $ + * last change: $Author: jp $ $Date: 2000-11-20 14:13:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -80,6 +80,9 @@ #ifndef _W1PAR_HXX #include <w1par.hxx> #endif +#ifndef _SWFLTOPT_HXX +#include <swfltopt.hxx> +#endif #ifndef _MDIEXP_HXX #include <mdiexp.hxx> // StatLine...() @@ -98,7 +101,11 @@ static ULONG WW1_Read_FieldIniFlags() { // USHORT i; - ULONG nFieldFlags = ReadFilterFlags( "WW1F" ); + static const sal_Char* aNames[ 1 ] = { "WinWord/WW1F" }; + sal_uInt32 aVal[ 1 ]; + SwFilterOptions aOpt( 1, aNames, aVal ); + ULONG nFieldFlags = aVal[ 0 ]; + if ( SwFltGetFlag( nFieldFlags, SwFltControlStack::HYPO ) ) { SwFltSetFlag( nFieldFlags, SwFltControlStack::BOOK_TO_VAR_REF ); @@ -188,11 +195,14 @@ Ww1Shell::Ww1Shell( SwDoc& rD, SwPaM& rPam, BOOL bNew, ULONG nFieldFlags) Source Code Control System - Header - $Header: /zpool/svn/migration/cvs_rep_09_09_08/code/sw/source/filter/ww1/w1par.cxx,v 1.1.1.1 2000-09-18 17:14:58 hr Exp $ + $Header: /zpool/svn/migration/cvs_rep_09_09_08/code/sw/source/filter/ww1/w1par.cxx,v 1.2 2000-11-20 14:13:10 jp Exp $ Source Code Control System - Update $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 17:14:58 hr + initial import + Revision 1.20 2000/09/18 16:04:57 willem.vandorp OpenOffice header added. |