summaryrefslogtreecommitdiff
path: root/sfx2/inc/sfx2/msg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/inc/sfx2/msg.hxx')
-rw-r--r--sfx2/inc/sfx2/msg.hxx21
1 files changed, 12 insertions, 9 deletions
diff --git a/sfx2/inc/sfx2/msg.hxx b/sfx2/inc/sfx2/msg.hxx
index cb206ff5f5..80b7e1ace6 100644
--- a/sfx2/inc/sfx2/msg.hxx
+++ b/sfx2/inc/sfx2/msg.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -78,14 +79,14 @@ class SfxRequest;
class SfxItemSet;
#define SFX_EXEC_STUB( aShellClass, aExecMethod) \
- void __EXPORT SfxStub##aShellClass##aExecMethod( \
+ void SfxStub##aShellClass##aExecMethod( \
SfxShell *pShell, SfxRequest& rReq) \
{ \
(( aShellClass* ) pShell )->aExecMethod( rReq ); \
}
#define SFX_STATE_STUB( aShellClass, aStateMethod) \
- void __EXPORT SfxStub##aShellClass##aStateMethod( \
+ void SfxStub##aShellClass##aStateMethod( \
SfxShell *pShell, SfxItemSet& rSet) \
{ \
(( aShellClass* ) pShell )->aStateMethod( rSet ); \
@@ -112,7 +113,7 @@ enum SfxSlotKind
struct SfxTypeAttrib
{
USHORT nAID;
- const char __FAR_DATA* pName;
+ const char* pName;
};
struct SfxType
@@ -225,8 +226,8 @@ SFX_DECL_TYPE(18); // for SvxSearchItem
}
#define SFX_SLOTMAP_NONE(ShellClass) \
- static SfxFormalArgument __FAR_DATA a##ShellClass##Args_Impl[1]; \
- static SfxSlot __FAR_DATA a##ShellClass##Slots_Impl[] = \
+ static SfxFormalArgument a##ShellClass##Args_Impl[1]; \
+ static SfxSlot a##ShellClass##Slots_Impl[] = \
{ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }
#define SFX_ARGUMENT( ArgSlotId, ArgName, ArgTypeId ) \
@@ -239,7 +240,7 @@ class SfxPoolItem;
struct SfxFormalArgument
{
const SfxType* pType; // Typ des Parameters (SfxPoolItem Subklasse)
- const char __FAR_DATA* pName; // Name des Parameters
+ const char* pName; // Name des Parameters
USHORT nSlotId;// Slot-Id zur Identifikation des Parameters
const TypeId& Type() const
@@ -265,8 +266,8 @@ public:
SfxStateFunc fnState; // Funktion f"ur Status
const SfxType* pType; // SfxPoolItem-Typ (Status)
- const char __FAR_DATA* pName; // Name des Slots
- const char __FAR_DATA* pMethodName; // Name der Method falls anders
+ const char* pName; // Name des Slots
+ const char* pMethodName; // Name der Method falls anders
const SfxSlot* pLinkedSlot; // Master-Slot f"ur Enum-Werte
const SfxSlot* pNextSlot; // mit derselben Status-Methode
@@ -275,7 +276,7 @@ public:
USHORT nArgDefCount; // Anzahl der formalen Argumente
long nDisableFlags; // DisableFlags, die vorhanden sein
// m"ussen, damit der Slot enabled ist
- const char __FAR_DATA* pUnoName; // UnoName des Slots
+ const char* pUnoName; // UnoName des Slots
public:
@@ -347,3 +348,5 @@ inline USHORT SfxSlot::GetGroupId() const
}
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */