summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells/txtattr.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-22 07:48:52 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-22 07:48:52 +0000
commit752f72294a1194efc138da0a8c4c11389e115542 (patch)
tree7a634bdf50e185755356dd7f88221dab24acf2c0 /sw/source/ui/shells/txtattr.cxx
parentf05295d265460a3dad5b25c5b03ae023302cdeeb (diff)
INTEGRATION: CWS os9 (1.13.8); FILE MERGED
2003/05/07 09:14:36 os 1.13.8.2: RESYNC: (1.13-1.14); FILE MERGED 2003/05/06 13:53:54 os 1.13.8.1: #109029# added SvtCTLOptions listening
Diffstat (limited to 'sw/source/ui/shells/txtattr.cxx')
-rw-r--r--sw/source/ui/shells/txtattr.cxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/sw/source/ui/shells/txtattr.cxx b/sw/source/ui/shells/txtattr.cxx
index 242c220336..1155fec6cf 100644
--- a/sw/source/ui/shells/txtattr.cxx
+++ b/sw/source/ui/shells/txtattr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtattr.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: vg $ $Date: 2003-04-17 15:44:45 $
+ * last change: $Author: vg $ $Date: 2003-05-22 08:48:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -78,8 +78,11 @@
#ifndef _SFXITEMITER_HXX
#include <svtools/itemiter.hxx>
#endif
-#ifndef _SVTOOLS_LANGUAGEOPTIONS_HXX
-#include <svtools/languageoptions.hxx>
+#ifndef _SVTOOLS_CTLOPTIONS_HXX
+#include <svtools/ctloptions.hxx>
+#endif
+#ifndef _SWMODULE_HXX
+#include <swmodule.hxx>
#endif
#ifndef _SFX_BINDINGS_HXX //autogen
#include <sfx2/bindings.hxx>
@@ -796,7 +799,7 @@ void SwTextShell::GetAttrState(SfxItemSet &rSet)
case SID_ATTR_PARA_LEFT_TO_RIGHT :
case SID_ATTR_PARA_RIGHT_TO_LEFT :
{
- if ( !SvtLanguageOptions().IsCTLFontEnabled() )
+ if ( !SW_MOD()->GetCTLOptions().IsCTLFontEnabled() )
{
rSet.DisableItem( nSlot );
nSlot = 0;