From: Georg Baum Date: Thu, 26 Oct 2006 15:38:53 +0000 (+0000) Subject: Compile fix for older gcc's. X-Git-Tag: 1.6.10~12181 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0a48dce7ac3bb55a16adb8d824953e32457bd83b;p=features.git Compile fix for older gcc's. I accidentally used data() which is not yet in the standard. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15565 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/output_latex.C b/src/output_latex.C index 6ef28173db..f37ad13ba5 100644 --- a/src/output_latex.C +++ b/src/output_latex.C @@ -500,7 +500,7 @@ TeXOnePar(Buffer const & buf, // two encodings in one file. // FIXME: Catch iconv conversion errors and display an error // dialog. - std::vector const faked = lyx::eightbit_to_ucs4(encoded.data(), + std::vector const faked = lyx::eightbit_to_ucs4(&(encoded[0]), encoded.size(), doc_language->encoding()->iconvName()); std::vector::const_iterator const end = faked.end(); std::vector::const_iterator it = faked.begin();