diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-04-26 10:59:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-04-29 09:29:17 +0200 |
commit | 9dbae9762c38ac69d71b2a763b812e3711c28921 (patch) | |
tree | 0ff75c2334da33fb270e1159c30f24b563670bbc /include/sfx2 | |
parent | 064b335cf721db96fe556c78b15d0abe0edec70d (diff) |
rearrange to clarify that ThumbnailViewItem* was never null
Change-Id: Ie10ed0193fbaeae2fb711caa9059906513c42e1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166730
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/templatelocalview.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/thumbnailview.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/templatelocalview.hxx b/include/sfx2/templatelocalview.hxx index 9d44e54d7cf4..4284c74b334f 100644 --- a/include/sfx2/templatelocalview.hxx +++ b/include/sfx2/templatelocalview.hxx @@ -116,7 +116,7 @@ public: bool exportTo (const sal_uInt16 nItemId, const sal_uInt16 nRegionItemId, std::u16string_view rName); - virtual bool renameItem(ThumbnailViewItem* pItem, const OUString& sNewTitle) override; + virtual bool renameItem(ThumbnailViewItem& rItem, const OUString& sNewTitle) override; virtual bool MouseButtonDown( const MouseEvent& rMEvt ) override; diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx index 08babad793cb..d1945dbfe85c 100644 --- a/include/sfx2/thumbnailview.hxx +++ b/include/sfx2/thumbnailview.hxx @@ -191,7 +191,7 @@ public: sal_uInt16 GetItemId( const Point& rPos ) const; - virtual bool renameItem(ThumbnailViewItem* pItem, const OUString& sNewTitle); + virtual bool renameItem(ThumbnailViewItem& rItem, const OUString& sNewTitle); bool isDrawMnemonic() const { return mbDrawMnemonics; } |