tdf#124176 on starmath

Change-Id: I816a12d5f47dd258fb01f14b901328d3e3d68e28
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111690
Tested-by: Jenkins
Reviewed-by: Roman Kuznetsov <antilibreoffice@gmail.com>
This commit is contained in:
dante 2021-02-28 11:25:21 +01:00 committed by Roman Kuznetsov
parent 11083d1fcf
commit 1a9dd0084d
47 changed files with 61 additions and 184 deletions

View File

@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_ACCESSIBLESMELEMENT_HXX
#define INCLUDED_STARMATH_INC_ACCESSIBLESMELEMENT_HXX #pragma once
#include <com/sun/star/accessibility/XAccessible.hpp> #include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/accessibility/XAccessibleAction.hpp> #include <com/sun/star/accessibility/XAccessibleAction.hpp>
@ -98,6 +98,4 @@ public:
SAL_CALL getAccessibleActionKeyBinding(sal_Int32 nIndex) override; SAL_CALL getAccessibleActionKeyBinding(sal_Int32 nIndex) override;
}; };
#endif // INCLUDED_STARMATH_INC_ACCESSIBLESMELEMENT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_ACCESSIBLESMELEMENTSCONTROL_HXX
#define INCLUDED_STARMATH_INC_ACCESSIBLESMELEMENTSCONTROL_HXX #pragma once
#include <comphelper/accessiblecomponenthelper.hxx> #include <comphelper/accessiblecomponenthelper.hxx>
#include <com/sun/star/accessibility/XAccessibleSelection.hpp> #include <com/sun/star/accessibility/XAccessibleSelection.hpp>
@ -103,6 +103,4 @@ void AccessibleSmElementsControl::AcquireFocus() { UpdateFocus(SAL_MAX_UINT16);
void AccessibleSmElementsControl::ReleaseFocus(sal_uInt16 nPos) { UpdateFocus(nPos); } void AccessibleSmElementsControl::ReleaseFocus(sal_uInt16 nPos) { UpdateFocus(nPos); }
#endif // INCLUDED_STARMATH_INC_ACCESSIBLESMELEMENTSCONTROL_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_ELEMENTSDOCKINGWINDOW_HXX #pragma once
#define INCLUDED_STARMATH_INC_ELEMENTSDOCKINGWINDOW_HXX
#include <sfx2/dockwin.hxx> #include <sfx2/dockwin.hxx>
#include <vcl/customweld.hxx> #include <vcl/customweld.hxx>
@ -189,6 +188,4 @@ class SmElementsDockingWindowWrapper final : public SfxChildWindow
virtual ~SmElementsDockingWindowWrapper() override; virtual ~SmElementsDockingWindowWrapper() override;
}; };
#endif // INCLUDED_STARMATH_INC_ELEMENTSDOCKINGWINDOW_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -16,6 +16,7 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#pragma once #pragma once
#include <svl/undo.hxx> #include <svl/undo.hxx>

View File

