diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-14 14:36:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-17 07:23:22 +0200 |
commit | db3860062ebf4109f48139c2556ff4041aff5d6e (patch) | |
tree | b6ab4df909c8922e48a9c4eefa9a8f0f6a47c41f /vcl/inc | |
parent | 846f557fd591626931a9dadb38180786e090104c (diff) |
extend loplugin useuniqueptr to OUString pointers
Change-Id: Ieb5bab3895e1edaff497c4a1a88303ccac097edc
Reviewed-on: https://gerrit.libreoffice.org/39948
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/window.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/vcl/inc/window.h b/vcl/inc/window.h index b305aa865515..d5c58195f7ae 100644 --- a/vcl/inc/window.h +++ b/vcl/inc/window.h @@ -84,7 +84,8 @@ bool ImplWindowFrameProc( vcl::Window* pInst, SalEvent nEvent, const void* pEven struct ImplWinData { - OUString* mpExtOldText; + std::unique_ptr<OUString> + mpExtOldText; std::unique_ptr<ExtTextInputAttr[]> mpExtOldAttrAry; tools::Rectangle* mpCursorRect; @@ -164,8 +165,10 @@ struct ImplFrameData struct ImplAccessibleInfos { sal_uInt16 nAccessibleRole; - OUString* pAccessibleName; - OUString* pAccessibleDescription; + std::unique_ptr<OUString> + pAccessibleName; + std::unique_ptr<OUString> + pAccessibleDescription; VclPtr<vcl::Window> pLabeledByWindow; VclPtr<vcl::Window> pLabelForWindow; VclPtr<vcl::Window> pMemberOfWindow; |