[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3-desktop' - writerfilter/source

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Thu Aug 22 14:05:16 UTC 2019


 writerfilter/source/ooxml/OOXMLStreamImpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1d2fa036f92938dbb386f2301fd0f8eab385761f
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Thu Aug 22 16:04:27 2019 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Thu Aug 22 16:04:27 2019 +0200

    build fix
    
    Change-Id: I82ae070fd1597fcdeae420b28f506347eb47b005

diff --git a/writerfilter/source/ooxml/OOXMLStreamImpl.cxx b/writerfilter/source/ooxml/OOXMLStreamImpl.cxx
index 3398c216093f..0ee4e73dd7f2 100644
--- a/writerfilter/source/ooxml/OOXMLStreamImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLStreamImpl.cxx
@@ -319,7 +319,7 @@ bool OOXMLStreamImpl::lcl_getTarget(const uno::Reference<embed::XRelationshipAcc
                     // simple string concatination here to handle that.
                     uno::Reference<uri::XUriReference> xPart = xFac->parse(sMyTarget);
                     uno::Reference<uri::XUriReference> xAbs = xFac->makeAbsolute(xBase, xPart, true, uri::RelativeUriExcessParentSegments_RETAIN);
-                    if (!xAbs)
+                    if (!xAbs.is())
                     {
                         //it was invalid gibberish
                         bFound = false;


More information about the Libreoffice-commits mailing list