sax/qa/cppunit/xmlimport.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 874431bcd18ea08269f03831486f3f3b749eee36 Author: Noel Grandin <n...@peralex.com> Date: Thu May 19 13:34:48 2016 +0200 loplugin:unreffun and loplugin:nullptr Change-Id: I0b8e094d5f5db4b9add46894c4a606256c2d6904 Reviewed-on: https://gerrit.libreoffice.org/25159 Reviewed-by: Noel Grandin <noelgran...@gmail.com> Tested-by: Noel Grandin <noelgran...@gmail.com> diff --git a/sax/qa/cppunit/xmlimport.cxx b/sax/qa/cppunit/xmlimport.cxx index 881b0cc..33a0837 100644 --- a/sax/qa/cppunit/xmlimport.cxx +++ b/sax/qa/cppunit/xmlimport.cxx @@ -46,7 +46,7 @@ Reference< XInputStream > createStreamFromFile ( OUString aInStr; osl::FileBase::getFileURLFromSystemPath(filePath, aInStr); SvStream* pStream = utl::UcbStreamHelper::CreateStream(aInStr, StreamMode::READ); - if(pStream == NULL) + if(pStream == nullptr) CPPUNIT_ASSERT(false); uno::Reference<io::XStream> xStream(new utl::OStreamWrapper(*pStream)); xInputStream.set(xStream, uno::UNO_QUERY); @@ -60,7 +60,7 @@ private: public: TestDocumentHandler() {} - OUString getString() { return m_aStr; } + //const OUString& getString() { return m_aStr; } // XDocumentHandler virtual void SAL_CALL startDocument() throw (xml::sax::SAXException, RuntimeException, std::exception) override; virtual void SAL_CALL endDocument() throw (xml::sax::SAXException, RuntimeException, std::exception) override; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits