diff options
author | Brad Sowden <code@sowden.org> | 2012-06-18 20:01:42 +1200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-06-18 12:39:39 +0200 |
commit | 20def8ddd8a21d22deb250ded21a2348ee0e35f4 (patch) | |
tree | a32cce788a939ecf0df982d89dcc69700db9a58f /sw/source/ui/docvw/edtwin.cxx | |
parent | 3953c293e435d8ff7656d395feb15d88a5ec6492 (diff) |
Remove unnecessary temp variable
The only impact aTmpQHD.Move() has on pQuickHlpData is clearing
m_aHelpStrings but this is done anyway in the pQuickHlpData->Stop()
Change-Id: Ie730ddb1860461c81558275d54e32846c1495abe
Diffstat (limited to 'sw/source/ui/docvw/edtwin.cxx')
-rw-r--r-- | sw/source/ui/docvw/edtwin.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index 04e6e732b58b..9f6d2f229f25 100644 --- a/sw/source/ui/docvw/edtwin.cxx +++ b/sw/source/ui/docvw/edtwin.cxx @@ -4992,12 +4992,9 @@ void SwEditWin::Command( const CommandEvent& rCEvt ) rSh.IsCrsrReadonly(); if(!bIsDocReadOnly) { - QuickHelpData aTmpQHD; if( pQuickHlpData->m_bIsDisplayed ) - { - aTmpQHD.Move( *pQuickHlpData ); pQuickHlpData->Stop( rSh ); - } + String sWord; if( rSh.HasDrawView() && rSh.GetDrawView()->IsTextEdit() ) { |