summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/tplcitem.cxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-07 17:14:47 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-07 17:14:47 +0100
commitdcd8e4664d9a284c24ceb0360cab0606b22cf86d (patch)
tree19c2817590445d01056d62e793f68892eb1b23b4 /sfx2/source/dialog/tplcitem.cxx
parent71747dd58636847fdfda6b5e4029a78d5e0cccfb (diff)
removetooltypes: #i112600# remove tooltypes
Diffstat (limited to 'sfx2/source/dialog/tplcitem.cxx')
-rw-r--r--sfx2/source/dialog/tplcitem.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/dialog/tplcitem.cxx b/sfx2/source/dialog/tplcitem.cxx
index 0e03106b0d5e..72fff7e0aa54 100644
--- a/sfx2/source/dialog/tplcitem.cxx
+++ b/sfx2/source/dialog/tplcitem.cxx
@@ -47,7 +47,7 @@
// Konstruktor
SfxTemplateControllerItem::SfxTemplateControllerItem(
- USHORT nSlotId, // ID
+ sal_uInt16 nSlotId, // ID
SfxCommonTemplateDialog_Impl &rDlg, // Controller-Instanz, dem dieses Item zugeordnet ist.
SfxBindings &rBindings):
SfxControllerItem(nSlotId, rBindings),
@@ -68,7 +68,7 @@ SfxTemplateControllerItem::~SfxTemplateControllerItem()
// Benachrichtigung "uber Status"anderung; wird an den
// im Konstruktor "ubergebenen Controller propagiert
-void SfxTemplateControllerItem::StateChanged( USHORT nSID, SfxItemState eState,
+void SfxTemplateControllerItem::StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pItem )
{
switch(nSID)
@@ -79,7 +79,7 @@ void SfxTemplateControllerItem::StateChanged( USHORT nSID, SfxItemState eState,
case SID_STYLE_FAMILY4:
case SID_STYLE_FAMILY5:
{
- FASTBOOL bAvailable = SFX_ITEM_AVAILABLE == eState;
+ int bAvailable = SFX_ITEM_AVAILABLE == eState;
if ( !bAvailable )
rTemplateDlg.SetFamilyState(GetId(), 0);
else {
@@ -88,9 +88,9 @@ void SfxTemplateControllerItem::StateChanged( USHORT nSID, SfxItemState eState,
DBG_ASSERT(pStateItem != 0, "SfxTemplateItem erwartet");
rTemplateDlg.SetFamilyState( GetId(), pStateItem );
}
- BOOL bDisable = eState == SFX_ITEM_DISABLED;
+ sal_Bool bDisable = eState == SFX_ITEM_DISABLED;
// Familie Disablen
- USHORT nFamily = 0;
+ sal_uInt16 nFamily = 0;
switch( GetId())
{
case SID_STYLE_FAMILY1:
@@ -175,7 +175,7 @@ IMPL_STATIC_LINK(SfxTemplateControllerItem, SetWaterCanStateHdl_Impl,
{
case 0 :
case 1 :
- pState = new SfxBoolItem(SID_STYLE_WATERCAN, pThis->nWaterCanState ? TRUE : FALSE);
+ pState = new SfxBoolItem(SID_STYLE_WATERCAN, pThis->nWaterCanState ? sal_True : sal_False);
break;
}
pThis->rTemplateDlg.SetWaterCanState(pState);