diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-30 17:01:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-05-02 13:18:57 +0200 |
commit | 34f7e618ddd3399d9e7f3998e25545256255d02d (patch) | |
tree | fd946f8f2ab8386db89f531d49fae1718a21e943 /starmath/inc/ElementsDockingWindow.hxx | |
parent | c881756fcfdc1fa63ff534bf4538d551b2139515 (diff) |
untranslated strings are just strings
removes starmaths InsertCommand in favour of InsertCommandText
Change-Id: I5659adcaa28e5b5861d1a1cc5d2afa84009490f6
Reviewed-on: https://gerrit.libreoffice.org/37113
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/inc/ElementsDockingWindow.hxx')
-rw-r--r-- | starmath/inc/ElementsDockingWindow.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/starmath/inc/ElementsDockingWindow.hxx b/starmath/inc/ElementsDockingWindow.hxx index a7a43a1d11f4..5c16ce50f210 100644 --- a/starmath/inc/ElementsDockingWindow.hxx +++ b/starmath/inc/ElementsDockingWindow.hxx @@ -75,15 +75,15 @@ class SmElementsControl : public Control friend class ElementSelectorUIObject; friend class ElementUIObject; - static const sal_uInt16 aUnaryBinaryOperatorsList[][2]; - static const sal_uInt16 aRelationsList[][2]; - static const sal_uInt16 aSetOperations[][2]; - static const sal_uInt16 aFunctions[][2]; - static const sal_uInt16 aOperators[][2]; - static const sal_uInt16 aAttributes[][2]; - static const sal_uInt16 aBrackets[][2]; - static const sal_uInt16 aFormats[][2]; - static const sal_uInt16 aOthers[][2]; + static const std::pair<const char*, sal_uInt16> aUnaryBinaryOperatorsList[]; + static const std::pair<const char*, sal_uInt16> aRelationsList[]; + static const std::pair<const char*, sal_uInt16> aSetOperations[]; + static const std::pair<const char*, sal_uInt16> aFunctions[]; + static const std::pair<const char*, sal_uInt16> aOperators[]; + static const std::pair<const char*, sal_uInt16> aAttributes[]; + static const std::pair<const char*, sal_uInt16> aBrackets[]; + static const std::pair<const char*, sal_uInt16> aFormats[]; + static const std::pair<const char*, sal_uInt16> aOthers[]; virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) override; virtual void MouseButtonDown(const MouseEvent& rMEvt) override; @@ -103,7 +103,7 @@ class SmElementsControl : public Control void addElement(const OUString& aElementVisual, const OUString& aElementSource, const OUString& aHelpText); - void addElements(const sal_uInt16 aElementsArray[][2], sal_uInt16 size); + void addElements(const std::pair<const char*, sal_uInt16> aElementsArray[], sal_uInt16 size); void build(); |