@ -6,8 +6,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#ifndef INCLUDED_STARMATH_INC_CARET_HXX
#define INCLUDED_STARMATH_INC_CARET_HXX #pragma once
#include <sal/config.h> #include <sal/config.h>
#include "node.hxx" #include "node.hxx"
@ -421,6 +421,4 @@ private:
* - Insert the new subtree where the old was taken * - Insert the new subtree where the old was taken
*/ */
#endif // INCLUDED_STARMATH_INC_CARET_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_SOURCE_CFGITEM_HXX #pragma once
#define INCLUDED_STARMATH_SOURCE_CFGITEM_HXX
#include "utility.hxx" #include "utility.hxx"
@ -184,6 +183,4 @@ public:
void ConfigToItemSet(SfxItemSet& rSet) const; void ConfigToItemSet(SfxItemSet& rSet) const;
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -6,8 +6,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#ifndef INCLUDED_STARMATH_INC_CURSOR_HXX
#define INCLUDED_STARMATH_INC_CURSOR_HXX #pragma once
#include "caret.hxx" #include "caret.hxx"
@ -422,6 +422,4 @@ private:
static SmNode* Error(); static SmNode* Error();
}; };
#endif // INCLUDED_STARMATH_INC_CURSOR_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_DIALOG_HXX
#define INCLUDED_STARMATH_INC_DIALOG_HXX #pragma once
#include <sfx2/tabdlg.hxx> #include <sfx2/tabdlg.hxx>
#include <vcl/outdev.hxx> #include <vcl/outdev.hxx>
@ -479,7 +479,4 @@ public:
void SelectChar(sal_Unicode cChar); void SelectChar(sal_Unicode cChar);
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_DOCUMENT_HXX #pragma once
#define INCLUDED_STARMATH_INC_DOCUMENT_HXX
#include <rtl/strbuf.hxx> #include <rtl/strbuf.hxx>
#include <sfx2/docfac.hxx> #include <sfx2/docfac.hxx>
@ -214,6 +213,4 @@ public:
void UpdateEditEngineDefaultFonts(const Color& aTextColor); void UpdateEditEngineDefaultFonts(const Color& aTextColor);
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_EDIT_HXX
#define INCLUDED_STARMATH_INC_EDIT_HXX #pragma once
#include <vcl/window.hxx> #include <vcl/window.hxx>
#include <vcl/idle.hxx> #include <vcl/idle.hxx>
@ -135,6 +135,4 @@ public:
using Window::GetAccessible; using Window::GetAccessible;
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -16,9 +16,8 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_FORMAT_HXX
#define INCLUDED_STARMATH_INC_FORMAT_HXX
#pragma once
#include <svl/hint.hxx> #include <svl/hint.hxx>
#include <svl/SfxBroadcaster.hxx> #include <svl/SfxBroadcaster.hxx>
@ -149,6 +148,4 @@ inline bool SmFormat::operator != (const SmFormat &rFormat) const
return !(*this == rFormat); return !(*this == rFormat);
} }
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_HELPIDS_H
#define INCLUDED_STARMATH_INC_HELPIDS_H #pragma once
#define HID_SMA_WIN_DOCUMENT "STARMATH_HID_SMA_WIN_DOCUMENT" #define HID_SMA_WIN_DOCUMENT "STARMATH_HID_SMA_WIN_DOCUMENT"
#define HID_SMA_COMMAND_WIN_EDIT "STARMATH_HID_SMA_COMMAND_WIN_EDIT" #define HID_SMA_COMMAND_WIN_EDIT "STARMATH_HID_SMA_COMMAND_WIN_EDIT"
@ -49,6 +49,4 @@
#define HID_SMA_LOWERBORDER_DIST "STARMATH_HID_SMA_LOWERBORDER_DIST" #define HID_SMA_LOWERBORDER_DIST "STARMATH_HID_SMA_LOWERBORDER_DIST"
#define HID_SMA_BRACKET_EXCHEIGHT2 "STARMATH_HID_SMA_BRACKET_EXCHEIGHT2" #define HID_SMA_BRACKET_EXCHEIGHT2 "STARMATH_HID_SMA_BRACKET_EXCHEIGHT2"
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -24,8 +24,7 @@
may be significant may be significant
*/ */
#ifndef MATH_MO_HXX #pragma once
#define MATH_MO_HXX
#include <sal/types.h> #include <sal/types.h>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
@ -107,6 +106,4 @@ constexpr size_t MATHML_MO_COUNT = 1100;
extern std::vector<moOperatorData> moOperatorDataDictionary; extern std::vector<moOperatorData> moOperatorDataDictionary;
} }
#endif /* MATH_MO_HXX */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#ifndef INCLUDED_STARMATH_SOURCE_MATHMLATTR_HXX #pragma once
#define INCLUDED_STARMATH_SOURCE_MATHMLATTR_HXX
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <sal/types.h> #include <sal/types.h>
@ -74,6 +73,4 @@ enum class MathMLMathvariantValue
bool GetMathMLMathvariantValue(const OUString& rStr, MathMLMathvariantValue& rV); bool GetMathMLMathvariantValue(const OUString& rStr, MathMLMathvariantValue& rV);
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_SOURCE_MATHMLEXPORT_HXX #pragma once
#define INCLUDED_STARMATH_SOURCE_MATHMLEXPORT_HXX
#include <xmloff/xmlexp.hxx> #include <xmloff/xmlexp.hxx>
#include <xmloff/xmltoken.hxx> #include <xmloff/xmltoken.hxx>
@ -123,6 +122,4 @@ public:
bool GetSuccess() const { return bSuccess; } bool GetSuccess() const { return bSuccess; }
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_SOURCE_MATHMLIMPORT_HXX #pragma once
#define INCLUDED_STARMATH_SOURCE_MATHMLIMPORT_HXX
#include <xmloff/xmlimp.hxx> #include <xmloff/xmlimp.hxx>
#include <vcl/errcode.hxx> #include <vcl/errcode.hxx>
@ -112,6 +111,4 @@ public:
sal_uInt16 GetSmSyntaxVersion() const { return mnSmSyntaxVersion; } sal_uInt16 GetSmSyntaxVersion() const { return mnSmSyntaxVersion; }
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -328,3 +328,5 @@ SmColorTokenTableEntry Identify_ColorName_HTML(const OUString& colorname);
*/ */
const SmColorTokenTableEntry* Identify_ColorName_DVIPSNAMES(const OUString& colorname); const SmColorTokenTableEntry* Identify_ColorName_DVIPSNAMES(const OUString& colorname);
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef XPARSEMLBASE #pragma once
#define XPARSEMLBASE
#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/beans/Pair.hpp> #include <com/sun/star/beans/Pair.hpp>
@ -51,4 +50,4 @@ const extern ::css::uno::Sequence<::css::beans::Pair<::rtl::OUString, ::rtl::OUS
icustomMathmlHtmlEntitiesExport; icustomMathmlHtmlEntitiesExport;
}; };
#endif /*XPARSEMLBASE*/ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -59,8 +59,7 @@
* *
*/ */
#ifndef INCLUDED_STARMATH_INC_NODE_HXX #pragma once
#define INCLUDED_STARMATH_INC_NODE_HXX
#include "types.hxx" #include "types.hxx"
#include "token.hxx" #include "token.hxx"
@ -2104,7 +2103,4 @@ public:
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -21,8 +21,7 @@
* *
*/ */
#ifndef INCLUDED_STARMATH_INC_PARSE_HXX #pragma once
#define INCLUDED_STARMATH_INC_PARSE_HXX
#include "parse5.hxx" #include "parse5.hxx"
@ -35,6 +34,4 @@ AbstractSmParser* GetVersionSmParser(sal_uInt16 nVersion);
} }
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -21,8 +21,7 @@
* *
*/ */
#ifndef INCLUDED_STARMATH_INC_PARSE5_HXX #pragma once
#define INCLUDED_STARMATH_INC_PARSE5_HXX
#include "parsebase.hxx" #include "parsebase.hxx"
@ -118,6 +117,4 @@ public:
inline bool SmParser::TokenInGroup(TG nGroup) { return bool(m_aCurToken.nGroup & nGroup); } inline bool SmParser::TokenInGroup(TG nGroup) { return bool(m_aCurToken.nGroup & nGroup); }
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -21,8 +21,7 @@
* *
*/ */
#ifndef INCLUDED_STARMATH_INC_PARSEBASE_HXX #pragma once
#define INCLUDED_STARMATH_INC_PARSEBASE_HXX
#include <unotools/charclass.hxx> #include <unotools/charclass.hxx>
@ -113,6 +112,4 @@ public:
virtual const std::set<OUString>& GetUsedSymbols() const = 0; virtual const std::set<OUString>& GetUsedSymbols() const = 0;
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_RECT_HXX #pragma once
#define INCLUDED_STARMATH_INC_RECT_HXX
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <sal/log.hxx> #include <sal/log.hxx>
@ -214,6 +213,4 @@ inline tools::Rectangle SmRect::AsRectangle() const
return tools::Rectangle(Point(GetItalicLeft(), GetTop()), GetItalicSize()); return tools::Rectangle(Point(GetItalicLeft(), GetTop()), GetItalicSize());
} }
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_SMDLL_HXX
#define INCLUDED_STARMATH_INC_SMDLL_HXX #pragma once
#include "smdllapi.hxx" #include "smdllapi.hxx"
@ -26,6 +26,4 @@ namespace SmGlobals
SM_DLLPUBLIC void ensure(); SM_DLLPUBLIC void ensure();
} }
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#ifndef INCLUDED_STARMATH_INC_SMDLLAPI_HXX #pragma once
#define INCLUDED_STARMATH_INC_SMDLLAPI_HXX
#include <sal/types.h> #include <sal/types.h>
@ -18,6 +17,4 @@
#define SM_DLLPUBLIC SAL_DLLPUBLIC_IMPORT #define SM_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif #endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -6,8 +6,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#ifndef INCLUDED_VCL_INC_STRINGS_HRC
#define INCLUDED_VCL_INC_STRINGS_HRC #pragma once
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
@ -87,6 +87,4 @@ const char* RID_UI_SYMBOL_NAMES[] =
NC_("RID_UI_SYMBOL_NAMES", "or") NC_("RID_UI_SYMBOL_NAMES", "or")
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_SMMOD_HXX #pragma once
#define INCLUDED_STARMATH_INC_SMMOD_HXX
#include <sfx2/module.hxx> #include <sfx2/module.hxx>
#include <sfx2/app.hxx> #include <sfx2/app.hxx>
@ -101,6 +100,4 @@ public:
#define SM_MOD() ( static_cast<SmModule*>(SfxApplication::GetModule(SfxToolsModule::Math)) ) #define SM_MOD() ( static_cast<SmModule*>(SfxApplication::GetModule(SfxToolsModule::Math)) )
#endif // INCLUDED_STARMATH_INC_SMMOD_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_STARMATH_HRC #pragma once
#define INCLUDED_STARMATH_INC_STARMATH_HRC
#include <svl/solar.hrc> #include <svl/solar.hrc>
@ -70,6 +69,4 @@
#define SID_AUTO_CLOSE_BRACKETS (SID_SMA_START + 127) #define SID_AUTO_CLOSE_BRACKETS (SID_SMA_START + 127)
#define SID_DEFAULT_SM_SYNTAX_VERSION (SID_SMA_START + 130) #define SID_DEFAULT_SM_SYNTAX_VERSION (SID_SMA_START + 130)
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -24,8 +24,7 @@
* When passing the mouse over them, those descriptions will be displayed. * When passing the mouse over them, those descriptions will be displayed.
*/ */
#ifndef INCLUDED_SM_INC_STRINGS_HRC #pragma once
#define INCLUDED_SM_INC_STRINGS_HRC
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
@ -402,6 +401,4 @@
#define RID_PRINTUIOPT_SCALING NC_("RID_PRINTUIOPT_SCALING", "~Scaling" ) #define RID_PRINTUIOPT_SCALING NC_("RID_PRINTUIOPT_SCALING", "~Scaling" )
// clang-format on // clang-format on
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -13,8 +13,7 @@
* The user can then graphically insert them. * The user can then graphically insert them.
*/ */
#ifndef INCLUDED_STARMATH_INC_STRINGS_HXX #pragma once
#define INCLUDED_STARMATH_INC_STRINGS_HXX
#define RID_UNDOFORMATNAME "Format" #define RID_UNDOFORMATNAME "Format"
@ -302,6 +301,4 @@
#define RID_XNOTSUCCEEDSY "<?> nsucc <?> " #define RID_XNOTSUCCEEDSY "<?> nsucc <?> "
// clang-format on // clang-format on
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */

