callcatcher: remove unused RegisteredDb::getEntry

Change-Id: I018ecc9dc8334d64e50325fcc8099ac27358e260
This commit is contained in:
Caolán McNamara
2015-04-23 14:33:46 +01:00
parent f265344c4d
commit a339c949ed
3 changed files with 0 additions and 29 deletions

View File

@@ -659,32 +659,6 @@ void RegisteredDb::addEntry(OUString const & url)
}
}
bool RegisteredDb::getEntry(OUString const & url)
{
try
{
const OUString sPrefix = getNSPrefix();
const OUString sEntry = getKeyElementName();
const OUString sExpression(
sPrefix + ":" + sEntry + "[@url = \"" + url + "\"]");
Reference<css::xml::dom::XDocument> doc = getDocument();
Reference<css::xml::dom::XNode> root = doc->getFirstChild();
Reference<css::xml::xpath::XXPathAPI> xpathApi = getXPathAPI();
Reference<css::xml::dom::XNode> aNode =
xpathApi->selectSingleNode(root, sExpression);
return aNode.is();
}
catch(const css::uno::Exception &)
{
Any exc( ::cppu::getCaughtException() );
throw css::deployment::DeploymentException(
"Extension Manager: failed to read data entry in backend db: " +
m_urlDb, 0, exc);
}
}
} // namespace backend
} // namespace dp_registry

View File

@@ -159,8 +159,6 @@ public:
void addEntry(OUString const & url);
bool getEntry(OUString const & url);
};
}

View File

@@ -82,7 +82,6 @@ connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, bool)
dbaccess::OBookmarkContainer::dispose()
dbaccess::StorageInputStream::close()
dbaui::OTableRowView::SetUpdatable(bool)
dp_registry::backend::RegisteredDb::getEntry(rtl::OUString const&)
oglcanvas::CanvasHelper::drawPoint(com::sun::star::rendering::XCanvas const*, com::sun::star::geometry::RealPoint2D const&, com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&)
oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&) const
oox::AttributeList::getUnsignedHex(int) const