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:
parent
666dc67eaf
commit
a6af1b545a
@ -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
|
||||||
|
@ -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;
|
||||||
|
@ -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 );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user