summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ));