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

Tor Lillqvist tml at collabora.com
Fri May 23 09:41:55 PDT 2014


 sc/source/ui/dialogs/searchresults.cxx |    4 ++--
 sc/source/ui/inc/searchresults.hxx     |    2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 8640859d6898943506f28be46c7778a677893ca8
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri May 23 18:32:33 2014 +0300

    WaE: private field 'mnId' is not used
    
    Change-Id: I406ebb303b1f36f827c3cbf33f8f4cf3dcaed2f1

diff --git a/sc/source/ui/dialogs/searchresults.cxx b/sc/source/ui/dialogs/searchresults.cxx
index 51c5ece..38b5bec 100644
--- a/sc/source/ui/dialogs/searchresults.cxx
+++ b/sc/source/ui/dialogs/searchresults.cxx
@@ -21,9 +21,9 @@
 
 namespace sc {
 
-SearchResultsDlg::SearchResultsDlg( SfxBindings* _pBindings, Window* pParent, sal_uInt16 nId ) :
+SearchResultsDlg::SearchResultsDlg( SfxBindings* _pBindings, Window* pParent, sal_uInt16 /* nId */ ) :
     ModelessDialog(pParent, "SearchResultsDialog", "modules/scalc/ui/searchresults.ui"),
-    mpBindings(_pBindings), mnId(nId), mpDoc(NULL)
+    mpBindings(_pBindings), mpDoc(NULL)
 {
     SvSimpleTableContainer *pContainer = get<SvSimpleTableContainer>("results");
     Size aControlSize(150, 120);
diff --git a/sc/source/ui/inc/searchresults.hxx b/sc/source/ui/inc/searchresults.hxx
index efb35f8..0d6d435 100644
--- a/sc/source/ui/inc/searchresults.hxx
+++ b/sc/source/ui/inc/searchresults.hxx
@@ -23,8 +23,6 @@ class SearchResultsDlg : public ModelessDialog
 {
     SvSimpleTable *mpList;
     SfxBindings* mpBindings;
-    sal_uInt16 mnId;
-
     ScDocument* mpDoc;
 
     DECL_LINK( ListSelectHdl, void * );


More information about the Libreoffice-commits mailing list