Hello,

While compiling debug version I found an error in servicefactory.cxx, it uses fprintf without include,so C++ does not know about fprintf. Here is a patch to resolve the issue, please put it to git.

thanks:

Gabor
>From 1ea5796bbb53ae90cde8099d0676475cd7083db3 Mon Sep 17 00:00:00 2001
From: Gabor <[email protected]>
Date: Mon, 22 Aug 2011 15:55:25 +0200
Subject: [PATCH] servicefactory fix

---
 cppuhelper/source/servicefactory.cxx |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cppuhelper/source/servicefactory.cxx 
b/cppuhelper/source/servicefactory.cxx
index e796a96..7971d7a 100644
--- a/cppuhelper/source/servicefactory.cxx
+++ b/cppuhelper/source/servicefactory.cxx
@@ -56,6 +56,7 @@
 #include "com/sun/star/registry/XSimpleRegistry.hpp"
 #include "com/sun/star/registry/XImplementationRegistration.hpp"
 #include "com/sun/star/security/XAccessController.hpp"
+#include <stdio.h>
 
 #define OUSTR(x) ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(x) )
 
-- 
1.7.2.5

_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to