Commit 9404e3a2 authored by Jan Möbius's avatar Jan Möbius

Fixed cppcheck warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13345 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c1193eeb
......@@ -320,7 +320,7 @@ bool getObject( const int _identifier , BaseObjectData*& _object ) {
return ( _object != 0 );
}
int getObjectId( const QString _name ) {
int getObjectId( const QString& _name ) {
if(_name.isEmpty()) return -1;
BaseObject* object = objectRoot_->childExists( _name );
......
......@@ -151,7 +151,7 @@ bool getObject( const int _identifier , BaseObjectData*& _object );
/** This functions returns the object's id with the given name.
*/
DLLEXPORT
int getObjectId( const QString _name );
int getObjectId( const QString& _name );
/** \brief Check if an object with this identifier exists.
*
......
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