From 92cb03bca1eccdfb808ca1f82878a224e299481b Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 16 Aug 2014 14:15:46 +0200 Subject: [PATCH] + code cleanup --- src/Gui/Document.cpp | 3 +-- src/Gui/ViewProvider.cpp | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Gui/Document.cpp b/src/Gui/Document.cpp index 154a30b5d..66fe4cf50 100644 --- a/src/Gui/Document.cpp +++ b/src/Gui/Document.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) 2004 Jrgen Riegel * + * Copyright (c) 2004 Jürgen Riegel * * * * This file is part of the FreeCAD CAx development system. * * * @@ -394,7 +394,6 @@ void Document::slotNewObject(const App::DocumentObject& Obj) Base::Console().Error("App::Document::_RecomputeFeature(): Unknown exception in Feature \"%s\" thrown\n",Obj.getNameInDocument()); } #endif - std::list::iterator vIt; // cycling to all views of the document for (vIt = d->baseViews.begin();vIt != d->baseViews.end();++vIt) { diff --git a/src/Gui/ViewProvider.cpp b/src/Gui/ViewProvider.cpp index bee3e9dfc..c329f380f 100644 --- a/src/Gui/ViewProvider.cpp +++ b/src/Gui/ViewProvider.cpp @@ -139,12 +139,6 @@ void ViewProvider::setUpdatesEnabled (bool enable) _updateData = enable; } -void highlight(const HighlightMode& high) -{ - - -} - void ViewProvider::eventCallback(void * ud, SoEventCallback * node) { const SoEvent * ev = node->getEvent();