[Libreoffice-commits] .: sd/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Fri Jul 1 13:57:35 PDT 2011
sd/source/ui/toolpanel/TaskPaneTreeNode.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dd6ad70d2dda2e9056238f02bb669fcdb8fb899d
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Fri Jul 1 22:56:11 2011 +0200
useless pWindow != NULL
diff --git a/sd/source/ui/toolpanel/TaskPaneTreeNode.cxx b/sd/source/ui/toolpanel/TaskPaneTreeNode.cxx
index 904c0dc..89565ba 100644
--- a/sd/source/ui/toolpanel/TaskPaneTreeNode.cxx
+++ b/sd/source/ui/toolpanel/TaskPaneTreeNode.cxx
@@ -222,7 +222,7 @@ TaskPaneShellManager* TreeNode::GetShellManager (void)
{
::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible> xParent;
- if (pWindow!=NULL && pWindow->GetAccessibleParentWindow()!=NULL)
+ if (pWindow->GetAccessibleParentWindow()!=NULL)
xParent = pWindow->GetAccessibleParentWindow()->GetAccessible();
xAccessible = CreateAccessibleObject(xParent);
pWindow->SetAccessible(xAccessible);
More information about the Libreoffice-commits
mailing list