summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-04 11:01:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-04 11:20:01 +0100
commitcf2b27494c67ea15be99140ef9cde38d646fd8f9 (patch)
tree9560257f1cc3d473dd83e0d3c9cf9413ae8f1580 /cui/source
parent1be8236b688617f93cfaf23fe647632ce53b5ff1 (diff)
some small tweaks to the html ui conversion
restore the %PRODUCTNAME and %LOCALE variables Change-Id: I2b2e62ac3dd5c1117085f96f4541218bf1100647
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/options/opthtml.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/cui/source/options/opthtml.cxx b/cui/source/options/opthtml.cxx
index 5f5322880145..7651a1e8db58 100644
--- a/cui/source/options/opthtml.cxx
+++ b/cui/source/options/opthtml.cxx
@@ -61,9 +61,10 @@ SfxTabPage( pParent, "OptHtmlPage" , "cui/ui/opthtmlpage.ui", rSet )
get(aPrintExtensionCB,"printextension");
get(aSaveGrfLocalCB,"savegrflocal");
get(aCharSetLB,"charset");
+ aCharSetLB->SetStyle(aCharSetLB->GetStyle() | WB_SORT);
// replace placeholder with UI string from language list
- /*String aText( aNumbersEnglishUSCB->GetText());
+ String aText( aNumbersEnglishUSCB->GetText());
String aPlaceholder( RTL_CONSTASCII_USTRINGPARAM( "%ENGLISHUSLOCALE"));
xub_StrLen nPos;
if ((nPos = aText.Search( aPlaceholder)) != STRING_NOTFOUND)
@@ -75,7 +76,7 @@ SfxTabPage( pParent, "OptHtmlPage" , "cui/ui/opthtmlpage.ui", rSet )
aText.Replace( nPos, aPlaceholder.Len(), rStr);
aNumbersEnglishUSCB->SetText( aText);
}
- }*/
+ }
aExportLB->SetSelectHdl(LINK(this, OfaHtmlTabPage, ExportHdl_Impl));
aStarBasicCB->SetClickHdl(LINK(this, OfaHtmlTabPage, CheckBoxHdl_Impl));