Hi, I have submitted a patch for review:
https://gerrit.libreoffice.org/3361 To pull it, you can do: git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/61/3361/1 remove dead code Change-Id: I18b203f9647e2fd5199a2d15f4be67c99f7def5d --- D sfx2/source/inc/mnucfga.hxx M sfx2/source/inc/virtmenu.hxx M sfx2/source/menu/mnumgr.cxx 3 files changed, 0 insertions(+), 45 deletions(-) diff --git a/sfx2/source/inc/mnucfga.hxx b/sfx2/source/inc/mnucfga.hxx deleted file mode 100644 index 09cde20..0000000 --- a/sfx2/source/inc/mnucfga.hxx +++ /dev/null @@ -1,43 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ -#ifndef _SFXMNUCFGA_HXX -#define _SFXMNUCFGA_HXX - -#include <tools/string.hxx> -#include <sfx2/minarray.hxx> - -//================================================================== - -class SfxMenuCfgItemArr; - -struct SfxMenuCfgItem -{ - sal_uInt16 nId; // id of the binding or 0 if none - String aTitle; // title of the item - String aHelpText; - String aCommand; - SfxMenuCfgItemArr* pPopup; // pointer to a popup menu (if any) -}; - -DECL_PTRARRAY(SfxMenuCfgItemArr, SfxMenuCfgItem*, 4, 4 ) - - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/inc/virtmenu.hxx b/sfx2/source/inc/virtmenu.hxx index d85e119..10e971d 100644 --- a/sfx2/source/inc/virtmenu.hxx +++ b/sfx2/source/inc/virtmenu.hxx @@ -22,7 +22,6 @@ #include <boost/ptr_container/ptr_vector.hpp> #include <sfx2/mnuitem.hxx> -#include "mnucfga.hxx" class SfxBindings; class Timer; diff --git a/sfx2/source/menu/mnumgr.cxx b/sfx2/source/menu/mnumgr.cxx index db8c498..a83e975 100644 --- a/sfx2/source/menu/mnumgr.cxx +++ b/sfx2/source/menu/mnumgr.cxx @@ -56,7 +56,6 @@ #include <sfx2/app.hxx> #include "sfxtypes.hxx" #include <sfx2/bindings.hxx> -#include "mnucfga.hxx" #include "sfx2/sfxresid.hxx" #include <sfx2/msgpool.hxx> #include <sfx2/sfx.hrc> -- To view, visit https://gerrit.libreoffice.org/3361 To unsubscribe, visit https://gerrit.libreoffice.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I18b203f9647e2fd5199a2d15f4be67c99f7def5d Gerrit-PatchSet: 1 Gerrit-Project: core Gerrit-Branch: master Gerrit-Owner: Noel Grandin <noelgran...@gmail.com> _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice