diff options
Diffstat (limited to 'i18nutil/source/utility')
-rw-r--r-- | i18nutil/source/utility/paper.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/i18nutil/source/utility/paper.cxx b/i18nutil/source/utility/paper.cxx index d7c55a76eb1a..9d18618fd3a3 100644 --- a/i18nutil/source/utility/paper.cxx +++ b/i18nutil/source/utility/paper.cxx @@ -271,11 +271,7 @@ PaperInfo PaperInfo::getSystemDefaultPaper() if (ePaper == PAPER_USER) { - bHalve = aPaper.startsWith("half"); - if (bHalve) - { - aPaper = aPaper.copy(4); - } + bHalve = aPaper.startsWith("half", &aPaper); ePaper = PaperInfo::fromPSName(aPaper); } |