vcl/inc/win/saldata.hxx | 2 +- vcl/win/app/salinst.cxx | 34 +++++++++++++++++----------------- 2 files changed, 18 insertions(+), 18 deletions(-)
New commits: commit fe70eac9e1b6c5b5b3d08955a28cff1c40e4c1cf Author: Michael Weghorn <[email protected]> AuthorDate: Fri Feb 27 08:30:39 2026 +0000 Commit: Michael Weghorn <[email protected]> CommitDate: Sat Feb 28 09:06:24 2026 +0100 vcl win: Drop duplicate SalData member doc Don't repeat the comments already present where the class members are declared. Move the comment for the one member that is only documented in the ctor to where it is declared as well. Other slight mismatches in the comments seem to be only caused by different people translating the previously German comments to English. Change-Id: I0a3bed3212943263551dd47b32cca4f0a180ed50 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200567 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/vcl/inc/win/saldata.hxx b/vcl/inc/win/saldata.hxx index 0036884adb63..111493de05f3 100644 --- a/vcl/inc/win/saldata.hxx +++ b/vcl/inc/win/saldata.hxx @@ -97,7 +97,7 @@ public: int mnCmdShow; // default frame show style HHOOK mhSalObjMsgHook; // hook to get interesting msg for SalObject HWND mhWantLeaveMsg; // window handle, that want a MOUSELEAVE message - WinSalInstance* mpInstance; + WinSalInstance* mpInstance; // pointer of first instance WinSalFrame* mpFirstFrame; // pointer of first frame WinSalObject* mpFirstObject; // pointer of first object window WinSalVirtualDevice* mpFirstVD; // first VirDev diff --git a/vcl/win/app/salinst.cxx b/vcl/win/app/salinst.cxx index d7f1f47d78eb..5ec8e82d78bc 100644 --- a/vcl/win/app/salinst.cxx +++ b/vcl/win/app/salinst.cxx @@ -246,17 +246,17 @@ SalData::SalData() sal::systools::CoInitializeGuard::WhenFailed::NoThrow) // put main thread in Single Threaded Apartment (STA) { - mhInst = nullptr; // default instance handle - mnCmdShow = 0; // default frame show style - mhSalObjMsgHook = nullptr; // hook to get interesting msg for SalObject - mhWantLeaveMsg = nullptr; // window handle, that want a MOUSELEAVE message - mpInstance = nullptr; // pointer of first instance - mpFirstFrame = nullptr; // pointer of first frame - mpFirstObject = nullptr; // pointer of first object window - mpFirstVD = nullptr; // first VirDev - mpFirstPrinter = nullptr; // first printing printer - mh50Bmp = nullptr; // 50% Bitmap - mh50Brush = nullptr; // 50% Brush + mhInst = nullptr; + mnCmdShow = 0; + mhSalObjMsgHook = nullptr; + mhWantLeaveMsg = nullptr; + mpInstance = nullptr; + mpFirstFrame = nullptr; + mpFirstObject = nullptr; + mpFirstVD = nullptr; + mpFirstPrinter = nullptr; + mh50Bmp = nullptr; + mh50Brush = nullptr; int i; for(i=0; i<MAX_STOCKPEN; i++) { @@ -268,13 +268,13 @@ SalData::SalData() maStockBrushColorAry[i] = 0; mhStockBrushAry[i] = nullptr; } - mnStockPenCount = 0; // count of static pens - mnStockBrushCount = 0; // count of static brushes - mnSalObjWantKeyEvt = 0; // KeyEvent for the SalObj hook - mbObjClassInit = false; // is SALOBJECTCLASS initialised - mnAppThreadId = 0; // Id from Application-Thread + mnStockPenCount = 0; + mnStockBrushCount = 0; + mnSalObjWantKeyEvt = 0; + mbObjClassInit = false; + mnAppThreadId = 0; mpTempFontItem = nullptr; - mbThemeChanged = false; // true if visual theme was changed: throw away theme handles + mbThemeChanged = false; mbThemeMenuSupport = false; // init with NULL
