diff options
Diffstat (limited to 'vcl/inc/window.h')
-rw-r--r-- | vcl/inc/window.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/vcl/inc/window.h b/vcl/inc/window.h index c55f650b6e2b..b305aa865515 100644 --- a/vcl/inc/window.h +++ b/vcl/inc/window.h @@ -27,6 +27,7 @@ #include <o3tl/typed_flags_set.hxx> #include <list> +#include <memory> #include <vector> #include <set> @@ -84,14 +85,15 @@ bool ImplWindowFrameProc( vcl::Window* pInst, SalEvent nEvent, const void* pEven struct ImplWinData { OUString* mpExtOldText; - ExtTextInputAttr* mpExtOldAttrAry; - tools::Rectangle* mpCursorRect; + std::unique_ptr<ExtTextInputAttr[]> + mpExtOldAttrAry; + tools::Rectangle* mpCursorRect; long mnCursorExtWidth; bool mbVertical; - tools::Rectangle* mpCompositionCharRects; + tools::Rectangle* mpCompositionCharRects; long mnCompositionCharRects; - tools::Rectangle* mpFocusRect; - tools::Rectangle* mpTrackRect; + tools::Rectangle* mpFocusRect; + tools::Rectangle* mpTrackRect; ShowTrackFlags mnTrackFlags; sal_uInt16 mnIsTopWindow; bool mbMouseOver; //< tracks mouse over for native widget paint effect |