From 2b3f043ad79a5b592a1034aaeee1dcb1134daaa8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 16 Mar 2017 09:50:04 +0200 Subject: remove unused defines from HRC files in cui Change-Id: I170dfc5970896365322dedf4fb797478653578a0 Reviewed-on: https://gerrit.libreoffice.org/35250 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cui/AllLangResTarget_cui.mk | 1 - cui/source/inc/helpid.hrc | 3 --- cui/source/tabpages/connect.cxx | 1 - cui/source/tabpages/paragrph.cxx | 1 - cui/source/tabpages/paragrph.hrc | 27 --------------------------- cui/source/tabpages/paragrph.src | 30 ------------------------------ cui/source/tabpages/tparea.cxx | 1 - cui/source/tabpages/tpbitmap.cxx | 1 - cui/source/tabpages/tpgradnt.cxx | 1 - cui/source/tabpages/tphatch.cxx | 1 - cui/source/tabpages/tpline.cxx | 1 - cui/source/tabpages/tppattern.cxx | 1 - cui/source/tabpages/tpshadow.cxx | 1 - cui/source/tabpages/tptrans.cxx | 1 - 14 files changed, 71 deletions(-) delete mode 100644 cui/source/tabpages/paragrph.hrc delete mode 100644 cui/source/tabpages/paragrph.src (limited to 'cui') diff --git a/cui/AllLangResTarget_cui.mk b/cui/AllLangResTarget_cui.mk index 01bbfc881bf2..f5e1a981189a 100644 --- a/cui/AllLangResTarget_cui.mk +++ b/cui/AllLangResTarget_cui.mk @@ -49,7 +49,6 @@ $(eval $(call gb_SrsTarget_add_files,cui/res,\ cui/source/options/treeopt.src \ cui/source/tabpages/border.src \ cui/source/tabpages/frmdirlbox.src \ - cui/source/tabpages/paragrph.src \ cui/source/tabpages/strings.src \ )) diff --git a/cui/source/inc/helpid.hrc b/cui/source/inc/helpid.hrc index 57ba8152989c..a69c6d92e7b8 100644 --- a/cui/source/inc/helpid.hrc +++ b/cui/source/inc/helpid.hrc @@ -27,8 +27,6 @@ #define HID_DBPATH_CTL_PATH "CUI_HID_DBPATH_CTL_PATH" #define HID_DBPATH_HEADERBAR "CUI_HID_DBPATH_HEADERBAR" #define HID_OFADLG_TREELISTBOX "CUI_HID_OFADLG_TREELISTBOX" -#define HID_CONFIG_EVENT_OFFICE_BASED "CUI_HID_CONFIG_EVENT_OFFICE_BASED" -#define HID_CONFIG_EVENT_DOCUMENT_BASED "CUI_HID_CONFIG_EVENT_DOCUMENT_BASED" #define HID_SVX_CONFIG_TOOLBAR "CUI_HID_SVX_CONFIG_TOOLBAR" #define HID_SVX_CONFIG_TOOLBAR_CONTENTS "CUI_HID_SVX_CONFIG_TOOLBAR_CONTENTS" #define HID_HANGULDLG_SUGGESTIONS "CUI_HID_HANGULDLG_SUGGESTIONS" @@ -46,7 +44,6 @@ #define HID_SVX_UP_TOOLBAR_ITEM "CUI_HID_SVX_UP_TOOLBAR_ITEM" #define HID_SVX_DOWN_TOOLBAR_ITEM "CUI_HID_SVX_DOWN_TOOLBAR_ITEM" #define HID_SVX_SAVE_IN "CUI_HID_SVX_SAVE_IN" -#define UID_SEARCH_RECORDSTATUS "CUI_UID_SEARCH_RECORDSTATUS" #define HID_ICCDIALOG_RESET_BTN "CUI_HID_ICCDIALOG_RESET_BTN" #define HID_ICCDIALOG_CHOICECTRL "CUI_HID_ICCDIALOG_CHOICECTRL" #define HID_HYPERDLG_INET_PATH "CUI_HID_HYPERDLG_INET_PATH" diff --git a/cui/source/tabpages/connect.cxx b/cui/source/tabpages/connect.cxx index 48680745fefd..5cccc974cac8 100644 --- a/cui/source/tabpages/connect.cxx +++ b/cui/source/tabpages/connect.cxx @@ -35,7 +35,6 @@ #include #include "connect.hxx" -#include "paragrph.hrc" const sal_uInt16 SvxConnectionPage::pRanges[] = { diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx index e8884854bdee..c2622a09783d 100644 --- a/cui/source/tabpages/paragrph.cxx +++ b/cui/source/tabpages/paragrph.cxx @@ -29,7 +29,6 @@ #include #include #include -#include "paragrph.hrc" #include "paragrph.hxx" #include #include diff --git a/cui/source/tabpages/paragrph.hrc b/cui/source/tabpages/paragrph.hrc deleted file mode 100644 index b59f21355bf8..000000000000 --- a/cui/source/tabpages/paragrph.hrc +++ /dev/null @@ -1,27 +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_CUI_SOURCE_TABPAGES_PARAGRPH_HRC -#define INCLUDED_CUI_SOURCE_TABPAGES_PARAGRPH_HRC - -// StandardTabPage ---------------------------------------------------------- - -#define STR_EXAMPLE 5010 -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/tabpages/paragrph.src b/cui/source/tabpages/paragrph.src deleted file mode 100644 index 8c57940dc6b6..000000000000 --- a/cui/source/tabpages/paragrph.src +++ /dev/null @@ -1,30 +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 -#include "helpid.hrc" -#include "paragrph.hrc" -#include - -String STR_EXAMPLE -{ - Text [ en-US ] = "Example" ; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx index 8b782f36d617..f8b392ae92fb 100644 --- a/cui/source/tabpages/tparea.cxx +++ b/cui/source/tabpages/tparea.cxx @@ -38,7 +38,6 @@ #include "svx/dlgutil.hxx" #include #include -#include "paragrph.hrc" #include #include "sfx2/opengrf.hxx" #include diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx index 7b51f59a34e1..722170ece74e 100644 --- a/cui/source/tabpages/tpbitmap.cxx +++ b/cui/source/tabpages/tpbitmap.cxx @@ -36,7 +36,6 @@ #include "svx/dlgutil.hxx" #include #include -#include "paragrph.hrc" #include "sfx2/opengrf.hxx" #include #include diff --git a/cui/source/tabpages/tpgradnt.cxx b/cui/source/tabpages/tpgradnt.cxx index 7aac0c7fc14c..6bd9788d296b 100644 --- a/cui/source/tabpages/tpgradnt.cxx +++ b/cui/source/tabpages/tpgradnt.cxx @@ -40,7 +40,6 @@ #include #include #include -#include "paragrph.hrc" #include diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx index 31efad7ad521..d5d115d2449f 100644 --- a/cui/source/tabpages/tphatch.cxx +++ b/cui/source/tabpages/tphatch.cxx @@ -41,7 +41,6 @@ #include #include "svx/dlgutil.hxx" #include -#include "paragrph.hrc" #include #include diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx index 03cd65e9608e..c42b9f3302a1 100644 --- a/cui/source/tabpages/tpline.cxx +++ b/cui/source/tabpages/tpline.cxx @@ -47,7 +47,6 @@ #include #include #include -#include "paragrph.hrc" #include "sfx2/opengrf.hxx" #include #include diff --git a/cui/source/tabpages/tppattern.cxx b/cui/source/tabpages/tppattern.cxx index cb4c7a3d7b88..8a6b7848035e 100644 --- a/cui/source/tabpages/tppattern.cxx +++ b/cui/source/tabpages/tppattern.cxx @@ -46,7 +46,6 @@ #include #include #include "sfx2/opengrf.hxx" -#include "paragrph.hrc" #include diff --git a/cui/source/tabpages/tpshadow.cxx b/cui/source/tabpages/tpshadow.cxx index 84179d24f7bb..892632e06730 100644 --- a/cui/source/tabpages/tpshadow.cxx +++ b/cui/source/tabpages/tpshadow.cxx @@ -31,7 +31,6 @@ #include #include "svx/dlgutil.hxx" #include -#include "paragrph.hrc" #include #include diff --git a/cui/source/tabpages/tptrans.cxx b/cui/source/tabpages/tptrans.cxx index 1c62d1b60d7a..2fbcc37a371e 100644 --- a/cui/source/tabpages/tptrans.cxx +++ b/cui/source/tabpages/tptrans.cxx @@ -38,7 +38,6 @@ #include "svx/dlgutil.hxx" #include #include -#include "paragrph.hrc" #include "sfx2/opengrf.hxx" #include -- cgit