summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2012-12-18 07:07:37 -0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-12-18 11:47:03 +0000
commit1d9f281c8c3d098bc70e0e0cbe081c696fe2b7b9 (patch)
tree6247a00578a5b0d0e8368bc041dffcd3bfb73ff7
parent2c261400e79d790453ad3d4beb72b397c0795d90 (diff)
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@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1392 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--sc/sdi/tabpopsh.sdi22
-rw-r--r--sc/source/ui/inc/tabpopsh.hxx46
-rw-r--r--sc/source/ui/view/tabpopsh.cxx62
3 files changed, 0 insertions, 130 deletions
diff --git a/sc/sdi/tabpopsh.sdi b/sc/sdi/tabpopsh.sdi
deleted file mode 100644
index 0a3d64659b88..000000000000
--- 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 6580f00d8880..000000000000
--- 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 901e9f4d9525..000000000000
--- 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: */