basctl/source/basicide/baside2.hxx | 3 +-- basctl/source/basicide/baside2b.cxx | 2 +- sw/source/uibase/inc/srcedtw.hxx | 4 +--- 3 files changed, 3 insertions(+), 6 deletions(-)
New commits: commit a6af1b545a6435ec3fdbc88e39bf765839f8614b Author: Ryan McCoskrie <ryan.mccosk...@gmail.com> Date: Sun Apr 17 22:01:30 2016 +1200 Remove the hardly used SyntaxLineSet typedef Change-Id: Ib38bbbdcc65620329d1471d0d61ede65c4f834e6 Reviewed-on: https://gerrit.libreoffice.org/24176 Reviewed-by: Noel Grandin <noelgran...@gmail.com> Tested-by: Noel Grandin <noelgran...@gmail.com> diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx index a49df3c..b35af38 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 68f2767..f612545 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; diff --git a/sw/source/uibase/inc/srcedtw.hxx b/sw/source/uibase/inc/srcedtw.hxx index 09a4366..d7b57db 100644 --- a/sw/source/uibase/inc/srcedtw.hxx +++ b/sw/source/uibase/inc/srcedtw.hxx @@ -59,8 +59,6 @@ public: }; -typedef std::set<sal_uInt16> SyntaxLineSet; - class SwSrcEditWindow : public vcl::Window, public SfxListener { private: @@ -88,7 +86,7 @@ private: bool bHighlighting; Idle aSyntaxIdle; - SyntaxLineSet aSyntaxLineTable; + std::set<sal_uInt16> aSyntaxLineTable; void ImpDoHighlight( const OUString& rSource, sal_uInt16 nLineOff ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits