[Libreoffice-commits] core.git: starmath/inc starmath/source

Marcos Paulo de Souza marcos.souza.org at gmail.com
Sat Sep 7 20:14:05 PDT 2013


 starmath/inc/smcommands.h |   36 ------------------------------------
 starmath/source/smres.src |    9 ++++++++-
 2 files changed, 8 insertions(+), 37 deletions(-)

New commits:
commit 5ab959017665e3f74ec4be8245827f3de92dd512
Author: Marcos Paulo de Souza <marcos.souza.org at gmail.com>
Date:   Thu Sep 5 19:21:19 2013 -0300

    Math: Remove not needed header file
    
    This header is used in just one place, so move all used data to that file.
    
    Change-Id: Ic3927c2bd91f71c8800f5af298de3ed640d2c263
    Reviewed-on: https://gerrit.libreoffice.org/5832
    Reviewed-by: Thomas Arnhold <thomas at arnhold.org>
    Tested-by: Thomas Arnhold <thomas at arnhold.org>

diff --git a/starmath/inc/smcommands.h b/starmath/inc/smcommands.h
deleted file mode 100644
index a0fd020..0000000
--- a/starmath/inc/smcommands.h
+++ /dev/null
@@ -1,36 +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 SM_SMCOMMANDS_H
-#define SM_SMCOMMANDS_H
-
-#define CMD_SID_ADJUST                              ".uno:Adjust"
-#define CMD_SID_ALIGN                               ".uno:ChangeAlignment"
-#define CMD_SID_DISTANCE                            ".uno:ChangeDistance"
-#define CMD_SID_FONT                                ".uno:ChangeFont"
-#define CMD_SID_FONTSIZE                            ".uno:ChangeFontSize"
-#define CMD_SID_DRAW                                ".uno:Draw"
-#define CMD_SID_VIEW100                             ".uno:View100"
-#define CMD_SID_VIEW200                             ".uno:View200"
-#define CMD_SID_VIEW050                             ".uno:View50"
-#define CMD_SID_ZOOMIN                              ".uno:ZoomIn"
-#define CMD_SID_ZOOMOUT                             ".uno:ZoomOut"
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/starmath/source/smres.src b/starmath/source/smres.src
index d03c15b..750da23 100644
--- a/starmath/source/smres.src
+++ b/starmath/source/smres.src
@@ -25,10 +25,17 @@
 #include "dialog.hrc"
 #include "toolbox.hrc"
 #include "ElementsDockingWindow.hrc"
-#include "smcommands.h"
 
 #define IMAGE_STDBTN_COLOR Color { Red = 0xff00; Green = 0x0000; Blue = 0xff00; }
 
+#define CMD_SID_ADJUST  ".uno:Adjust"
+#define CMD_SID_DRAW    ".uno:Draw"
+#define CMD_SID_VIEW100 ".uno:View100"
+#define CMD_SID_VIEW200 ".uno:View200"
+#define CMD_SID_VIEW050 ".uno:View50"
+#define CMD_SID_ZOOMIN  ".uno:ZoomIn"
+#define CMD_SID_ZOOMOUT ".uno:ZoomOut"
+
 ModalDialog RID_FONTDIALOG
 {
     HelpID = "starmath:ModalDialog:RID_FONTDIALOG";


More information about the Libreoffice-commits mailing list