Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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 <jengab@elte.hu>
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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.