| #
cf651680
|
| 30-Jul-2025 |
John Bampton <jbampton@users.noreply.github.com> |
pre-commit auto remove trailing whitespace from cxx files (#383)
Another big auto clean up. So many lines !!
Another one bites the dust
https://www.youtube.com/watch?v=rY0WxgSXdEE
Co-authored-by:
pre-commit auto remove trailing whitespace from cxx files (#383)
Another big auto clean up. So many lines !!
Another one bites the dust
https://www.youtube.com/watch?v=rY0WxgSXdEE
Co-authored-by: Matthias Seidel <mseidel@apache.org>
show more ...
|
| #
5f22f2ef
|
| 01-Sep-2016 |
truckman <truckman@13f79535-47bb-0310-9956-ffa450edef68> |
Fix by far the largest source of -Wtautological-undefined-compare compile warnings.
The class definition for SdrMarkView in svx/inc/svx/svdmrkv.hxx contains two inline methods that take a reference
Fix by far the largest source of -Wtautological-undefined-compare compile warnings.
The class definition for SdrMarkView in svx/inc/svx/svdmrkv.hxx contains two inline methods that take a reference argument and perform an &rArg == NULL test on it. The compiler warns that this condition should always be false because dereferencing a NULL pointer to generate a reference is not valid in C++ and a valid reference will never be at address 0. Warnings are generated every time this header is included in a .cxx file.
It turns out that there are no callers for the IsGluePoint() method, so just comment out its definition.
It also turns out that all the callers of IsPointMarked() pass it a dereferenced pointer, so convert IsPointMarked() to take a pointer argument and modify all the callers to pass a pointer without dereferencing it first.
git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1758862 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|