/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include #pragma clang diagnostic ignored "-Wunknown-warning-option" // for Clang < 13 #pragma clang diagnostic ignored "-Wunused-but-set-variable" struct S { OUString mv1; OUString mv2; // make sure we ignore cases where the passed in parameter is std::move'd S(OUString v1, OUString v2) : mv1(std::move(v1)), mv2((std::move(v2))) {} }; void f() { S* s; OUString v1, v2; s = new S(v1, v2); } // check that we don't warn when the param is modified OUString trim_string(OUString aString) { aString += "xxx"; return aString; } // expected-no-diagnostics /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ /zeta-24-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/unoxml/Library_unoxml.mk
AgeCommit message (Collapse)Author
2018-03-14Moving XSAXDocumentBuilder2 to use XFastDocumentHandler:Mohammed Abdul Azeem
This is used in parsing of meta Contexts across different modules. This also involved moving to XFastParser for parsing xml filters in sw, sd, starmath. Change-Id: Ic663aaac6cb20ee8ce5b97cae87c93220f5a2929 Reviewed-on: https://gerrit.libreoffice.org/42989 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky
Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2016-05-01tdf#95416 Get rid of #include "../foo/bar.hxx" style includesBurcin Akalin
Change-Id: If7b44c772744c63e603740be6267453118cfd01b Signed-off-by: Burcin Akalin <brcnakalin@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/21937 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>