summaryrefslogtreecommitdiff
path: root/basic/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-13 09:15:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-12-13 10:11:44 +0000
commit0d486af418b8141ffe25f05a33570abd1e93d13e (patch)
tree789ff8c381121f12c53998a195cef62a87e5f350 /basic/inc
parenta15cdba6efb0c4ddb563b538cccdd78d8722a986 (diff)
_BASIC_TEXTPORTIONS always defined
Diffstat (limited to 'basic/inc')
-rw-r--r--basic/inc/basic/sbdef.hxx7
-rw-r--r--basic/inc/basic/sbstar.hxx1
2 files changed, 0 insertions, 8 deletions
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;