From 58dd850178eb0151f03351b0599fcb88e6b499a8 Mon Sep 17 00:00:00 2001 From: Christian Lippka Date: Wed, 5 May 2010 17:39:48 +0200 Subject: #i89450# removed unused code --- .../ui/framework/factories/BasicPaneFactory.cxx | 26 ---------------------- 1 file changed, 26 deletions(-) (limited to 'sd/source/ui/framework/factories/BasicPaneFactory.cxx') diff --git a/sd/source/ui/framework/factories/BasicPaneFactory.cxx b/sd/source/ui/framework/factories/BasicPaneFactory.cxx index 969844f7650d..5ee2ae9433d4 100644 --- a/sd/source/ui/framework/factories/BasicPaneFactory.cxx +++ b/sd/source/ui/framework/factories/BasicPaneFactory.cxx @@ -551,32 +551,6 @@ Reference BasicPaneFactory::CreateChildWindowPane ( return xPane; } - - - -bool BasicPaneFactory::IsBoundToChildWindow (const Reference& rxResourceId) const -{ - if ( ! rxResourceId.is()) - return false; - - Reference xAnchorId (rxResourceId->getAnchor()); - if ( ! xAnchorId.is()) - return false; - - const OUString sAnchorURL (xAnchorId->getResourceURL()); - if (sAnchorURL == FrameworkHelper::msLeftImpressPaneURL) - return true; - else if (sAnchorURL == FrameworkHelper::msLeftDrawPaneURL) - return true; - else if (sAnchorURL == FrameworkHelper::msRightPaneURL) - return true; - else - return false; -} - - - - void BasicPaneFactory::ThrowIfDisposed (void) const throw (lang::DisposedException) { -- cgit