summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-11-10 11:41:26 +0200
committerTor Lillqvist <tml@collabora.com>2017-11-10 11:42:10 +0200
commit992bc9dfe1687087918f5fe83d6166791533433b (patch)
treefa96201c0c1abff8119326fcf3b7cdaec5c8c628 /i18nutil
parent5ba0b8f98f874390aa839311b0164360733ec815 (diff)
There is no "paperconf" command on macOS
Change-Id: I01c4cf877eca81880381060e1b3ebedf2979bcb8
Diffstat (limited to 'i18nutil')
-rw-r--r--i18nutil/source/utility/paper.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/i18nutil/source/utility/paper.cxx b/i18nutil/source/utility/paper.cxx
index a1b8064a1fc5..1d252c43d3a7 100644
--- a/i18nutil/source/utility/paper.cxx
+++ b/i18nutil/source/utility/paper.cxx
@@ -222,6 +222,7 @@ PaperInfo PaperInfo::getSystemDefaultPaper()
if (bInitialized)
return aInstance;
+#ifndef MACOSX
// try libpaper
// #i78617# workaround missing paperconf command
FILE* pPipe = popen( "paperconf 2>/dev/null", "r" );
@@ -284,6 +285,7 @@ PaperInfo PaperInfo::getSystemDefaultPaper()
}
}
}
+#endif
#if defined(LC_PAPER) && defined(_GNU_SOURCE)
// try LC_PAPER