diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-04-23 18:19:37 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-04-23 22:49:57 +0000 |
commit | 702f9c5176eebb95c5a1bfd31c1f256b79301b19 (patch) | |
tree | 2aedc04b1af4e2f36b0da9fd5b06570faa3eef40 /sd | |
parent | Revert "sw: disable failing checks" (diff) | |
download | core-702f9c5176eebb95c5a1bfd31c1f256b79301b19.tar.gz core-702f9c5176eebb95c5a1bfd31c1f256b79301b19.zip |
huge hrc and src file cleanup
* mostly fallout from ui conversion
* some completely unused defines from src files
* lots of unused HID ids
Change-Id: I976561205798db3d06ee139de6223f638e58f47a
Reviewed-on: https://gerrit.libreoffice.org/9142
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/inc/app.hrc | 6 | ||||
-rw-r--r-- | sd/source/ui/app/menuids_tmpl.src | 8 | ||||
-rw-r--r-- | sd/source/ui/app/sdmod2.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/app/tbxids_tmpl.src | 49 | ||||
-rw-r--r-- | sd/source/ui/dlg/tpoption.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/inc/tpoption.hrc | 37 |
6 files changed, 0 insertions, 102 deletions
diff --git a/sd/inc/app.hrc b/sd/inc/app.hrc index 1c63092e1788..aa15783071f7 100644 --- a/sd/inc/app.hrc +++ b/sd/inc/app.hrc @@ -62,11 +62,6 @@ #define HID_SD_CELL_STYLE_FIRST_COLUMN (HID_SD_START + 198) #define HID_SD_CELL_STYLE_LAST_COLUMN (HID_SD_START + 199) -#define SHELLID_SD_TASK_PANE_PREVIEW_CURRENT (HID_SD_START + 174) -#define SHELLID_SD_TASK_PANE_PREVIEW_RECENT (HID_SD_START + 175) -#define SHELLID_SD_TASK_PANE_PREVIEW_ALL (HID_SD_START + 176) -#define SHELLID_SD_TASK_PANE_PREVIEW_LAYOUTS (HID_SD_START + 177) - #define SID_PAGESETUP (SID_SD_START+2) #define SID_COPYOBJECTS (SID_SD_START+4) #define SID_MANAGE_LINKS (SID_SD_START+5) @@ -265,7 +260,6 @@ #define ID_VAL_DISTANCE (SID_SD_START+245) #define ID_VAL_INDEX (SID_SD_START+246) #define ID_VAL_WIDTH (SID_SD_START+247) -#define ID_VAL_PANEL_INDEX (SID_SD_START+249) // just for tests, namely that APP:HRC ff. has not to be build every time #define ID_VAL_DUMMY0 (SID_SD_START+230) diff --git a/sd/source/ui/app/menuids_tmpl.src b/sd/source/ui/app/menuids_tmpl.src index 1b47207b49e0..9a5c5c6fab49 100644 --- a/sd/source/ui/app/menuids_tmpl.src +++ b/sd/source/ui/app/menuids_tmpl.src @@ -1102,14 +1102,6 @@ };\ }; -#define MNSUB_ROTATE \ - MenuItem\ - {\ - Identifier = SID_OBJECT_ROTATE ; \ - HelpId = CMD_SID_OBJECT_ROTATE ; \ - Text [ en-US ] = "~Rotate";\ - }; - #define MN_CONNECT \ MenuItem\ {\ diff --git a/sd/source/ui/app/sdmod2.cxx b/sd/source/ui/app/sdmod2.cxx index 33e9d723da37..750b27beef06 100644 --- a/sd/source/ui/app/sdmod2.cxx +++ b/sd/source/ui/app/sdmod2.cxx @@ -52,7 +52,6 @@ #include "ViewShell.hxx" #include "FrameView.hxx" #include "sdattr.hxx" -#include "tpoption.hrc" #include "optsitem.hxx" #include "DrawDocShell.hxx" #include "drawdoc.hxx" diff --git a/sd/source/ui/app/tbxids_tmpl.src b/sd/source/ui/app/tbxids_tmpl.src index 13e718a0a1d5..57dd9cba545d 100644 --- a/sd/source/ui/app/tbxids_tmpl.src +++ b/sd/source/ui/app/tbxids_tmpl.src @@ -326,55 +326,6 @@ Hide = TRUE; \ }; -#define TBI_TRANSPARENCE \ - ToolBoxItem\ - {\ - Identifier = SID_OBJECT_TRANSPARENCE; \ - HelpID = SID_OBJECT_TRANSPARENCE; \ - Hide = TRUE; \ - }; - -#define TBI_GRADIENT \ - ToolBoxItem\ - {\ - Identifier = SID_OBJECT_GRADIENT; \ - HelpID = SID_OBJECT_GRADIENT; \ - Hide = TRUE; \ - }; - -#define TBI_CONVERT \ - ToolBoxItem\ - {\ - Identifier = SID_CONVERT;\ - HelpID = SID_CONVERT;\ - Hide = TRUE; \ - }; - -#define TBI_LSPACE_10 \ - ToolBoxItem \ - {\ - Identifier = SID_ATTR_PARA_LINESPACE_10; \ - HelpID = SID_ATTR_PARA_LINESPACE_10; \ - Hide = TRUE; \ - }; - -#define TBI_LSPACE_15 \ - ToolBoxItem \ - {\ - Identifier = SID_ATTR_PARA_LINESPACE_15; \ - HelpID = SID_ATTR_PARA_LINESPACE_15; \ - Hide = TRUE; \ - }; - -#define TBI_LSPACE_20 \ - ToolBoxItem \ - {\ - Identifier = SID_ATTR_PARA_LINESPACE_20; \ - HelpID = SID_ATTR_PARA_LINESPACE_20; \ - Hide = TRUE; \ - }; - - // Option bar diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx index d347d43c0e91..b8c4a01a75d4 100644 --- a/sd/source/ui/dlg/tpoption.cxx +++ b/sd/source/ui/dlg/tpoption.cxx @@ -36,7 +36,6 @@ #include "sdattr.hxx" #include "sdresid.hxx" #include "optsitem.hxx" -#include "tpoption.hrc" #include "tpoption.hxx" #include "strings.hrc" #include "app.hrc" diff --git a/sd/source/ui/inc/tpoption.hrc b/sd/source/ui/inc/tpoption.hrc deleted file mode 100644 index e93b38024343..000000000000 --- a/sd/source/ui/inc/tpoption.hrc +++ /dev/null @@ -1,37 +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 . - */ -#define TP_OPTIONS_LAYOUT 596 -#define TP_OPTIONS_SNAP 598 -#define GRP_SNAP 1 -#define GRP_ORTHO 2 -#define FT_SNAP_AREA 1 -#define FT_BEZ_ANGLE 4 -#define MTR_FLD_SNAP_AREA 1 -#define MTR_FLD_ANGLE 2 -#define MTR_FLD_BEZ_ANGLE 3 -#define CBX_ROTATE 8 -#define CBX_ORTHO 6 -#define CBX_BIGORTHO 7 -#define CBX_SNAPGRID 1 -#define CBX_SNAP_HELPLINES 2 -#define CBX_SNAP_BORDER 3 -#define CBX_SNAP_FRAME 4 -#define CBX_SNAP_POINTS 5 - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |