Kaydet (Commit) c6ffe06b authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Let's not use macros for mere forward declarations.

This macro also messed up static analysis of slickedit.
üst 44cc719a
...@@ -37,7 +37,11 @@ class StarBASIC; ...@@ -37,7 +37,11 @@ class StarBASIC;
class FmFormModel; class FmFormModel;
class FmFormPageImpl; // contains a list of all forms class FmFormPageImpl; // contains a list of all forms
FORWARD_DECLARE_INTERFACE(container,XNameContainer) namespace com { namespace sun { namespace star {
namespace container {
class XNameContainer;
}
}}}
class SdrView; class SdrView;
class SfxJSArray; class SfxJSArray;
......
...@@ -49,7 +49,11 @@ ...@@ -49,7 +49,11 @@
#include <tools/string.hxx> #include <tools/string.hxx>
#include "svx/svxdllapi.h" #include "svx/svxdllapi.h"
FORWARD_DECLARE_INTERFACE(util,XNumberFormatsSupplier) namespace com { namespace sun { namespace star {
namespace util {
class XNumberFormatsSupplier;
}
}}}
// =================================================================================================== // ===================================================================================================
// Hilfsmethoden // Hilfsmethoden
......
...@@ -33,8 +33,14 @@ ...@@ -33,8 +33,14 @@
#include <comphelper/uno3.hxx> #include <comphelper/uno3.hxx>
#include "svx/svxdllapi.h" #include "svx/svxdllapi.h"
FORWARD_DECLARE_INTERFACE(util,XNumberFormats) namespace com { namespace sun { namespace star {
FORWARD_DECLARE_INTERFACE(beans,XPropertySet) namespace beans {
class XPropertySet;
}
namespace util {
class XNumberFormats;
}
}}}
class OutputDevice; class OutputDevice;
class FmFormModel; class FmFormModel;
......
...@@ -31,9 +31,12 @@ ...@@ -31,9 +31,12 @@
#include <svl/poolitem.hxx> #include <svl/poolitem.hxx>
#include <comphelper/uno3.hxx> #include <comphelper/uno3.hxx>
// FORWARD_DECLARE_INTERFACE(awt,XControlContainer)
FORWARD_DECLARE_INTERFACE(uno,Any) namespace com { namespace sun { namespace star {
// class ::com::sun::star::uno::Any; namespace uno {
class Any;
}
}}}
//================================================================== //==================================================================
class FmInterfaceItem : public SfxPoolItem class FmInterfaceItem : public SfxPoolItem
......
...@@ -49,10 +49,15 @@ class FmFormObj; ...@@ -49,10 +49,15 @@ class FmFormObj;
class FmFormPage; class FmFormPage;
class SdrObject; class SdrObject;
//FORWARD_DECLARE_INTERFACE(uno,Reference) namespace com { namespace sun { namespace star {
FORWARD_DECLARE_INTERFACE(io,XObjectOutputStream) namespace container {
FORWARD_DECLARE_INTERFACE(io,XObjectInputStream) class XIndexContainer;
FORWARD_DECLARE_INTERFACE(container,XIndexContainer) }
namespace io {
class XObjectOutputStream;
class XObjectInputStream;
}
}}}
class SdrObjList; class SdrObjList;
......
...@@ -57,9 +57,12 @@ class FmFormObj; ...@@ -57,9 +57,12 @@ class FmFormObj;
class SdrObject; class SdrObject;
class FmXFormView; class FmXFormView;
FORWARD_DECLARE_INTERFACE(awt,XControl) namespace com { namespace sun { namespace star {
FORWARD_DECLARE_INTERFACE(awt,XControlContainer) namespace awt {
//FORWARD_DECLARE_INTERFACE(uno,Reference) class XControl;
class XControlContainer;;
}
}}}
//================================================================== //==================================================================
// FmUndoPropertyAction // FmUndoPropertyAction
......
...@@ -68,10 +68,18 @@ class OutputDevice; ...@@ -68,10 +68,18 @@ class OutputDevice;
class SdrUnoObj; class SdrUnoObj;
class SdrView; class SdrView;
FORWARD_DECLARE_INTERFACE(awt,XControl) namespace com { namespace sun { namespace star {
FORWARD_DECLARE_INTERFACE(awt,XWindow) namespace awt {
FORWARD_DECLARE_INTERFACE(beans,XPropertySet) class XControl;
FORWARD_DECLARE_INTERFACE(util,XNumberFormats) class XWindow;
}
namespace beans {
class XPropertySet;
}
namespace util {
class XNumberFormats;
}
}}}
class FmXFormView; class FmXFormView;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment