sfx2/source/dialog/filedlghelper.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 15e3ecfcf24ff86290d3d24b456252afe17d5af1 Author: Petr Mladek <[email protected]> Date: Mon Jun 11 17:16:15 2012 +0200 fix sfx2/source/dialog/filedlghelper.cxx to compile again related to the new string stuff Change-Id: I628fe5c59fd9a6e3a98d0fab422a800ced6ca119 diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx index dc07d89..fa74ea5 100644 --- a/sfx2/source/dialog/filedlghelper.cxx +++ b/sfx2/source/dialog/filedlghelper.cxx @@ -100,8 +100,10 @@ #include "filedlgimpl.hxx" #include <helpid.hrc> #include <sfxlocal.hrc> +#include <rtl/oustringostreaminserter.hxx> #include <rtl/strbuf.hxx> #ifdef UNX +#include <errno.h> #include <sys/stat.h> #endif @@ -1663,7 +1665,7 @@ void FileDialogHelper_Impl::verifyPath() } INetURLObject url(maPath); if (url.GetProtocol() != INET_PROT_FILE - || url.getName(0, true, INetURLObject::DECODE_WITH_CHARSET) != "tmp") + || !(url.getName(0, true, INetURLObject::DECODE_WITH_CHARSET)).equalsAscii("tmp")) { return; } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
