From 0d486af418b8141ffe25f05a33570abd1e93d13e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 13 Dec 2011 09:15:02 +0000 Subject: _BASIC_TEXTPORTIONS always defined --- basic/inc/basic/sbdef.hxx | 7 ------- basic/inc/basic/sbstar.hxx | 1 - 2 files changed, 8 deletions(-) (limited to 'basic/inc') diff --git a/basic/inc/basic/sbdef.hxx b/basic/inc/basic/sbdef.hxx index 90ef1d403fa1..513f241fc11d 100644 --- a/basic/inc/basic/sbdef.hxx +++ b/basic/inc/basic/sbdef.hxx @@ -36,8 +36,6 @@ using rtl::OUString; -#define _BASIC_TEXTPORTIONS - // Type of a text token (syntax highlighting) enum SbTextType { @@ -59,7 +57,6 @@ enum SbLanguageMode SB_LANG_JAVASCRIPT // JavaScript }; -#ifdef _BASIC_TEXTPORTIONS struct SbTextPortion { // Syntax Highlighting: a text portion xub_StrLen nLine; // Line number @@ -109,10 +106,6 @@ private: BASIC_DLLPRIVATE SbTextPortions& operator=( const SbTextPortions& ); }; -#else -class SbTextPortions; -#endif - // Returns type name for Basic type, array flag is ignored // implementation: basic/source/runtime/methods.cxx BASIC_DLLPUBLIC String getBasicTypeName( SbxDataType eType ); diff --git a/basic/inc/basic/sbstar.hxx b/basic/inc/basic/sbstar.hxx index 4efb5ecf6618..6a27ebe4dc40 100644 --- a/basic/inc/basic/sbstar.hxx +++ b/basic/inc/basic/sbstar.hxx @@ -45,7 +45,6 @@ class SbiInstance; // runtime instance class SbiRuntime; // currently running procedure class SbiImage; // compiled image class BasicLibInfo; // info block for basic manager -class SbTextPortions; class SbMethod; class BasicManager; class DocBasicItem; -- cgit