diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-17 15:06:54 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-17 15:06:54 +0100 |
commit | 9e38a5abcc96c0452a299d28c66c2dc25cb234a8 (patch) | |
tree | 06cd2929749891bc334561070a19ea3c62d4cabb /sw/source/ui/inc/srcedtw.hxx | |
parent | 7302c3fd6cc445f83da7182e3211db9befa58842 (diff) |
removetooltypes01: #i112600# Remove tools types from sw
Diffstat (limited to 'sw/source/ui/inc/srcedtw.hxx')
-rw-r--r-- | sw/source/ui/inc/srcedtw.hxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sw/source/ui/inc/srcedtw.hxx b/sw/source/ui/inc/srcedtw.hxx index 4df24cefc3..a405469ad1 100644 --- a/sw/source/ui/inc/srcedtw.hxx +++ b/sw/source/ui/inc/srcedtw.hxx @@ -86,16 +86,16 @@ private: utl::SourceViewConfig* pSourceViewConfig; long nCurTextWidth; - USHORT nStartLine; + sal_uInt16 nStartLine; rtl_TextEncoding eSourceEncoding; - BOOL bReadonly; - BOOL bDoSyntaxHighlight; - BOOL bHighlighting; + sal_Bool bReadonly; + sal_Bool bDoSyntaxHighlight; + sal_Bool bHighlighting; Timer aSyntaxIdleTimer; Table aSyntaxLineTable; - void ImpDoHighlight( const String& rSource, USHORT nLineOff ); + void ImpDoHighlight( const String& rSource, sal_uInt16 nLineOff ); using OutputDevice::SetFont; void SetFont(); @@ -114,7 +114,7 @@ protected: // virtual void LoseFocus(); void CreateTextEngine(); - void DoSyntaxHighlight( USHORT nPara ); + void DoSyntaxHighlight( sal_uInt16 nPara ); virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ); virtual void ConfigurationChanged( utl::ConfigurationBroadcaster*, sal_uInt32 ); @@ -127,9 +127,9 @@ public: void SetScrollBarRanges(); void InitScrollBars(); - ULONG Read( SvStream& rInput) + sal_uLong Read( SvStream& rInput) {return pTextEngine->Read(rInput);} - ULONG Write( SvStream& rOutput) + sal_uLong Write( SvStream& rOutput) {return pTextEngine->Write(rOutput);} ExtTextView* GetTextView() @@ -140,20 +140,20 @@ public: TextViewOutWin* GetOutWin() {return pOutWin;} - virtual void Invalidate( USHORT nFlags = 0 ); + virtual void Invalidate( sal_uInt16 nFlags = 0 ); void ClearModifyFlag() - { pTextEngine->SetModified(FALSE); } - BOOL IsModified() const + { pTextEngine->SetModified(sal_False); } + sal_Bool IsModified() const { return pTextEngine->IsModified();} void CreateScrollbars(); - void SetReadonly(BOOL bSet){bReadonly = bSet;} - BOOL IsReadonly(){return bReadonly;} + void SetReadonly(sal_Bool bSet){bReadonly = bSet;} + sal_Bool IsReadonly(){return bReadonly;} - void DoDelayedSyntaxHighlight( USHORT nPara ); + void DoDelayedSyntaxHighlight( sal_uInt16 nPara ); - void SetStartLine(USHORT nLine){nStartLine = nLine;} + void SetStartLine(sal_uInt16 nLine){nStartLine = nLine;} virtual void Command( const CommandEvent& rCEvt ); void HandleWheelCommand( const CommandEvent& rCEvt ); |