[Libreoffice-commits] core.git: basctl/source sw/source

Ryan McCoskrie ryan.mccoskrie at gmail.com
Mon Apr 18 07:17:27 UTC 2016


 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.mccoskrie at 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 <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at 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 );
 


More information about the Libreoffice-commits mailing list