Commit 79070329 authored by Jan Möbius's avatar Jan Möbius

Lots of cppcheck fixes


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@18765 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 45f04674
......@@ -426,7 +426,7 @@ QPoint mapToLocal( const QPoint _point ) {
return examiner_widgets_[activeExaminer_]->glMapFromGlobal(_point);
}
void setDrawMode( const ACG::SceneGraph::DrawModes::DrawMode _mode , int _viewer) {
void setDrawMode( const ACG::SceneGraph::DrawModes::DrawMode _mode& , int _viewer) {
if ( _viewer == ACTIVE_VIEWER )
viewerProperties(activeExaminer()).drawMode(_mode);
......
......@@ -356,7 +356,7 @@ void perspectiveProjection( int _viewer = ALL_VIEWERS );
* @param _mode New drawmode of the given viewer
*/
DLLEXPORT
void setDrawMode( const ACG::SceneGraph::DrawModes::DrawMode _mode , int _viewer = ALL_VIEWERS);
void setDrawMode( const ACG::SceneGraph::DrawModes::DrawMode& _mode , int _viewer = ALL_VIEWERS);
/** \brief Get the current draw Mode of a Viewer
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment