[Libreoffice-commits] core.git: vcl/qt5
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Oct 31 08:35:44 UTC 2018
vcl/qt5/Qt5AccessibleWidget.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit ce382378ef0b882d4961e32bb0c35d6b76336fae
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Oct 31 10:35:02 2018 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Oct 31 10:35:02 2018 +0200
fix clang -fpermissive warnings in Qt5AccessibleWidget
error: converting to ‘bool’ from ‘std::nullptr_t’ requires
direct-initialization
Change-Id: Id002e2bf0363ddde1a1172cf6364180dbcac64ee
diff --git a/vcl/qt5/Qt5AccessibleWidget.cxx b/vcl/qt5/Qt5AccessibleWidget.cxx
index bb547c6bc974..6e47fa41f6b9 100644
--- a/vcl/qt5/Qt5AccessibleWidget.cxx
+++ b/vcl/qt5/Qt5AccessibleWidget.cxx
@@ -992,7 +992,7 @@ bool Qt5AccessibleWidget::selectColumn(int column)
Reference<XAccessibleTableSelection> xTableSelection(m_xAccessible->getAccessibleContext(),
UNO_QUERY);
if (!xTableSelection.is())
- return nullptr;
+ return false;
return xTableSelection->selectColumn(column);
}
@@ -1001,7 +1001,7 @@ bool Qt5AccessibleWidget::selectRow(int row)
Reference<XAccessibleTableSelection> xTableSelection(m_xAccessible->getAccessibleContext(),
UNO_QUERY);
if (!xTableSelection.is())
- return nullptr;
+ return false;
return xTableSelection->selectRow(row);
}
@@ -1063,7 +1063,7 @@ bool Qt5AccessibleWidget::unselectColumn(int column)
Reference<XAccessibleTableSelection> xTableSelection(m_xAccessible->getAccessibleContext(),
UNO_QUERY);
if (!xTableSelection.is())
- return nullptr;
+ return false;
return xTableSelection->unselectColumn(column);
}
@@ -1072,7 +1072,7 @@ bool Qt5AccessibleWidget::unselectRow(int row)
Reference<XAccessibleTableSelection> xTableSelection(m_xAccessible->getAccessibleContext(),
UNO_QUERY);
if (!xTableSelection.is())
- return nullptr;
+ return false;
return xTableSelection->unselectRow(row);
}
More information about the Libreoffice-commits
mailing list