vcl/source/control/edit.cxx | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-)
New commits: commit b01c3dc872b370a7314c7f65b63f32b5a1e315a8 Author: Christopher Sherlock <chris.sherloc...@gmail.com> AuthorDate: Sun Dec 15 20:54:09 2024 +1100 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Mon Feb 17 08:45:19 2025 +0100 vcl: initialize DDInfo members in definition Change-Id: I2af2264bca5217b3d96d1abfd3278fec4a1bbf3b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178505 Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> Tested-by: Jenkins diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index d3a805067ca6..aaccddcbcc4d 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -71,20 +71,15 @@ struct DDInfo { vcl::Cursor aCursor; Selection aDndStartSel; - sal_Int32 nDropPos; - bool bStarterOfDD; - bool bDroppedInMe; - bool bVisCursor; - bool bIsStringSupported; + sal_Int32 nDropPos = 0; + bool bStarterOfDD = false; + bool bDroppedInMe = false; + bool bVisCursor = false; + bool bIsStringSupported = false; DDInfo() { aCursor.SetStyle( CURSOR_SHADOW ); - nDropPos = 0; - bStarterOfDD = false; - bDroppedInMe = false; - bVisCursor = false; - bIsStringSupported = false; } };