summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontmetrics.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-06-21 12:22:51 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-06-22 20:09:36 +0200
commitbd2d932439ba5daf28dcf24c50083ca23aadf9db (patch)
tree3cf9b2ee2f700b8ee27308c82bf2036d3e613e27 /src/gui/text/qfontmetrics.cpp
parentafe416c4e156247c864a7140c59f825f0914f1b8 (diff)
Tidy up in OCI driver codeHEADdev
Use nullptr instead of 0 for null pointers. Compare OCIHandleAlloc() return values to OCI_SUCCESS rather than 0. Initialize instance variables in the class where possible, rather than in the constructor. Conform to coding style o long lines and braces. Assert pointers are null before allocating and overwriting them, so we might have a chance of catching leaks. Change-Id: Ia885ec18f46de5219a51fb6f9f23f474b3046585 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/gui/text/qfontmetrics.cpp')
0 files changed, 0 insertions, 0 deletions