diff options
author | jp <jp@openoffice.org> | 2000-11-20 08:07:00 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2000-11-20 08:07:00 +0000 |
commit | 97729079cd2ac8aab0cea36b534837bd38514a34 (patch) | |
tree | 9f8329596bd7a0ccc4f80f8542903bd4baf55ae1 /sw/source/ui/config/viewopt.cxx | |
parent | 1e6998410a5c68526701839e793d7985790683b5 (diff) |
should change: use LocaleDataWrapper
Diffstat (limited to 'sw/source/ui/config/viewopt.cxx')
-rw-r--r-- | sw/source/ui/config/viewopt.cxx | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/sw/source/ui/config/viewopt.cxx b/sw/source/ui/config/viewopt.cxx index 3d8123a8423e..d39418798e0a 100644 --- a/sw/source/ui/config/viewopt.cxx +++ b/sw/source/ui/config/viewopt.cxx @@ -2,9 +2,9 @@ * * $RCSfile: viewopt.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:14:33 $ + * last change: $Author: jp $ $Date: 2000-11-20 09:07:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -83,12 +83,25 @@ #ifndef _MySVXACORR_HXX //autogen #include <svx/svxacorr.hxx> #endif +#ifndef _UNOTOOLS_LOCALEDATAWRAPPER_HXX +#include <unotools/localedatawrapper.hxx> +#endif -#include "swtypes.hxx" -#include "viewopt.hxx" -#include "wdocsh.hxx" -#include "swrect.hxx" -#include "crstate.hxx" +#ifndef _SWTYPES_HXX +#include <swtypes.hxx> +#endif +#ifndef _VIEWOPT_HXX +#include <viewopt.hxx> +#endif +#ifndef _WDOCSH_HXX +#include <wdocsh.hxx> +#endif +#ifndef _SWRECT_HXX +#include <swrect.hxx> +#endif +#ifndef _CRSTATE_HXX +#include <crstate.hxx> +#endif #ifndef PRODUCT @@ -444,7 +457,7 @@ SwViewOption::SwViewOption() : nUIOptions = VIEWOPT_2_MODIFIED | VIEWOPT_2_EXECHYPERLINKS; MeasurementSystem eSys = Application::GetAppInternational().GetMeasurementSystem(); - if(MEASURE_METRIC != eSys) + if(MEASURE_METRIC != GetAppLocaleData().getMeasurementSystemEnum()) aSnapSize.Width() = aSnapSize.Height() = 720; // 1/2" else aSnapSize.Width() = aSnapSize.Height() = 567; // 1 cm @@ -611,6 +624,9 @@ USHORT GetHtmlMode(const SwDocShell* pShell) /************************************************************************ $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 17:14:33 hr + initial import + Revision 1.57 2000/09/18 16:05:18 willem.vandorp OpenOffice header added. |