diff options
Diffstat (limited to 'sfx2/source/bastyp/frmhtml.cxx')
-rw-r--r-- | sfx2/source/bastyp/frmhtml.cxx | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/sfx2/source/bastyp/frmhtml.cxx b/sfx2/source/bastyp/frmhtml.cxx index 1ea0c00aeb..ac1a4000d6 100644 --- a/sfx2/source/bastyp/frmhtml.cxx +++ b/sfx2/source/bastyp/frmhtml.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -50,14 +51,14 @@ #define SFX_HTMLFRMSIZE_REL 0x0001 #define SFX_HTMLFRMSIZE_PERCENT 0x0002 -static sal_Char __READONLY_DATA sHTML_SC_yes[] = "YES"; -static sal_Char __READONLY_DATA sHTML_SC_no[] = "NO"; -static sal_Char __READONLY_DATA sHTML_SC_auto[] = "AUTO"; +static sal_Char const sHTML_SC_yes[] = "YES"; +static sal_Char const sHTML_SC_no[] = "NO"; +static sal_Char const sHTML_SC_auto[] = "AUTO"; #define HTML_O_READONLY "READONLY" #define HTML_O_EDIT "EDIT" -static HTMLOptionEnum __READONLY_DATA aScollingTable[] = +static HTMLOptionEnum const aScollingTable[] = { { sHTML_SC_yes, ScrollingYes }, { sHTML_SC_no, ScrollingNo }, @@ -67,14 +68,14 @@ static HTMLOptionEnum __READONLY_DATA aScollingTable[] = void SfxFrameHTMLParser::ParseFrameOptions( SfxFrameDescriptor *pFrame, const HTMLOptions *pOptions, const String& rBaseURL ) { - // die Optionen holen und setzen + // Get and set the options Size aMargin( pFrame->GetMargin() ); - // MIB 15.7.97: Netscape scheint marginwidth auf 0 zu setzen, sobald - // marginheight gesetzt wird und umgekehrt. Machen wir jetzt wegen - // bug #41665# auch so. - // Netscape l"a\st aber ein direktes Setzen auf 0 nicht zu, IE4.0 schon. - // Den Bug machen wir nicht mit! + // MIB 07/15/1997: Netscape seems to set marginwidth to 0 as soon as + // marginheight is set, and vice versa. Due to bug #41665# let us also + // do like that for now. Netscape does however not aallow for a direct + // seting to 0, while IE4.0 does + // We will not mimic that bug ! BOOL bMarginWidth = FALSE, bMarginHeight = FALSE; USHORT nArrLen = pOptions->Count(); @@ -161,3 +162,5 @@ void SfxFrameHTMLParser::ParseFrameOptions( SfxFrameDescriptor *pFrame, const HT pFrame->SetMargin( aMargin ); } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |