]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/formulamacro.C
split inset -> inset + updatableinset
[lyx.git] / src / mathed / formulamacro.C
index a4473a9847e7d4f0115bdd6dfbbef3d4857668c5..35f2ed3d0038ee1b8b0166dee1158f67090af6e6 100644 (file)
@@ -13,9 +13,6 @@
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "formulamacro.h"
 #include "commandtags.h"
@@ -128,7 +125,11 @@ void InsetFormulaMacro::read(std::istream & is)
 
 string InsetFormulaMacro::prefix() const
 {
-       return boost::io::str(boost::format(_(" Macro: %1$s: ")) % getInsetName());
+#if USE_BOOST_FORMAT
+       return boost::io::str(boost::format(_(" Macro: %s: ")) % getInsetName());
+#else
+       return _(" Macro: ") + getInsetName() + ": ";
+#endif
 }