[Libreoffice-commits] .: sc/sdi sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Dec 18 03:47:21 PST 2012


 sc/sdi/tabpopsh.sdi            |   22 --------------
 sc/source/ui/inc/tabpopsh.hxx  |   46 ------------------------------
 sc/source/ui/view/tabpopsh.cxx |   62 -----------------------------------------
 3 files changed, 130 deletions(-)

New commits:
commit 1d9f281c8c3d098bc70e0e0cbe081c696fe2b7b9
Author: Marcos Paulo de Souza <marcos.souza.org at gmail.com>
Date:   Tue Dec 18 07:07:37 2012 -0200

    Remove unused ScTabPopShell
    
    As Thomas Arnhold pointed, it seems that ScTabPopShell is useless. I did a full
    compile without ScTabPopShell and run sometimes cal, writer and all still works.
    
    Change-Id: Ia05d4fb53999b816101b5757153942df0c606022
    Signed-off-by: Marcos Paulo de Souza <marcos.souza.org at gmail.com>
    Reviewed-on: https://gerrit.libreoffice.org/1392
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/sdi/tabpopsh.sdi b/sc/sdi/tabpopsh.sdi
deleted file mode 100644
index 0a3d646..0000000
--- a/sc/sdi/tabpopsh.sdi
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * 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 .
- */
-shell ScTabPopShell
-{
-    //  nix drin
-}
-
diff --git a/sc/source/ui/inc/tabpopsh.hxx b/sc/source/ui/inc/tabpopsh.hxx
deleted file mode 100644
index 6580f00..0000000
--- a/sc/source/ui/inc/tabpopsh.hxx
+++ /dev/null
@@ -1,46 +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 SC_TABPOPSH_HXX
-#define SC_TABPOPSH_HXX
-
-#include <sfx2/module.hxx>
-#include <sfx2/shell.hxx>
-
-#include "shellids.hxx"
-
-class ScTabPopShell : public SfxShell
-{
-public:
-    TYPEINFO();
-    SFX_DECL_INTERFACE(SCID_TABPOP_SHELL);
-
-                            ScTabPopShell(SfxItemPool& rItemPool);
-                            ~ScTabPopShell();
-
-    void    DummyExec( SfxRequest& rReq );
-    void    DummyState( SfxItemSet& rSet );
-};
-
-
-
-#endif
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/view/tabpopsh.cxx b/sc/source/ui/view/tabpopsh.cxx
deleted file mode 100644
index 901e9f4..0000000
--- a/sc/source/ui/view/tabpopsh.cxx
+++ /dev/null
@@ -1,62 +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 .
- */
-
-#include "tabpopsh.hxx"
-#include "sc.hrc"
-
-#undef ShellClass
-#define ShellClass ScTabPopShell
-SFX_SLOTMAP(ScTabPopShell)
-{
-    SFX_SLOT( 0,0, DummyExec, DummyState, 0, SfxVoidItem )
-};
-
-
-TYPEINIT1(ScTabPopShell,SfxShell);
-
-//SFX_IMPL_IDL_INTERFACE(ScTabPopShell, SfxShell, 0)
-SFX_IMPL_INTERFACE(ScTabPopShell, SfxShell, ResId( 0, NULL))
-{
-    SFX_POPUPMENU_REGISTRATION( RID_POPUP_TAB );
-}
-
-
-
-
-ScTabPopShell::ScTabPopShell(SfxItemPool& rItemPool)
-{
-    SetPool( &rItemPool );
-}
-
-
-ScTabPopShell::~ScTabPopShell()
-{
-}
-
-
-void ScTabPopShell::DummyExec( SfxRequest& rReq )
-{
-}
-
-
-void ScTabPopShell::DummyState( SfxItemSet& rSet )
-{
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list