Home
last modified time | relevance | path

Searched hist:"5 f22f2efda1330f6f8b6466232de382e06e6af93" (Results 1 – 8 of 8) sorted by relevance

/AOO42X/main/sw/source/ui/ribbar/
H A Ddrawbase.cxx5f22f2efda1330f6f8b6466232de382e06e6af93 Thu Sep 01 22:08:51 UTC 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 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
/AOO42X/main/svx/source/dialog/
H A Dgraphctl.cxx5f22f2efda1330f6f8b6466232de382e06e6af93 Thu Sep 01 22:08:51 UTC 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 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
/AOO42X/main/sd/source/ui/animations/
H A Dmotionpathtag.cxx5f22f2efda1330f6f8b6466232de382e06e6af93 Thu Sep 01 22:08:51 UTC 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 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
/AOO42X/main/sc/source/ui/drawfunc/
H A Dfudraw.cxx5f22f2efda1330f6f8b6466232de382e06e6af93 Thu Sep 01 22:08:51 UTC 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 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
H A Dfutext.cxx5f22f2efda1330f6f8b6466232de382e06e6af93 Thu Sep 01 22:08:51 UTC 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 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
/AOO42X/main/sd/source/ui/func/
H A Dfupoor.cxx5f22f2efda1330f6f8b6466232de382e06e6af93 Thu Sep 01 22:08:51 UTC 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 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
H A Dfusel.cxx5f22f2efda1330f6f8b6466232de382e06e6af93 Thu Sep 01 22:08:51 UTC 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 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
/AOO42X/main/svx/inc/svx/
H A Dsvdmrkv.hxx5f22f2efda1330f6f8b6466232de382e06e6af93 Thu Sep 01 22:08:51 UTC 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 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