remove unused menu code
This commit is contained in:
@@ -279,33 +279,6 @@ void BibliographyLoader::loadView(const Reference< XFrame > & rFrame, const rtl:
|
|||||||
if(!m_pBibMod)
|
if(!m_pBibMod)
|
||||||
m_pBibMod = OpenBibModul();
|
m_pBibMod = OpenBibModul();
|
||||||
|
|
||||||
/*
|
|
||||||
//create the menu
|
|
||||||
ResMgr* pResMgr = (*m_pBibMod)->GetResMgr();
|
|
||||||
INetURLObject aEntry( URIHelper::SmartRelToAbs(pResMgr->GetFileName()) );
|
|
||||||
String aMenuRes( RTL_CONSTASCII_USTRINGPARAM( "private:resource/" ));
|
|
||||||
aMenuRes += ( aEntry.GetName() += '/' );
|
|
||||||
aMenuRes+=String::CreateFromInt32(RID_MAIN_MENU);
|
|
||||||
|
|
||||||
util::URL aURL;
|
|
||||||
aURL.Complete = aMenuRes;
|
|
||||||
|
|
||||||
Reference< XMultiServiceFactory > xMgr = comphelper::getProcessServiceFactory();
|
|
||||||
Reference< util::XURLTransformer > xTrans ( xMgr->createInstance( C2U("com.sun.star.util.URLTransformer") ), UNO_QUERY );
|
|
||||||
if( xTrans.is() )
|
|
||||||
{
|
|
||||||
// Datei laden
|
|
||||||
xTrans->parseStrict( aURL );
|
|
||||||
|
|
||||||
Reference< XDispatchProvider > xProv( rFrame, UNO_QUERY );
|
|
||||||
if ( xProv.is() )
|
|
||||||
{
|
|
||||||
Reference< XDispatch > aDisp = xProv->queryDispatch( aURL, C2U("_menubar"), 12 );
|
|
||||||
if ( aDisp.is() )
|
|
||||||
aDisp->dispatch( aURL, Sequence<PropertyValue>() );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
m_pDatMan = (*m_pBibMod)->createDataManager();
|
m_pDatMan = (*m_pBibMod)->createDataManager();
|
||||||
m_xDatMan = m_pDatMan;
|
m_xDatMan = m_pDatMan;
|
||||||
BibDBDescriptor aBibDesc = BibModul::GetConfig()->GetBibliographyURL();
|
BibDBDescriptor aBibDesc = BibModul::GetConfig()->GetBibliographyURL();
|
||||||
|
@@ -1,39 +0,0 @@
|
|||||||
/*************************************************************************
|
|
||||||
*
|
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
||||||
*
|
|
||||||
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
||||||
*
|
|
||||||
* OpenOffice.org - a multi-platform office productivity suite
|
|
||||||
*
|
|
||||||
* This file is part of OpenOffice.org.
|
|
||||||
*
|
|
||||||
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Lesser General Public License version 3
|
|
||||||
* only, as published by the Free Software Foundation.
|
|
||||||
*
|
|
||||||
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Lesser General Public License version 3 for more details
|
|
||||||
* (a copy is included in the LICENSE file that accompanied this code).
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public License
|
|
||||||
* version 3 along with OpenOffice.org. If not, see
|
|
||||||
* <http://www.openoffice.org/license.html>
|
|
||||||
* for a copy of the LGPLv3 License.
|
|
||||||
*
|
|
||||||
************************************************************************/
|
|
||||||
|
|
||||||
#include <svl/solar.hrc>
|
|
||||||
#include <svx/svxids.hrc>
|
|
||||||
#include <svx/globlmn.hrc>
|
|
||||||
#include "bibliography.hrc"
|
|
||||||
#include "bib.hrc"
|
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
The menu bar resource has become obsolete. You find the menu bar definition
|
|
||||||
now at: <project>/uiconfig/sbibliography/menubar/menubar.xml
|
|
||||||
|
|
||||||
*/
|
|
Reference in New Issue
Block a user