~ubuntu-branches/ubuntu/maverick/freecad/maverick

« back to all changes in this revision

Viewing changes to src/Gui/WorkbenchPyImp.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2010-01-11 08:48:33 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100111084833-4g9vgdqbkw8u34zb
Tags: 0.9.2646.5-1
* New upstream version (closes: #561696).
* Added swig to Build-Depends (closes: #563523, #563772).
* Removed python-opencv from Build-Depends and Recommends (closes: #560768).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
 
 *   Copyright (c) 2007 Werner Mayer <wmayer@users.sourceforge.net>        *
 
2
 *   Copyright (c) 2007 Werner Mayer <wmayer[at]users.sourceforge.net>     *
3
3
 *                                                                         *
4
4
 *   This file is part of the FreeCAD CAx development system.              *
5
5
 *                                                                         *
43
43
 */
44
44
 
45
45
// returns a string which represent the object e.g. when printed in python
46
 
const char *WorkbenchPy::representation(void) const
 
46
std::string WorkbenchPy::representation(void) const
47
47
{
48
 
    return "<Workbench object>";
 
48
    return std::string("<Workbench object>");
49
49
}
50
50
 
51
51
/** Retrieves the workbench name */