diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2013-09-05 19:21:19 -0300 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-09-08 03:13:45 +0000 |
commit | 5ab959017665e3f74ec4be8245827f3de92dd512 (patch) | |
tree | 00941ec617387db9c91128c2928b9a199ad88f95 /starmath | |
parent | 9de3cff361fc49322689e26709ca4709866f485c (diff) |
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@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/smcommands.h | 36 | ||||
-rw-r--r-- | starmath/source/smres.src | 9 |
2 files changed, 8 insertions, 37 deletions
diff --git a/starmath/inc/smcommands.h b/starmath/inc/smcommands.h deleted file mode 100644 index a0fd0201a062..000000000000 --- 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 d03c15ba1a16..750da23d8875 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"; |