#100169# text direction only visible if CTL is supported

This commit is contained in:
Oliver Specht 2002-06-19 13:05:07 +00:00
parent 39514a8f0b
commit af8ca7b47d

View file

@ -2,9 +2,9 @@
* *
* $RCSfile: column.cxx,v $ * $RCSfile: column.cxx,v $
* *
* $Revision: 1.13 $ * $Revision: 1.14 $
* *
* last change: $Author: os $ $Date: 2002-06-19 13:59:00 $ * last change: $Author: os $ $Date: 2002-06-19 14:05:07 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@ -83,6 +83,9 @@
#ifndef _SVX_FRMDIRITEM_HXX #ifndef _SVX_FRMDIRITEM_HXX
#include "svx/frmdiritem.hxx" #include "svx/frmdiritem.hxx"
#endif #endif
#ifndef _SVTOOLS_LANGUAGEOPTIONS_HXX
#include <svtools/languageoptions.hxx>
#endif
#include "globals.hrc" #include "globals.hrc"
#include "swtypes.hxx" #include "swtypes.hxx"
@ -1363,6 +1366,10 @@ void SwColumnPage::SetFrmMode(BOOL bMod)
---------------------------------------------------------------------------*/ ---------------------------------------------------------------------------*/
void SwColumnPage::SetInSection(BOOL bSet) void SwColumnPage::SetInSection(BOOL bSet)
{ {
SvtLanguageOptions aLangOptions;
if(!aLangOptions.IsCTLFontEnabled())
return;
aVertFL.Show(bSet); aVertFL.Show(bSet);
aPropertiesFL.Show(bSet); aPropertiesFL.Show(bSet);
aTextDirectionFT.Show(bSet); aTextDirectionFT.Show(bSet);