summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-03 20:11:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-04 14:39:37 +0000
commitfa9c00760bd6ab39437cee6bc112024009e67b58 (patch)
treedd0ffc7b3625638f67ae0c48ac2fc8cd3b00851d
parent774fa68764b01aad9c79d2ca73f78758f3a99972 (diff)
this windows-only quote replacement looks out of date
its there since initial checkin and I rather feel things have moved on since then Change-Id: Iea3aa1c5a1637cecdd18539987ef8b84db095e9a
-rw-r--r--sw/source/uibase/utlui/initui.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sw/source/uibase/utlui/initui.cxx b/sw/source/uibase/utlui/initui.cxx
index 8713459eff50..ab67b03b5c5d 100644
--- a/sw/source/uibase/utlui/initui.cxx
+++ b/sw/source/uibase/utlui/initui.cxx
@@ -290,18 +290,10 @@ ImpAutoFormatNameListLoader::ImpAutoFormatNameListLoader( std::vector<OUString>&
OUString p(ResId(n + 1, *pSwResMgr));
if(STR_AUTOFMTREDL_TYPO == n)
{
-#ifdef _WIN32
- // For Windows, a special treatment is necessary because MS has
- // forgotten some characters in the dialog font here.
- p = p.replaceFirst("%1", ",,");
- p = p.replaceFirst("%2", "''");
-#else
const SvtSysLocale aSysLocale;
const LocaleDataWrapper& rLclD = aSysLocale.GetLocaleData();
- // With real operating systems it also works without special handling.
p = p.replaceFirst("%1", rLclD.getDoubleQuotationMarkStart());
p = p.replaceFirst("%2", rLclD.getDoubleQuotationMarkEnd());
-#endif
}
rLst.insert(rLst.begin() + n, p);
}