Kaydet (Commit) 56396bd6 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin pointless __cplusplus ifdefs

Change-Id: I82974eb68e6daf1c6781e2133fd22d7e4e62de82
üst 4c672154
...@@ -23,9 +23,7 @@ ...@@ -23,9 +23,7 @@
#include <tools/solar.h> #include <tools/solar.h>
#include <vcl/dllapi.h> #include <vcl/dllapi.h>
#ifdef __cplusplus
#include <vcl/ptrstyle.hxx> #include <vcl/ptrstyle.hxx>
#endif // __cplusplus
#include <salwtype.hxx> #include <salwtype.hxx>
#include <salgeom.hxx> #include <salgeom.hxx>
...@@ -96,8 +94,6 @@ typedef sal_uInt64 SalExtStyle; ...@@ -96,8 +94,6 @@ typedef sal_uInt64 SalExtStyle;
#define SAL_FRAME_POSSIZE_WIDTH ((sal_uInt16)0x0004) #define SAL_FRAME_POSSIZE_WIDTH ((sal_uInt16)0x0004)
#define SAL_FRAME_POSSIZE_HEIGHT ((sal_uInt16)0x0008) #define SAL_FRAME_POSSIZE_HEIGHT ((sal_uInt16)0x0008)
#ifdef __cplusplus
using ::rtl::OUString; using ::rtl::OUString;
using ::rtl::OString; using ::rtl::OString;
...@@ -248,8 +244,6 @@ public: // public for Sal Implementation ...@@ -248,8 +244,6 @@ public: // public for Sal Implementation
{ return m_pProc ? m_pProc( m_pWindow, const_cast<SalFrame*>(this), nEvent, pEvent ) : 0; } { return m_pProc ? m_pProc( m_pWindow, const_cast<SalFrame*>(this), nEvent, pEvent ) : 0; }
}; };
#endif // __cplusplus
#endif // _SV_SALFRAME_HXX #endif // _SV_SALFRAME_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -187,8 +187,6 @@ struct SalMouseActivateEvent ...@@ -187,8 +187,6 @@ struct SalMouseActivateEvent
long mnY; // Y-Position (Pixel, TopLeft-Output) long mnY; // Y-Position (Pixel, TopLeft-Output)
}; };
#ifdef __cplusplus
// EXTTEXTINPUT // EXTTEXTINPUT
struct SalExtTextInputEvent struct SalExtTextInputEvent
{ {
...@@ -201,8 +199,6 @@ struct SalExtTextInputEvent ...@@ -201,8 +199,6 @@ struct SalExtTextInputEvent
sal_Bool mbOnlyCursor; // sal_True: Only Cursor-Position has been changed sal_Bool mbOnlyCursor; // sal_True: Only Cursor-Position has been changed
}; };
#endif // __cplusplus
// EXTTEXTINPUTPOS // EXTTEXTINPUTPOS
struct SalExtTextInputPosEvent struct SalExtTextInputPosEvent
{ {
...@@ -214,18 +210,12 @@ struct SalExtTextInputPosEvent ...@@ -214,18 +210,12 @@ struct SalExtTextInputPosEvent
bool mbVertical; // true if in vertical mode bool mbVertical; // true if in vertical mode
}; };
#ifdef __cplusplus
// INPUTCONTEXTCHANGE // INPUTCONTEXTCHANGE
struct SalInputContextChangeEvent struct SalInputContextChangeEvent
{ {
LanguageType meLanguage; // new language LanguageType meLanguage; // new language
}; };
#endif // __cplusplus
#ifdef __cplusplus
// SURROUNDINGTEXTREQUEST // SURROUNDINGTEXTREQUEST
struct SalSurroundingTextRequestEvent struct SalSurroundingTextRequestEvent
{ {
...@@ -234,10 +224,6 @@ struct SalSurroundingTextRequestEvent ...@@ -234,10 +224,6 @@ struct SalSurroundingTextRequestEvent
sal_uLong mnEnd; // The end index of selected range sal_uLong mnEnd; // The end index of selected range
}; };
#endif // __cplusplus
#ifdef __cplusplus
// SURROUNDINGTEXTSELECTIONCHANGE // SURROUNDINGTEXTSELECTIONCHANGE
struct SalSurroundingTextSelectionChangeEvent struct SalSurroundingTextSelectionChangeEvent
{ {
...@@ -245,8 +231,6 @@ struct SalSurroundingTextSelectionChangeEvent ...@@ -245,8 +231,6 @@ struct SalSurroundingTextSelectionChangeEvent
sal_uLong mnEnd; // The end index of selected range sal_uLong mnEnd; // The end index of selected range
}; };
#endif // __cplusplus
// ------------------ // ------------------
// - SalFrame-Types - // - SalFrame-Types -
// ------------------ // ------------------
...@@ -318,8 +302,6 @@ struct SalFrameState ...@@ -318,8 +302,6 @@ struct SalFrameState
#define SAL_INPUTCONTEXT_EXTTEXTINPUT_OFF ((sal_uLong)0x00000008) #define SAL_INPUTCONTEXT_EXTTEXTINPUT_OFF ((sal_uLong)0x00000008)
#define SAL_INPUTCONTEXT_CHANGELANGUAGE ((sal_uLong)0x00000010) #define SAL_INPUTCONTEXT_CHANGELANGUAGE ((sal_uLong)0x00000010)
#ifdef __cplusplus
struct SalInputContext struct SalInputContext
{ {
FontSelectPattern* mpFont; FontSelectPattern* mpFont;
...@@ -327,8 +309,6 @@ struct SalInputContext ...@@ -327,8 +309,6 @@ struct SalInputContext
sal_uLong mnOptions; sal_uLong mnOptions;
}; };
#endif // __cplusplus
typedef void (*SALTIMERPROC)(); typedef void (*SALTIMERPROC)();
#endif // _SV_SALWTYPE_HXX #endif // _SV_SALWTYPE_HXX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment