#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
#include "formulamacro.h"
#include "commandtags.h"
#include "Lsstream.h"
+#include "BoostFormat.h"
+
using std::ostream;
extern MathCursor * mathcursor;
string InsetFormulaMacro::prefix() const
{
- return string(" ") + _("Macro: ") + getInsetName() + ": ";
+#if USE_BOOST_FORMAT
+ return boost::io::str(boost::format(_(" Macro: %s: ")) % getInsetName());
+#else
+ return _(" Macro: ") + getInsetName() + ": ";
+#endif
}