summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-05-10 15:54:49 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-05-10 15:54:49 +0000
commit362ae4ff0fc4235c7461c048906c24e9869f49f3 (patch)
tree390e4d19ebe46a00f493172f1bec29c39a0a5d52 /svx
parent35cee5287a1276e2284582c6efebc824f5e1fde2 (diff)
INTEGRATION: CWS dialogdiet01 (1.14.620); FILE MERGED
2004/03/26 04:31:12 mwu 1.14.620.2: sw model converted. 20040326 2004/02/27 06:09:20 mwu 1.14.620.1: dialogdiet01 2004_02_27
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/tabstpge.cxx17
1 files changed, 13 insertions, 4 deletions
diff --git a/svx/source/dialog/tabstpge.cxx b/svx/source/dialog/tabstpge.cxx
index 51590da6e1df..c94f04ad80c5 100644
--- a/svx/source/dialog/tabstpge.cxx
+++ b/svx/source/dialog/tabstpge.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tabstpge.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: cl $ $Date: 2002-12-02 13:18:19 $
+ * last change: $Author: hr $ $Date: 2004-05-10 16:54:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -100,6 +100,9 @@
#ifndef _UNOTOOLS_PROCESSFACTORY_HXX
#include <comphelper/processfactory.hxx>
#endif
+#include <sfx2/request.hxx> //CHINA001
+#include <svx/svxids.hrc> //add CHINA001
+#include <svtools/intitem.hxx> //add CHINA001
// class TabWin_Impl -----------------------------------------------------
@@ -785,5 +788,11 @@ IMPL_LINK( SvxTabulatorTabPage, ModifyHdl_Impl, MetricBox *, EMPTYARG )
aDelBtn.Disable();
return 0;
}
-
-
+//add CHINA001 Begin
+void SvxTabulatorTabPage::PageCreated(SfxAllItemSet aSet)
+{
+ SFX_ITEMSET_ARG (&aSet,pControlItem,SfxUInt16Item,SID_SVXTABULATORTABPAGE_CONTROLFLAGS,sal_False);
+ if (pControlItem)
+ DisableControls(pControlItem->GetValue());
+}
+//end of CHINA001