summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-04-17 23:04:39 +0200
committerEike Rathke <erack@redhat.com>2014-04-17 23:15:03 +0200
commit58b9749159adf62efd8e0b6de14c6116517eff1e (patch)
tree3a81075e41b4739b695227fa46a5a1ae66039359 /cui
parent6ee460988873ee085ed4ad3e62a3fe6d37608685 (diff)
no temporary instance of SvtLanguageTable necessary here
Change-Id: I0265bef315051441bc648ddd66c4bf92abbd36e3
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/opthtml.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/options/opthtml.cxx b/cui/source/options/opthtml.cxx
index 3f71addc63e1..a494e41227b1 100644
--- a/cui/source/options/opthtml.cxx
+++ b/cui/source/options/opthtml.cxx
@@ -69,8 +69,7 @@ SfxTabPage( pParent, "OptHtmlPage" , "cui/ui/opthtmlpage.ui", rSet )
sal_Int32 nPos;
if ((nPos = aText.indexOf( aPlaceholder)) != -1)
{
- SvtLanguageTable aLangTab;
- const OUString& rStr = aLangTab.GetString( LANGUAGE_ENGLISH_US);
+ const OUString& rStr = SvtLanguageTable::GetLanguageString( LANGUAGE_ENGLISH_US);
if (!rStr.isEmpty())
{
aText = aText.replaceAt( nPos, aPlaceholder.getLength(), rStr);