diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-16 11:45:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-16 15:56:59 +0000 |
commit | ec6678bd4abb5a529665bc51a90caf371ba2e06f (patch) | |
tree | dda551235b7bc8bd3e7f9e3b366741643ca87459 /sc | |
parent | bfa35666268ee3f2f47b4fbec2dad9849132ade9 (diff) |
split out mid defines
Change-Id: I7606b62d96776d18c3c553bd10479a1a60b0aefa
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/mid.hrc | 30 | ||||
-rw-r--r-- | sc/inc/sc.hrc | 5 | ||||
-rw-r--r-- | sc/sdi/scslots.hrc | 1 | ||||
-rw-r--r-- | sc/source/core/data/attrib.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/app/typemap.cxx | 1 |
5 files changed, 33 insertions, 5 deletions
diff --git a/sc/inc/mid.hrc b/sc/inc/mid.hrc new file mode 100644 index 000000000000..a4c78e3442d0 --- /dev/null +++ b/sc/inc/mid.hrc @@ -0,0 +1,30 @@ +/* -*- 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_MID_HRC +#define SC_MID_HRC + +#define MID_1 1 +#define MID_2 2 +#define MID_3 3 +#define MID_4 4 + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc index 47a03ff13f0a..a0fff728e60c 100644 --- a/sc/inc/sc.hrc +++ b/sc/inc/sc.hrc @@ -1255,11 +1255,6 @@ #define RID_GLOBSTR_OFFSET SC_DIALOGS_END -#define MID_1 1 -#define MID_2 2 -#define MID_3 3 -#define MID_4 4 - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/sdi/scslots.hrc b/sc/sdi/scslots.hrc index 680cf5bc8e11..f0dae70102f2 100644 --- a/sc/sdi/scslots.hrc +++ b/sc/sdi/scslots.hrc @@ -23,5 +23,6 @@ #include <editeng/editids.hrc> #include <editeng/memberids.hrc> #include <sc.hrc> +#include <mid.hrc> /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/core/data/attrib.cxx b/sc/source/core/data/attrib.cxx index 65a8b589686c..3c740480f766 100644 --- a/sc/source/core/data/attrib.cxx +++ b/sc/source/core/data/attrib.cxx @@ -34,6 +34,7 @@ #include "global.hxx" #include "editutil.hxx" #include "sc.hrc" +#include "mid.hrc" #include "globstr.hrc" #include "textuno.hxx" diff --git a/sc/source/ui/app/typemap.cxx b/sc/source/ui/app/typemap.cxx index 81f112bd0f0c..18660b9c87f2 100644 --- a/sc/source/ui/app/typemap.cxx +++ b/sc/source/ui/app/typemap.cxx @@ -21,6 +21,7 @@ #include <svx/svxids.hrc> #include "sc.hrc" +#include "mid.hrc" #include "scitems.hxx" #include <editeng/memberids.hrc> |