View File

@ -22,8 +22,7 @@
* Will remember the char name, char code and font. * Will remember the char name, char code and font.
*/ */
#ifndef INCLUDED_STARMATH_INC_SYMBOL_HXX #pragma once
#define INCLUDED_STARMATH_INC_SYMBOL_HXX
#include <map> #include <map>
#include <vector> #include <vector>
@ -106,6 +105,4 @@ public:
void Save(); void Save();
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -26,8 +26,7 @@
* Location of the token in the starmath code. * Location of the token in the starmath code.
*/ */
#ifndef INCLUDED_STARMATH_INC_TOKEN_HXX #pragma once
#define INCLUDED_STARMATH_INC_TOKEN_HXX
#include "types.hxx" #include "types.hxx"
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
@ -309,6 +308,4 @@ struct SmToken
void setChar(sal_Unicode cChar) { cMathChar = OUString(&cChar, 1); } void setChar(sal_Unicode cChar) { cMathChar = OUString(&cChar, 1); }
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_TYPES_HXX #pragma once
#define INCLUDED_STARMATH_INC_TYPES_HXX
#include <sal/types.h> #include <sal/types.h>
#define FONTNAME_MATH "OpenSymbol" #define FONTNAME_MATH "OpenSymbol"
@ -204,6 +203,4 @@ sal_Unicode const MS_SUCCEEDSEQUIV = 0x227F;
sal_Unicode const MS_NOTPRECEDES = 0x2280; sal_Unicode const MS_NOTPRECEDES = 0x2280;
sal_Unicode const MS_NOTSUCCEEDS = 0x2281; sal_Unicode const MS_NOTSUCCEEDS = 0x2281;
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_UNOMODEL_HXX
#define INCLUDED_STARMATH_INC_UNOMODEL_HXX #pragma once
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/view/XRenderable.hpp> #include <com/sun/star/view/XRenderable.hpp>
@ -91,7 +91,4 @@ public:
virtual Size getFormulaSize() const override; virtual Size getFormulaSize() const override;
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_UTILITY_HXX
#define INCLUDED_STARMATH_INC_UTILITY_HXX #pragma once
#include <sal/config.h> #include <sal/config.h>
@ -142,6 +142,4 @@ public:
virtual void Insert(const vcl::Font &rFont) override; virtual void Insert(const vcl::Font &rFont) override;
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -16,8 +16,8 @@
* except in compliance with the License. You may obtain a copy of * except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_INC_VIEW_HXX
#define INCLUDED_STARMATH_INC_VIEW_HXX #pragma once
#include <sal/config.h> #include <sal/config.h>
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
@ -309,6 +309,4 @@ private:
void ZoomByItemSet(const SfxItemSet *pSet); void ZoomByItemSet(const SfxItemSet *pSet);
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -19,8 +19,7 @@
* *
*/ */
#ifndef INCLUDED_STARMATH_INC_VISITORS_HXX #pragma once
#define INCLUDED_STARMATH_INC_VISITORS_HXX
#include <sal/config.h> #include <sal/config.h>
#include <sal/log.hxx> #include <sal/log.hxx>
@ -493,6 +492,4 @@ private:
OUStringBuffer maCmdText; OUStringBuffer maCmdText;
}; };
#endif // INCLUDED_STARMATH_INC_VISITORS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_SOURCE_ACCESSIBILITY_HXX #pragma once
#define INCLUDED_STARMATH_SOURCE_ACCESSIBILITY_HXX
#include <com/sun/star/accessibility/AccessibleScrollType.hpp> #include <com/sun/star/accessibility/AccessibleScrollType.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp> #include <com/sun/star/accessibility/XAccessible.hpp>
@ -355,7 +354,4 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_SOURCE_EQNOLEFILEHDR_HXX #pragma once
#define INCLUDED_STARMATH_SOURCE_EQNOLEFILEHDR_HXX
#include <sal/types.h> #include <sal/types.h>
#include <tools/stream.hxx> #include <tools/stream.hxx>
@ -72,6 +71,4 @@ public:
bool GetMathTypeVersion( SotStorage* pStor, sal_uInt8 &nVersion ); bool GetMathTypeVersion( SotStorage* pStor, sal_uInt8 &nVersion );
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_SOURCE_MATHTYPE_HXX #pragma once
#define INCLUDED_STARMATH_SOURCE_MATHTYPE_HXX
#include <node.hxx> #include <node.hxx>
@ -181,7 +180,4 @@ public:
sal_uInt8 nVersion,sal_uInt8 nTypeFace=0); sal_uInt8 nVersion,sal_uInt8 nTypeFace=0);
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#ifndef INCLUDED_STARMATH_SOURCE_OOXMLEXPORT_HXX #pragma once
#define INCLUDED_STARMATH_SOURCE_OOXMLEXPORT_HXX
#include "wordexportbase.hxx" #include "wordexportbase.hxx"
@ -44,6 +43,4 @@ private:
oox::drawingml::DocumentType const m_DocumentType; oox::drawingml::DocumentType const m_DocumentType;
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#ifndef INCLUDED_STARMATH_SOURCE_OOXMLIMPORT_HXX #pragma once
#define INCLUDED_STARMATH_SOURCE_OOXMLIMPORT_HXX
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
@ -49,6 +48,4 @@ private:
oox::formulaimport::XmlStream& m_rStream; oox::formulaimport::XmlStream& m_rStream;
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#ifndef INCLUDED_STARMATH_SOURCE_RTFEXPORT_HXX #pragma once
#define INCLUDED_STARMATH_SOURCE_RTFEXPORT_HXX
#include "wordexportbase.hxx" #include "wordexportbase.hxx"
@ -40,6 +39,4 @@ private:
rtl_TextEncoding m_nEncoding; rtl_TextEncoding m_nEncoding;
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_SOURCE_SMDETECT_HXX #pragma once
#define INCLUDED_STARMATH_SOURCE_SMDETECT_HXX
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <com/sun/star/document/XExtendedFilterDetection.hpp> #include <com/sun/star/document/XExtendedFilterDetection.hpp>
@ -44,6 +43,4 @@ public:
virtual OUString SAL_CALL detect( css::uno::Sequence< css::beans::PropertyValue >& lDescriptor ) override; virtual OUString SAL_CALL detect( css::uno::Sequence< css::beans::PropertyValue >& lDescriptor ) override;
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef INCLUDED_STARMATH_SOURCE_TMPDEVICE_HXX #pragma once
#define INCLUDED_STARMATH_SOURCE_TMPDEVICE_HXX
#include <tools/color.hxx> #include <tools/color.hxx>
#include <vcl/outdev.hxx> #include <vcl/outdev.hxx>
@ -44,6 +43,4 @@ public:
operator OutputDevice&() { return rOutDev; } operator OutputDevice&() { return rOutDev; }
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#ifndef INCLUDED_STARMATH_SOURCE_UIOBJECT_HXX #pragma once
#define INCLUDED_STARMATH_SOURCE_UIOBJECT_HXX
#include <vcl/uitest/uiobject.hxx> #include <vcl/uitest/uiobject.hxx>
#include <ElementsDockingWindow.hxx> #include <ElementsDockingWindow.hxx>
@ -55,6 +54,4 @@ protected:
virtual OUString get_name() const override; virtual OUString get_name() const override;
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/ */
#ifndef INCLUDED_STARMATH_SOURCE_WORDEXPORTBASE_HXX #pragma once
#define INCLUDED_STARMATH_SOURCE_WORDEXPORTBASE_HXX
#include <node.hxx> #include <node.hxx>
@ -46,6 +45,4 @@ private:
const SmNode* const m_pTree; const SmNode* const m_pTree;
}; };
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */