summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-05 12:03:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-05 12:03:47 +0000
commit5c75c51e9b096b4a88dd019d0cb8ca4c199b8147 (patch)
treedd2c51f9cf207806e291dfa79ffcca72bb48e985
parent305762af91a60e8a0ab223ab2fe22427dff71f69 (diff)
cppcheck: unused variable
-rw-r--r--sfx2/source/toolbox/tbxitem.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx
index e534001a8f..f43cf8e8ed 100644
--- a/sfx2/source/toolbox/tbxitem.cxx
+++ b/sfx2/source/toolbox/tbxitem.cxx
@@ -779,11 +779,8 @@ throw (::com::sun::star::uno::RuntimeException)
try
{
Window* pTbxWindow = VCLUnoHelper::GetWindow( xSubToolBar );
- ToolBox* pToolBar( 0 );
if ( pTbxWindow && pTbxWindow->GetType() == WINDOW_TOOLBOX )
{
- pToolBar = (ToolBox *)pTbxWindow;
-
Any a;
a = xProp->getPropertyValue( aPersistentString );
xProp->setPropertyValue( aPersistentString, makeAny( sal_False ));