diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2016-06-17 12:09:00 +0300 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-18 09:24:00 +0000 |
commit | 9db384d9947c8d0bb566160c50b34bc8f6a2cc72 (patch) | |
tree | afb830e8cbc2dd27b237e733b669655bfaa983d8 /sfx2/source/sidebar/DeckTitleBar.cxx | |
parent | 1801c00d39a911d80edbb59e0895974297f1373b (diff) |
Get rid of unnecessary OUString creation in DeckTitleBar
See also: sfx2/source/sidebar/PanelTitleBar.cxx#162
Change-Id: I22eca7eeabb6ba7dd64b7840a3eac3ce9a455a9b
Reviewed-on: https://gerrit.libreoffice.org/26412
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2/source/sidebar/DeckTitleBar.cxx')
-rw-r--r-- | sfx2/source/sidebar/DeckTitleBar.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/sidebar/DeckTitleBar.cxx b/sfx2/source/sidebar/DeckTitleBar.cxx index 8c3558d54712..31214fb66f2d 100644 --- a/sfx2/source/sidebar/DeckTitleBar.cxx +++ b/sfx2/source/sidebar/DeckTitleBar.cxx @@ -100,9 +100,8 @@ void DeckTitleBar::HandleToolBoxItemClick (const sal_uInt16 nItemIndex) css::uno::Reference<css::accessibility::XAccessible> DeckTitleBar::CreateAccessible() { - const OUString sAccessibleName(msTitle); - SetAccessibleName(sAccessibleName); - SetAccessibleDescription(sAccessibleName); + SetAccessibleName(msTitle); + SetAccessibleDescription(msTitle); return TitleBar::CreateAccessible(); } |