summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2012-03-11 20:50:15 +0200
committerMichael Stahl <mstahl@redhat.com>2012-03-13 23:19:54 +0100
commitaa998adbe3f7132998ba5aff438b540ff18a10bb (patch)
tree46bea42040e16ec1a4f6785ca718e6d175552350 /sw/source/ui/inc
parent64cba6e58263e906aba6a110937f362d1e31ebe5 (diff)
Convert tools/table.hxx to std::set in SwSrcEditWindow in SW module
Diffstat (limited to 'sw/source/ui/inc')
-rw-r--r--sw/source/ui/inc/srcedtw.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/ui/inc/srcedtw.hxx b/sw/source/ui/inc/srcedtw.hxx
index 3439b19478ba..8f4a443deaf6 100644
--- a/sw/source/ui/inc/srcedtw.hxx
+++ b/sw/source/ui/inc/srcedtw.hxx
@@ -32,8 +32,8 @@
#include <svl/lstner.hxx>
#include <vcl/timer.hxx>
-#include <tools/table.hxx>
#include <svtools/xtextedt.hxx>
+#include <set>
namespace com { namespace sun { namespace star { namespace beans {
class XMultiPropertySet;
@@ -68,12 +68,13 @@ public:
};
//------------------------------------------------------------
+typedef std::set<sal_uInt16> SyntaxLineSet;
+
class SwSrcEditWindow : public Window, public SfxListener
{
private:
class ChangesListener;
friend class ChangesListener;
-
ExtTextView* pTextView;
ExtTextEngine* pTextEngine;
@@ -96,7 +97,7 @@ private:
sal_Bool bHighlighting;
Timer aSyntaxIdleTimer;
- Table aSyntaxLineTable;
+ SyntaxLineSet aSyntaxLineTable;
void ImpDoHighlight( const String& rSource, sal_uInt16 nLineOff );