[Libreoffice-commits] .: sfx2/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Dec 5 04:03:51 PST 2010
sfx2/source/toolbox/tbxitem.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 5c75c51e9b096b4a88dd019d0cb8ca4c199b8147
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Dec 5 12:03:47 2010 +0000
cppcheck: unused variable
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx
index e534001..f43cf8e 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 ));
More information about the Libreoffice-commits
mailing list