r=waterson, sr=attinasi
Remove mDefaultDirection stuff - IBMBIDI does this correctly
This commit is contained in:
mkaply%us.ibm.com 2001-05-20 22:44:05 +00:00
Родитель a52d1f1dbb
Коммит a817d2f3f3
2 изменённых файлов: 2 добавлений и 26 удалений

Просмотреть файл

@ -20,18 +20,6 @@
* Contributor(s):
* Pierre Phaneuf <pp@ludusdesign.com>
* IBM Corporation
*
* This Original Code has been modified by IBM Corporation.
* Modifications made by IBM described herein are
* Copyright (c) International Business Machines
* Corporation, 2000
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 03/20/2000 IBM Corp. Bidi - ability to change the default direction of the browser
*
*/
#include "nsIStyleContext.h"
@ -1208,7 +1196,7 @@ void StyleDisplayBlob::ResetFrom(const nsStyleStruct* aParent, nsIPresContext* a
mDirection = NS_STYLE_DIRECTION_LTR;
}
#else // ifdef IBMBIDI
aPresContext->GetDefaultDirection(&mDirection);
mDirection = NS_STYLE_DIRECTION_LTR;
#endif // IBMBIDI
aPresContext->GetLanguage(getter_AddRefs(mLanguage));
mVisible = NS_STYLE_VISIBILITY_VISIBLE;

Просмотреть файл

@ -20,18 +20,6 @@
* Contributor(s):
* Pierre Phaneuf <pp@ludusdesign.com>
* IBM Corporation
*
* This Original Code has been modified by IBM Corporation.
* Modifications made by IBM described herein are
* Copyright (c) International Business Machines
* Corporation, 2000
*
* Modifications to Mozilla code or documentation
* identified per MPL Section 3.3
*
* Date Modified by Description of modification
* 03/20/2000 IBM Corp. Bidi - ability to change the default direction of the browser
*
*/
#include "nsIStyleContext.h"
@ -1208,7 +1196,7 @@ void StyleDisplayBlob::ResetFrom(const nsStyleStruct* aParent, nsIPresContext* a
mDirection = NS_STYLE_DIRECTION_LTR;
}
#else // ifdef IBMBIDI
aPresContext->GetDefaultDirection(&mDirection);
mDirection = NS_STYLE_DIRECTION_LTR;
#endif // IBMBIDI
aPresContext->GetLanguage(getter_AddRefs(mLanguage));
mVisible = NS_STYLE_VISIBILITY_VISIBLE;