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

New commits:
commit a50a33c3a7505f78d1ab82b746f1234f404e411e
Author: Stephan Bergmann <sberg...@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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to