Kaydet (Commit) dd59b3aa authored tarafından Eike Rathke's avatar Eike Rathke

better use application settings

It doesn't really matter, just saves some cycles looking up the system
locale.

Change-Id: I8895593b445c49f167f26bcbf510c12a3c25e1d4
üst 71fe1190
...@@ -281,7 +281,7 @@ OUString AboutDialog::GetVersionString() ...@@ -281,7 +281,7 @@ OUString AboutDialog::GetVersionString()
OUString sBuildId = GetBuildId(); OUString sBuildId = GetBuildId();
OUString aLocaleStr = LanguageTag( LANGUAGE_SYSTEM).getBcp47() + " (" + GetLocaleString() + ")"; OUString aLocaleStr = Application::GetSettings().GetLanguageTag().getBcp47() + " (" + GetLocaleString() + ")";
if (!sBuildId.trim().isEmpty()) if (!sBuildId.trim().isEmpty())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment