[Libreoffice-commits] core.git: sw/AllLangResTarget_sw.mk sw/source

Caolán McNamara caolanm at redhat.com
Thu May 2 03:30:12 PDT 2013


 sw/AllLangResTarget_sw.mk       |    1 
 sw/source/ui/inc/table.hrc      |    1 
 sw/source/ui/table/chartins.cxx |    1 
 sw/source/ui/table/chartins.hrc |   41 -------------
 sw/source/ui/table/chartins.src |  120 ----------------------------------------
 5 files changed, 164 deletions(-)

New commits:
commit db426786a7690943143659adbf38a3768e2c17fe
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu May 2 11:05:09 2013 +0100

    unused old insert chart dialog
    
    Change-Id: Ibce96479b440dd3406cb7a46896b89834a14460f

diff --git a/sw/AllLangResTarget_sw.mk b/sw/AllLangResTarget_sw.mk
index 7c0b1b0..f0ec55f 100644
--- a/sw/AllLangResTarget_sw.mk
+++ b/sw/AllLangResTarget_sw.mk
@@ -136,7 +136,6 @@ $(eval $(call gb_SrsTarget_add_files,sw/res,\
     sw/source/ui/ribbar/workctrl.src \
     sw/source/ui/shells/shells.src \
     sw/source/ui/smartmenu/stmenu.src \
-    sw/source/ui/table/chartins.src \
     sw/source/ui/table/table.src \
     sw/source/ui/table/tabledlg.src \
     sw/source/ui/uiview/view.src \
diff --git a/sw/source/ui/inc/table.hrc b/sw/source/ui/inc/table.hrc
index b3a1111..6f7635b 100644
--- a/sw/source/ui/inc/table.hrc
+++ b/sw/source/ui/inc/table.hrc
@@ -26,7 +26,6 @@
 
 
 
-#define DLG_INSERT_CHART        (RC_TABLE_BEGIN + 12)
 #define MSG_WRONG_TABLENAME     (RC_TABLE_BEGIN + 13)
 
 #define TABLE_ACT_END           MSG_WRONG_TABLENAME
diff --git a/sw/source/ui/table/chartins.cxx b/sw/source/ui/table/chartins.cxx
index d19b1ff..de5399b 100644
--- a/sw/source/ui/table/chartins.cxx
+++ b/sw/source/ui/table/chartins.cxx
@@ -41,7 +41,6 @@
 #include <edtwin.hxx>
 
 #include <cmdid.h>
-#include <chartins.hrc>
 #include <anchoredobject.hxx>
 
 #include <comphelper/classids.hxx>
diff --git a/sw/source/ui/table/chartins.hrc b/sw/source/ui/table/chartins.hrc
deleted file mode 100644
index 2aa1e04..0000000
--- a/sw/source/ui/table/chartins.hrc
+++ /dev/null
@@ -1,41 +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 _CHARTINS_HRC
-#define _CHARTINS_HRC
-
-#include "rcid.hrc"
-#include "table.hrc"
-
-#define ED_RANGE        1
-#define FT_RANGE                2
-#define BT_NEXT         3
-#define BT_FINISH               4
-#define BT_HELP                 5
-#define BT_CANCEL               6
-#define CB_FIRST_ROW        7
-#define CB_FIRST_COL            8
-#define BT_PREV                 9
-#define FL_HLINE                10
-#define FT_TEXT                 11
-#define FL_1                    12
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/ui/table/chartins.src b/sw/source/ui/table/chartins.src
deleted file mode 100644
index ffc77cd..0000000
--- a/sw/source/ui/table/chartins.src
+++ /dev/null
@@ -1,120 +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 .
- */
-/* StarView resource file */
-#include "chartins.hrc"
-#include "helpid.h"
-ModelessDialog DLG_INSERT_CHART
-{
-    OutputSize = TRUE ;
-    SVLook = TRUE ;
-    Size = MAP_APPFONT ( 297 , 169 ) ;
-    Moveable = TRUE ;
-    HelpID = HID_INSERT_CHART ;
-    Hide = TRUE ;
-    Text [ en-US ] = "AutoFormat Chart (1-4)" ;
-    FixedLine FL_1
-    {
-        Pos = MAP_APPFONT ( 6 , 3 ) ;
-        Size = MAP_APPFONT ( 285 , 8 ) ;
-        Text [ en-US ] = "Selection" ;
-    };
-    FixedText FT_RANGE
-    {
-        Pos = MAP_APPFONT ( 12 , 16 ) ;
-        Size = MAP_APPFONT ( 40 , 8 ) ;
-        Text [ en-US ] = "A~rea" ;
-    };
-    Edit ED_RANGE
-    {
-        HelpID = "sw:Edit:DLG_INSERT_CHART:ED_RANGE";
-        Border = TRUE ;
-        Pos = MAP_APPFONT ( 56 , 14 ) ;
-        Size = MAP_APPFONT ( 229 , 12 ) ;
-    };
-    CheckBox CB_FIRST_ROW
-    {
-        HelpID = "sw:CheckBox:DLG_INSERT_CHART:CB_FIRST_ROW";
-        Pos = MAP_APPFONT ( 12 , 32 ) ;
-        Size = MAP_APPFONT ( 150 , 10 ) ;
-        TabStop = TRUE ;
-        Text [ en-US ] = "~First row as caption" ;
-        Check = TRUE ;
-    };
-    CheckBox CB_FIRST_COL
-    {
-        HelpID = "sw:CheckBox:DLG_INSERT_CHART:CB_FIRST_COL";
-        Pos = MAP_APPFONT ( 12 , 46 ) ;
-        Size = MAP_APPFONT ( 150 , 10 ) ;
-        TabStop = TRUE ;
-        Text [ en-US ] = "First ~column as caption" ;
-        Check = TRUE ;
-    };
-    FixedText FT_TEXT
-    {
-        Pos = MAP_APPFONT ( 6 , 72 ) ;
-        Size = MAP_APPFONT ( 285 , 62 ) ;
-        Text [ en-US ] = "If the selected cells do not contain the desired data, select the data range now.\n\nInclude the cells containing column and row labels if you want them to be included in your chart." ;
-        WordBreak = TRUE ;
-    };
-    FixedLine FL_HLINE
-    {
-        Pos = MAP_APPFONT ( 0 , 140 ) ;
-        Size = MAP_APPFONT ( 297 , 8 ) ;
-    };
-    HelpButton BT_HELP
-    {
-        Pos = MAP_APPFONT ( 6 , 151 ) ;
-        Size = MAP_APPFONT ( 50 , 14 ) ;
-        TabStop = TRUE ;
-    };
-    CancelButton BT_CANCEL
-    {
-        Pos = MAP_APPFONT ( 60 , 151 ) ;
-        Size = MAP_APPFONT ( 50 , 14 ) ;
-        TabStop = TRUE ;
-    };
-    PushButton BT_PREV
-    {
-        HelpID = "sw:PushButton:DLG_INSERT_CHART:BT_PREV";
-        Pos = MAP_APPFONT ( 130 , 151 ) ;
-        Size = MAP_APPFONT ( 50 , 14 ) ;
-        TabStop = TRUE ;
-        Disable = TRUE ;
-        Text [ en-US ] = "<< ~Back" ;
-    };
-    PushButton BT_NEXT
-    {
-        HelpID = "sw:PushButton:DLG_INSERT_CHART:BT_NEXT";
-        Pos = MAP_APPFONT ( 185 , 151 ) ;
-        Size = MAP_APPFONT ( 50 , 14 ) ;
-        Disable = TRUE ;
-        TabStop = TRUE ;
-        Text [ en-US ] = "~Next >>" ;
-    };
-    PushButton BT_FINISH
-    {
-        HelpID = "sw:PushButton:DLG_INSERT_CHART:BT_FINISH";
-        Pos = MAP_APPFONT ( 240 , 151 ) ;
-        Size = MAP_APPFONT ( 50 , 14 ) ;
-        TabStop = TRUE ;
-        Text [ en-US ] = "Cre~ate" ;
-    };
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list