summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
Diffstat (limited to 'i18nutil')
-rw-r--r--i18nutil/source/utility/paper.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/i18nutil/source/utility/paper.cxx b/i18nutil/source/utility/paper.cxx
index 657496abcc44..7e250024ebe4 100644
--- a/i18nutil/source/utility/paper.cxx
+++ b/i18nutil/source/utility/paper.cxx
@@ -271,9 +271,10 @@ PaperInfo PaperInfo::getSystemDefaultPaper()
if (ePaper == PAPER_USER)
{
- bHalve = !aPaper.startsWith("half");
- if (bHalve)
+ if (aPaper.startsWith("half"))
+ {
aPaper = aPaper.copy(4);
+ }
ePaper = PaperInfo::fromPSName(aPaper);
}