Remove the hardly used SyntaxLineSet typedef

Change-Id: Ib38bbbdcc65620329d1471d0d61ede65c4f834e6
Reviewed-on: https://gerrit.libreoffice.org/24176
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
Ryan McCoskrie 2016-04-17 22:01:30 +12:00 committed by Noel Grandin
parent 666dc67eaf
commit a6af1b545a
3 changed files with 3 additions and 6 deletions

View File

@ -87,8 +87,7 @@ private:
SyntaxHighlighter aHighlighter; SyntaxHighlighter aHighlighter;
Idle aSyntaxIdle; Idle aSyntaxIdle;
typedef std::set<sal_uInt16> SyntaxLineSet; std::set<sal_uInt16> aSyntaxLineTable;
SyntaxLineSet aSyntaxLineTable;
DECL_LINK_TYPED(SyntaxTimerHdl, Idle *, void); DECL_LINK_TYPED(SyntaxTimerHdl, Idle *, void);
// progress bar // progress bar

View File

@ -1284,7 +1284,7 @@ IMPL_LINK_NOARG_TYPED(EditorWindow, SyntaxTimerHdl, Idle *, void)
//pEditEngine->SetUpdateMode(false); //pEditEngine->SetUpdateMode(false);
bHighlightning = true; bHighlightning = true;
for ( SyntaxLineSet::const_iterator it = aSyntaxLineTable.begin(); for ( std::set<sal_uInt16>::const_iterator it = aSyntaxLineTable.begin();
it != aSyntaxLineTable.end(); ++it ) it != aSyntaxLineTable.end(); ++it )
{ {
sal_uInt16 nLine = *it; sal_uInt16 nLine = *it;

View File

@ -59,8 +59,6 @@ public:
}; };
typedef std::set<sal_uInt16> SyntaxLineSet;
class SwSrcEditWindow : public vcl::Window, public SfxListener class SwSrcEditWindow : public vcl::Window, public SfxListener
{ {
private: private:
@ -88,7 +86,7 @@ private:
bool bHighlighting; bool bHighlighting;
Idle aSyntaxIdle; Idle aSyntaxIdle;
SyntaxLineSet aSyntaxLineTable; std::set<sal_uInt16> aSyntaxLineTable;
void ImpDoHighlight( const OUString& rSource, sal_uInt16 nLineOff ); void ImpDoHighlight( const OUString& rSource, sal_uInt16 nLineOff );