diff options
author | Ryan McCoskrie <ryan.mccoskrie@gmail.com> | 2016-04-17 22:01:30 +1200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-18 07:17:02 +0000 |
commit | a6af1b545a6435ec3fdbc88e39bf765839f8614b (patch) | |
tree | a4e6df98a07a8419fca0ee48446c97423ba571ce /basctl | |
parent | 666dc67eaff92d019ea57a571f0156533f4507f8 (diff) |
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>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2.hxx | 3 | ||||
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx index a49df3cbee1c..b35af388a7dc 100644 --- a/basctl/source/basicide/baside2.hxx +++ b/basctl/source/basicide/baside2.hxx @@ -87,8 +87,7 @@ private: SyntaxHighlighter aHighlighter; Idle aSyntaxIdle; - typedef std::set<sal_uInt16> SyntaxLineSet; - SyntaxLineSet aSyntaxLineTable; + std::set<sal_uInt16> aSyntaxLineTable; DECL_LINK_TYPED(SyntaxTimerHdl, Idle *, void); // progress bar diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 68f2767e359e..f612545d159c 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -1284,7 +1284,7 @@ IMPL_LINK_NOARG_TYPED(EditorWindow, SyntaxTimerHdl, Idle *, void) //pEditEngine->SetUpdateMode(false); bHighlightning = true; - for ( SyntaxLineSet::const_iterator it = aSyntaxLineTable.begin(); + for ( std::set<sal_uInt16>::const_iterator it = aSyntaxLineTable.begin(); it != aSyntaxLineTable.end(); ++it ) { sal_uInt16 nLine = *it; |