[Libreoffice-commits] core.git: sfx2/source

Noel Grandin noel at peralex.com
Fri Apr 12 08:38:32 PDT 2013


 sfx2/source/inc/mnucfga.hxx  |   43 -------------------------------------------
 sfx2/source/inc/virtmenu.hxx |    1 -
 sfx2/source/menu/mnumgr.cxx  |    1 -
 3 files changed, 45 deletions(-)

New commits:
commit adcae497ce48a6ff6e994817b17840842faa8732
Author: Noel Grandin <noel at peralex.com>
Date:   Fri Apr 12 16:46:32 2013 +0200

    remove dead code
    
    Change-Id: I18b203f9647e2fd5199a2d15f4be67c99f7def5d
    Reviewed-on: https://gerrit.libreoffice.org/3361
    Reviewed-by: Thomas Arnhold <thomas at arnhold.org>
    Tested-by: Thomas Arnhold <thomas at arnhold.org>

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>


More information about the Libreoffice-commits mailing list