[Libreoffice-commits] .: i18nutil/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Thu May 10 04:45:37 PDT 2012


 i18nutil/source/utility/paper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a50a33c3a7505f78d1ab82b746f1234f404e411e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu May 10 13:45:10 2012 +0200

    Fix fdo#49720: Dropped unnecessary "sh -c" from popen call
    
    Change-Id: I5de4ce4e26d995c447c99c8558f621dba6cdf110

diff --git a/i18nutil/source/utility/paper.cxx b/i18nutil/source/utility/paper.cxx
index a79089d..0f6b813 100644
--- a/i18nutil/source/utility/paper.cxx
+++ b/i18nutil/source/utility/paper.cxx
@@ -262,7 +262,7 @@ PaperInfo PaperInfo::getSystemDefaultPaper()
 
         // try libpaper
         // #i78617# workaround missing paperconf command
-        FILE* pPipe = popen( "sh -c paperconf 2>/dev/null", "r" );
+        FILE* pPipe = popen( "paperconf 2>/dev/null", "r" );
         if( pPipe )
         {
             Paper ePaper = PAPER_USER;


More information about the Libreoffice-commits mailing list