Make SDK examples compile again
...after various recent changes to include files etc. Change-Id: I9d2acbcfb09ca1df6247038afa6fbd99aa74a90d
This commit is contained in:
@@ -46,6 +46,7 @@
|
|||||||
// include our specific addon header to get access to functions and definitions
|
// include our specific addon header to get access to functions and definitions
|
||||||
#include <addon.hxx>
|
#include <addon.hxx>
|
||||||
|
|
||||||
|
using namespace ::rtl;
|
||||||
using namespace ::osl;
|
using namespace ::osl;
|
||||||
using namespace ::cppu;
|
using namespace ::cppu;
|
||||||
using namespace ::com::sun::star::uno;
|
using namespace ::com::sun::star::uno;
|
||||||
|
@@ -43,6 +43,7 @@
|
|||||||
#include <my_module/XSomething.hpp>
|
#include <my_module/XSomething.hpp>
|
||||||
|
|
||||||
|
|
||||||
|
using namespace ::rtl; // for OUString
|
||||||
using namespace ::com::sun::star; // for odk interfaces
|
using namespace ::com::sun::star; // for odk interfaces
|
||||||
using namespace ::com::sun::star::uno; // for basic types
|
using namespace ::com::sun::star::uno; // for basic types
|
||||||
|
|
||||||
|
@@ -41,6 +41,10 @@
|
|||||||
#include <cppuhelper/compbase2.hxx>
|
#include <cppuhelper/compbase2.hxx>
|
||||||
#include "SConnection.hxx"
|
#include "SConnection.hxx"
|
||||||
|
|
||||||
|
namespace com { namespace sun { namespace star { namespace lang {
|
||||||
|
class XMultiServiceFactory;
|
||||||
|
} } } }
|
||||||
|
|
||||||
namespace connectivity
|
namespace connectivity
|
||||||
{
|
{
|
||||||
namespace skeleton
|
namespace skeleton
|
||||||
|
@@ -44,6 +44,7 @@
|
|||||||
#include <com/sun/star/sdbc/FetchDirection.hpp>
|
#include <com/sun/star/sdbc/FetchDirection.hpp>
|
||||||
#include <com/sun/star/lang/DisposedException.hpp>
|
#include <com/sun/star/lang/DisposedException.hpp>
|
||||||
#include <cppuhelper/typeprovider.hxx>
|
#include <cppuhelper/typeprovider.hxx>
|
||||||
|
#include <cppuhelper/queryinterface.hxx>
|
||||||
#include "propertyids.hxx"
|
#include "propertyids.hxx"
|
||||||
|
|
||||||
using namespace connectivity::skeleton;
|
using namespace connectivity::skeleton;
|
||||||
|
@@ -43,6 +43,7 @@
|
|||||||
|
|
||||||
#include "filterdetect.hxx"
|
#include "filterdetect.hxx"
|
||||||
|
|
||||||
|
using namespace ::rtl;
|
||||||
using namespace ::cppu;
|
using namespace ::cppu;
|
||||||
using namespace ::com::sun::star::uno;
|
using namespace ::com::sun::star::uno;
|
||||||
using namespace ::com::sun::star::lang;
|
using namespace ::com::sun::star::lang;
|
||||||
|
@@ -37,6 +37,7 @@
|
|||||||
#include <cppuhelper/implbase1.hxx>
|
#include <cppuhelper/implbase1.hxx>
|
||||||
#include <cppuhelper/implbase2.hxx>
|
#include <cppuhelper/implbase2.hxx>
|
||||||
#include <cppuhelper/implbase3.hxx>
|
#include <cppuhelper/implbase3.hxx>
|
||||||
|
#include <osl/diagnose.h>
|
||||||
#include <uno/lbnames.h>
|
#include <uno/lbnames.h>
|
||||||
|
|
||||||
#include <com/sun/star/lang/XComponent.hpp>
|
#include <com/sun/star/lang/XComponent.hpp>
|
||||||
@@ -59,6 +60,7 @@
|
|||||||
#include <com/sun/star/io/XActiveDataSource.hpp>
|
#include <com/sun/star/io/XActiveDataSource.hpp>
|
||||||
#include <com/sun/star/io/XSeekable.hpp>
|
#include <com/sun/star/io/XSeekable.hpp>
|
||||||
|
|
||||||
|
using namespace ::rtl;
|
||||||
using namespace ::cppu;
|
using namespace ::cppu;
|
||||||
using namespace ::osl;
|
using namespace ::osl;
|
||||||
using namespace ::com::sun::star::beans;
|
using namespace ::com::sun::star::beans;
|
||||||
|
@@ -17,6 +17,7 @@
|
|||||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <osl/diagnose.h>
|
||||||
|
|
||||||
#include "ListenerHelper.h"
|
#include "ListenerHelper.h"
|
||||||
|
|
||||||
|
@@ -21,6 +21,7 @@
|
|||||||
#define INCLUDED_EXAMPLES_COMPLEXTOOLBARCONTROLS_MYJOB_H
|
#define INCLUDED_EXAMPLES_COMPLEXTOOLBARCONTROLS_MYJOB_H
|
||||||
|
|
||||||
#include <com/sun/star/task/XJob.hpp>
|
#include <com/sun/star/task/XJob.hpp>
|
||||||
|
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
||||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||||
#include <cppuhelper/implbase2.hxx>
|
#include <cppuhelper/implbase2.hxx>
|
||||||
|
|
||||||
|
@@ -20,6 +20,7 @@
|
|||||||
#ifndef INCLUDED_EXAMPLES_COMPLEXTOOLBARCONTROLS_MYLISTENER_H
|
#ifndef INCLUDED_EXAMPLES_COMPLEXTOOLBARCONTROLS_MYLISTENER_H
|
||||||
#define INCLUDED_EXAMPLES_COMPLEXTOOLBARCONTROLS_MYLISTENER_H
|
#define INCLUDED_EXAMPLES_COMPLEXTOOLBARCONTROLS_MYLISTENER_H
|
||||||
|
|
||||||
|
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
||||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||||
#include <com/sun/star/task/XJob.hpp>
|
#include <com/sun/star/task/XJob.hpp>
|
||||||
#include <com/sun/star/document/XEventListener.hpp>
|
#include <com/sun/star/document/XEventListener.hpp>
|
||||||
|
@@ -31,6 +31,7 @@
|
|||||||
#include <com/sun/star/system/SystemShellExecuteFlags.hpp>
|
#include <com/sun/star/system/SystemShellExecuteFlags.hpp>
|
||||||
#include <com/sun/star/system/XSystemShellExecute.hpp>
|
#include <com/sun/star/system/XSystemShellExecute.hpp>
|
||||||
#include <cppuhelper/supportsservice.hxx>
|
#include <cppuhelper/supportsservice.hxx>
|
||||||
|
#include <osl/diagnose.h>
|
||||||
|
|
||||||
using namespace com::sun::star::awt;
|
using namespace com::sun::star::awt;
|
||||||
using namespace com::sun::star::frame;
|
using namespace com::sun::star::frame;
|
||||||
|
@@ -56,6 +56,7 @@
|
|||||||
#define SERVICENAME "foo.Counter"
|
#define SERVICENAME "foo.Counter"
|
||||||
#define IMPLNAME "com.sun.star.comp.example.cpp.Counter"
|
#define IMPLNAME "com.sun.star.comp.example.cpp.Counter"
|
||||||
|
|
||||||
|
using namespace ::rtl;
|
||||||
using namespace ::osl;
|
using namespace ::osl;
|
||||||
using namespace ::cppu;
|
using namespace ::cppu;
|
||||||
using namespace ::com::sun::star::uno;
|
using namespace ::com::sun::star::uno;
|
||||||
|
@@ -57,6 +57,8 @@ using namespace cppu;
|
|||||||
using namespace com::sun::star::uno;
|
using namespace com::sun::star::uno;
|
||||||
using namespace com::sun::star::lang;
|
using namespace com::sun::star::lang;
|
||||||
|
|
||||||
|
using namespace ::rtl;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
SAL_IMPLEMENT_MAIN()
|
SAL_IMPLEMENT_MAIN()
|
||||||
|
@@ -52,6 +52,7 @@
|
|||||||
|
|
||||||
#include <cppuhelper/implbase1.hxx>
|
#include <cppuhelper/implbase1.hxx>
|
||||||
|
|
||||||
|
using namespace ::rtl;
|
||||||
using namespace ::cppu;
|
using namespace ::cppu;
|
||||||
using namespace ::osl;
|
using namespace ::osl;
|
||||||
using namespace ::com::sun::star::uno;
|
using namespace ::com::sun::star::uno;
|
||||||
|
Reference in New Issue
Block a user