mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Small tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@587 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
def72111a5
commit
e19f533b0e
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2000-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* src/support/Makefile.am (libsupport_la_SOURCES): add lyxmanip.h.
|
||||
|
||||
* src/buffer.C (makeLaTeXFile): add a .c_str(), since
|
||||
ostringstream uses STL strings, and we might not.
|
||||
|
||||
* src/insets/insetspecialchar.C: add using directive.
|
||||
* src/insets/insettext.C: ditto.
|
||||
|
||||
2000-03-06 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||
|
||||
* lib/layouts/seminar.layout: feeble attempt at a layout for
|
||||
|
@ -2006,7 +2006,9 @@ void Buffer::makeLaTeXFile(string const & fname,
|
||||
ofs << ftnote.str();
|
||||
texrow += ft_texrow;
|
||||
#ifdef HAVE_SSTREAM
|
||||
ftnote.str(string());
|
||||
// The extra .c_str() is needed when we use
|
||||
// lyxstring instead of the STL string class.
|
||||
ftnote.str(string().c_str());
|
||||
#else
|
||||
delete [] ftnote.str();
|
||||
#endif
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "LaTeXFeatures.h"
|
||||
#include "Painter.h"
|
||||
|
||||
using std::max;
|
||||
|
||||
InsetSpecialChar::InsetSpecialChar(Kind k)
|
||||
: kind(k)
|
||||
|
@ -13,6 +13,8 @@
|
||||
|
||||
#include <fstream>
|
||||
using std::ifstream;
|
||||
using std::min;
|
||||
using std::max;
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
|
@ -37,6 +37,7 @@ libsupport_la_SOURCES = \
|
||||
lstrings.C \
|
||||
lstrings.h \
|
||||
lyxlib.h \
|
||||
lyxmanip.h \
|
||||
$(LYXSTRING) lyxsum.C \
|
||||
mkdir.C \
|
||||
path.h \
|
||||
|
Loading…
Reference in New Issue
Block a user