summaryrefslogtreecommitdiff
path: root/basic/source/app/dataedit.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/app/dataedit.hxx')
-rw-r--r--basic/source/app/dataedit.hxx62
1 files changed, 31 insertions, 31 deletions
diff --git a/basic/source/app/dataedit.hxx b/basic/source/app/dataedit.hxx
index 7f588b8a2619..bf0761665ff8 100644
--- a/basic/source/app/dataedit.hxx
+++ b/basic/source/app/dataedit.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,37 +39,37 @@ class Font;
// Find, Load and Save must be implemented,
// the others must exist in MemberType
-#define DATA_FUNC_DEF( MemberName, MemberType ) \
-public: \
- MemberType MemberName; \
- BOOL Find( const String& rStr ); \
- BOOL Load( const String& rStr ); \
- BOOL Save( const String& rStr ); \
+#define DATA_FUNC_DEF( MemberName, MemberType ) \
+public: \
+ MemberType MemberName; \
+ BOOL Find( const String& rStr ); \
+ BOOL Load( const String& rStr ); \
+ BOOL Save( const String& rStr ); \
\
- void GrabFocus(){ MemberName.GrabFocus(); } \
- void Show(){ MemberName.Show(); } \
+ void GrabFocus(){ MemberName.GrabFocus(); } \
+ void Show(){ MemberName.Show(); } \
void SetPosPixel( const Point& rNewPos ){ MemberName.SetPosPixel(rNewPos); }\
- void SetSizePixel( const Size& rNewSize ){ MemberName.SetSizePixel(rNewSize); } \
- Size GetSizePixel(){ return MemberName.GetSizePixel(); } \
- Point GetPosPixel(){ return MemberName.GetPosPixel(); } \
- void Update(){ MemberName.Update(); } \
- void SetFont( const Font& rNewFont ){ MemberName.SetFont(rNewFont); } \
+ void SetSizePixel( const Size& rNewSize ){ MemberName.SetSizePixel(rNewSize); } \
+ Size GetSizePixel(){ return MemberName.GetSizePixel(); } \
+ Point GetPosPixel(){ return MemberName.GetPosPixel(); } \
+ void Update(){ MemberName.Update(); } \
+ void SetFont( const Font& rNewFont ){ MemberName.SetFont(rNewFont); } \
\
- void Delete(); \
- void Cut(); \
- void Copy(); \
- void Paste(); \
- void Undo(); \
- void Redo(); \
- String GetText() const; \
- void SetText( const String& rStr ); \
- BOOL HasText() const; \
- String GetSelected(); \
- TextSelection GetSelection() const; \
- void SetSelection( const TextSelection& rSelection ); \
- USHORT GetLineNr() const; \
- void ReplaceSelected( const String& rStr ); \
- BOOL IsModified(); \
+ void Delete(); \
+ void Cut(); \
+ void Copy(); \
+ void Paste(); \
+ void Undo(); \
+ void Redo(); \
+ String GetText() const; \
+ void SetText( const String& rStr ); \
+ BOOL HasText() const; \
+ String GetSelected(); \
+ TextSelection GetSelection() const; \
+ void SetSelection( const TextSelection& rSelection ); \
+ USHORT GetLineNr() const; \
+ void ReplaceSelected( const String& rStr ); \
+ BOOL IsModified(); \
void SetModifyHdl( Link l );
@@ -109,8 +109,8 @@ public:
virtual void SetFont( const Font& rNewFont )=0;
virtual void BuildKontextMenu( PopupMenu *&pMenu )
- {
- (void) pMenu; /* avoid warning about unused parameter */
+ {
+ (void) pMenu; /* avoid warning about unused parameter */
}
};