diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2015-12-24 14:07:40 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2015-12-24 14:25:26 +0200 |
commit | d4f5f5eb00b55035cf659c44396dc63c2347b84f (patch) | |
tree | faa188951d38e4f33b826e673c950f7352aeb2a9 /sc | |
parent | 430303aeee790cb8951dd007e7dffb55fa7f0f53 (diff) |
Kill useless header
Change-Id: Ida0302a4d7b801765a4be2aae0de2b7ea0ba62d1
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/helpids.h | 1 | ||||
-rw-r--r-- | sc/inc/pch/precompiled_scui.hxx | 1 | ||||
-rw-r--r-- | sc/inc/pch/precompiled_vbaobj.hxx | 1 | ||||
-rw-r--r-- | sc/inc/sc.hrc | 1 | ||||
-rw-r--r-- | sc/inc/sccommands.h | 26 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwshf.cxx | 3 |
6 files changed, 1 insertions, 32 deletions
diff --git a/sc/inc/helpids.h b/sc/inc/helpids.h index 81da7fdf7f54..a91e94077615 100644 --- a/sc/inc/helpids.h +++ b/sc/inc/helpids.h @@ -19,7 +19,6 @@ #include <sfx2/sfxcommands.h> #include <svx/svxcommands.h> -#include "sccommands.h" #define HID_INSWIN_POS "SC_HID_INSWIN_POS" #define HID_INSWIN_CALC "SC_HID_INSWIN_CALC" diff --git a/sc/inc/pch/precompiled_scui.hxx b/sc/inc/pch/precompiled_scui.hxx index 8aadf294891a..4fa7b2d94caf 100644 --- a/sc/inc/pch/precompiled_scui.hxx +++ b/sc/inc/pch/precompiled_scui.hxx @@ -26,7 +26,6 @@ #include <limits.h> #include <math.h> #include <memory> -#include <sccommands.h> #include <vector> #include <osl/thread.h> #include <rtl/math.hxx> diff --git a/sc/inc/pch/precompiled_vbaobj.hxx b/sc/inc/pch/precompiled_vbaobj.hxx index a5a53cc9bf14..123de3c041b5 100644 --- a/sc/inc/pch/precompiled_vbaobj.hxx +++ b/sc/inc/pch/precompiled_vbaobj.hxx @@ -24,7 +24,6 @@ #include <helpids.h> #include <map> #include <memory> -#include <sccommands.h> #include <unordered_map> #include <vector> #include <boost/optional.hpp> diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc index e9a5f61c3797..9dc55b903468 100644 --- a/sc/inc/sc.hrc +++ b/sc/inc/sc.hrc @@ -25,7 +25,6 @@ #include "sfx2/sfxcommands.h" #include "svx/svxcommands.h" -#include "sccommands.h" #include "helpids.h" #define VAR_ARGS 30 // variable Parameter in scfuncs.src diff --git a/sc/inc/sccommands.h b/sc/inc/sccommands.h deleted file mode 100644 index ad95740103de..000000000000 --- a/sc/inc/sccommands.h +++ /dev/null @@ -1,26 +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 INCLUDED_SC_INC_SCCOMMANDS_H -#define INCLUDED_SC_INC_SCCOMMANDS_H - -#define CMD_FID_TAB_SET_TAB_BG_COLOR ".uno:TabBgColor" - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/view/tabvwshf.cxx b/sc/source/ui/view/tabvwshf.cxx index 6c8d7de664ea..0f31469e1528 100644 --- a/sc/source/ui/view/tabvwshf.cxx +++ b/sc/source/ui/view/tabvwshf.cxx @@ -48,7 +48,6 @@ #include "tabbgcolor.hxx" #include "tabbgcolordlg.hxx" -#include "sccommands.h" #include "markdata.hxx" #include <vector> @@ -701,7 +700,7 @@ void ScTabViewShell::ExecuteTable( SfxRequest& rReq ) OUString(ScResId(SCSTR_SET_TAB_BG_COLOR)), OUString(ScResId(SCSTR_NO_TAB_BG_COLOR)), aTabBgColor, - CMD_FID_TAB_SET_TAB_BG_COLOR)); + ".uno:TabBgColor")); while ( !bDone && nRet == RET_OK ) { nRet = pDlg->Execute(); |