diff options
Diffstat (limited to 'cui/source/inc/about.hxx')
-rw-r--r-- | cui/source/inc/about.hxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/cui/source/inc/about.hxx b/cui/source/inc/about.hxx index 37d1710a7f93..42eae5467eab 100644 --- a/cui/source/inc/about.hxx +++ b/cui/source/inc/about.hxx @@ -16,10 +16,8 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CUI_SOURCE_INC_ABOUT_HXX -#define INCLUDED_CUI_SOURCE_INC_ABOUT_HXX +#pragma once -#include <vcl/bitmapex.hxx> #include <vcl/weld.hxx> class AboutDialog : public weld::GenericDialogController @@ -40,16 +38,15 @@ private: std::unique_ptr<weld::Label> m_pUILabel; std::unique_ptr<weld::Label> m_pLocaleLabel; std::unique_ptr<weld::Label> m_pMiscLabel; - std::unique_ptr<weld::Label> m_pAboutLabel; std::unique_ptr<weld::Label> m_pCopyrightLabel; static OUString GetVersionString(); static OUString GetBuildString(); - static OUString GetLocaleString(); + static OUString GetLocaleString(bool bLocalized = true); static OUString GetMiscString(); static OUString GetCopyrightString(); - static bool IsStringValidGitHash(const OUString& hash); + static bool IsStringValidGitHash(std::u16string_view hash); DECL_LINK(HandleClick, weld::Button&, void); @@ -58,6 +55,4 @@ public: virtual ~AboutDialog() override; }; -#endif // INCLUDED_CUI_SOURCE_INC_ABOUT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |