[Libreoffice-commits] core.git: xmlhelp/source

Stephan Bergmann sbergman at redhat.com
Tue Apr 15 00:31:03 PDT 2014


 xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx |    3 ---
 xmlhelp/source/treeview/tvread.cxx                    |    1 -
 2 files changed, 4 deletions(-)

New commits:
commit 9d9f8151f32046a09fe903361d3e85cb601390ba
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Apr 15 09:30:36 2014 +0200

    Remove unused code
    
    Change-Id: Ia624a624271b1143c96cd189cc9e4dab4c5ae302

diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
index 1a19fc1..b362ee2 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
@@ -68,9 +68,6 @@ struct HitItem
     OUString   m_aURL;
     float      m_fScore;
 
-    HitItem()
-        : m_fScore(0.0)
-    {}
     HitItem(const OUString& aURL, float fScore)
         : m_aURL(aURL)
         , m_fScore(fScore)
diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx
index cd78d77..f2ceb5d 100644
--- a/xmlhelp/source/treeview/tvread.cxx
+++ b/xmlhelp/source/treeview/tvread.cxx
@@ -90,7 +90,6 @@ namespace treeview {
 
         bool isLeaf() const { return kind == TVDom::tree_leaf; }
         void setKind( Kind ind ) { kind = ind; }
-        Kind getKind( ) const { return kind; }
 
         void setApplication( const char* appl )
         {


More information about the Libreoffice-commits mailing list