summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-07 16:08:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-07 16:35:34 +0200
commit630f0a7f26e6440884dfbb24f186fe7b80d63132 (patch)
tree15188d3d2d65b1aff5473e86581e6bfacf569b90 /sfx2/source
parentcecb901f6eea82cca2ecc7a8a66d0645ff1e9a7f (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: I30263e362a30f9b625d4e87f82c2ad2c403a1882
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/dialog/taskpane.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/taskpane.cxx b/sfx2/source/dialog/taskpane.cxx
index 9358be4d65f7..df6b1a375dfb 100644
--- a/sfx2/source/dialog/taskpane.cxx
+++ b/sfx2/source/dialog/taskpane.cxx
@@ -607,7 +607,7 @@ namespace sfx2
::svt::PToolPanel pCustomPanel( new CustomToolPanel( aResourceNode, m_xFrame ) );
size_t nPanelPos = m_aPanelDeck->GetPanelCount();
- nPanelPos = m_aPanelDeck->InsertPanel( pCustomPanel, nPanelPos );
+ m_aPanelDeck->InsertPanel( pCustomPanel, nPanelPos );
if ( ::comphelper::getBOOL( aResourceNode.getNodeValue( "Visible" ) ) )
sFirstVisiblePanelResource = *resource;