Kaydet (Commit) 3b8402c7 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

odk/examples: pretty up

Change-Id: Id157616660253913ef0ef94c17a680bddacb0660
üst ee7f28ed
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
* *
*************************************************************************/ *************************************************************************/
#ifndef _Addon_HXX #ifndef INCLUDED_COMPONENTS_ADDONS_PROTOCOLHANDLERADDON_CPP_ADDON_HXX
#define _Addon_HXX #define INCLUDED_COMPONENTS_ADDONS_PROTOCOLHANDLERADDON_CPP_ADDON_HXX
#include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp> #include <com/sun/star/frame/XDispatchProvider.hpp>
...@@ -127,6 +127,6 @@ sal_Bool SAL_CALL Addon_supportsService( const ::rtl::OUString& ServiceName ) ...@@ -127,6 +127,6 @@ sal_Bool SAL_CALL Addon_supportsService( const ::rtl::OUString& ServiceName )
SAL_CALL Addon_createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & rContext) SAL_CALL Addon_createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & rContext)
throw ( ::com::sun::star::uno::Exception ); throw ( ::com::sun::star::uno::Exception );
#endif // _Addon_HXX #endif // INCLUDED_COMPONENTS_ADDONS_PROTOCOLHANDLERADDON_CPP_ADDON_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
* *
*************************************************************************/ *************************************************************************/
#ifndef _CONNECTIVITY_OSUBCOMPONENT_HXX_ #ifndef INCLUDED_DATABASE_DRIVERSKELETON_OSUBCOMPONENT_HXX
#define _CONNECTIVITY_OSUBCOMPONENT_HXX_ #define INCLUDED_DATABASE_DRIVERSKELETON_OSUBCOMPONENT_HXX
#include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/lang/DisposedException.hpp>
#include <cppuhelper/interfacecontainer.h> #include <cppuhelper/interfacecontainer.h>
...@@ -237,6 +237,7 @@ namespace connectivity ...@@ -237,6 +237,7 @@ namespace connectivity
} }
} }
#endif // _CONNECTIVITY_OSUBCOMPONENT_HXX_
#endif // INCLUDED_DATABASE_DRIVERSKELETON_OSUBCOMPONENT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
* *
*************************************************************************/ *************************************************************************/
#ifndef _CONNECTIVITY_OTYPEINFO_HXX_ #ifndef INCLUDED_DATABASE_DRIVERSKELETON_OTYPEINFO_HXX
#define _CONNECTIVITY_OTYPEINFO_HXX_ #define INCLUDED_DATABASE_DRIVERSKELETON_OTYPEINFO_HXX
#include <com/sun/star/sdbc/ColumnSearch.hpp> #include <com/sun/star/sdbc/ColumnSearch.hpp>
#include <com/sun/star/sdbc/DataType.hpp> #include <com/sun/star/sdbc/DataType.hpp>
...@@ -94,7 +94,7 @@ namespace connectivity ...@@ -94,7 +94,7 @@ namespace connectivity
inline ::rtl::OUString getDBName() const { return aTypeName; } inline ::rtl::OUString getDBName() const { return aTypeName; }
}; };
} }
#endif // _CONNECTIVITY_OTYPEINFO_HXX_
#endif // INCLUDED_DATABASE_DRIVERSKELETON_OTYPEINFO_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
* *
*************************************************************************/ *************************************************************************/
#ifndef CONNECTIVITY_SCONNECTION_HXX #ifndef INCLUDED_DATABASE_DRIVERSKELETON_SCONNECTION_HXX
#define CONNECTIVITY_SCONNECTION_HXX #define INCLUDED_DATABASE_DRIVERSKELETON_SCONNECTION_HXX
#include <com/sun/star/sdbc/SQLWarning.hpp> #include <com/sun/star/sdbc/SQLWarning.hpp>
#include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/beans/PropertyValue.hpp>
...@@ -152,6 +152,7 @@ namespace connectivity ...@@ -152,6 +152,7 @@ namespace connectivity
}; };
} }
} }
#endif // CONNECTIVITY_SCONNECTION_HXX
#endif // INCLUDED_DATABASE_DRIVERSKELETON_SCONNECTION_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
* *
*************************************************************************/ *************************************************************************/
#ifndef CONNECTIVITY_SDATABASEMETADATA_HXX #ifndef INCLUDED_DATABASE_DRIVERSKELETON_SDATABASEMETADATA_HXX
#define CONNECTIVITY_SDATABASEMETADATA_HXX #define INCLUDED_DATABASE_DRIVERSKELETON_SDATABASEMETADATA_HXX
#include "SConnection.hxx" #include "SConnection.hxx"
#include <com/sun/star/sdbc/XDatabaseMetaData.hpp> #include <com/sun/star/sdbc/XDatabaseMetaData.hpp>
...@@ -216,6 +216,6 @@ namespace connectivity ...@@ -216,6 +216,6 @@ namespace connectivity
} }
} }
#endif // CONNECTIVITY_SDATABASEMETADATA_HXX #endif // INCLUDED_DATABASE_DRIVERSKELETON_SDATABASEMETADATA_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
* *
*************************************************************************/ *************************************************************************/
#ifndef CONNECTIVITY_SDRIVER_HXX #ifndef INCLUDED_DATABASE_DRIVERSKELETON_SDRIVER_HXX
#define CONNECTIVITY_SDRIVER_HXX #define INCLUDED_DATABASE_DRIVERSKELETON_SDRIVER_HXX
#include <com/sun/star/sdbc/XDriver.hpp> #include <com/sun/star/sdbc/XDriver.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
...@@ -83,6 +83,6 @@ namespace connectivity ...@@ -83,6 +83,6 @@ namespace connectivity
} }
#endif // CONNECTIVITY_SDRIVER_HXX #endif // INCLUDED_DATABASE_DRIVERSKELETON_SDRIVER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -33,8 +33,9 @@ ...@@ -33,8 +33,9 @@
* *
*************************************************************************/ *************************************************************************/
#ifndef CONNECTIVITY_SPREPAREDSTATEMENT_HXX #ifndef INCLUDED_DATABASE_DRIVERSKELETON_SPREPAREDSTATEMENT_HXX
#define CONNECTIVITY_SPREPAREDSTATEMENT_HXX #define INCLUDED_DATABASE_DRIVERSKELETON_SPREPAREDSTATEMENT_HXX
#include "SStatement.hxx" #include "SStatement.hxx"
#include <com/sun/star/sdbc/XPreparedStatement.hpp> #include <com/sun/star/sdbc/XPreparedStatement.hpp>
#include <com/sun/star/sdbc/XParameters.hpp> #include <com/sun/star/sdbc/XParameters.hpp>
...@@ -144,6 +145,7 @@ namespace connectivity ...@@ -144,6 +145,7 @@ namespace connectivity
}; };
} }
} }
#endif // CONNECTIVITY_SPREPAREDSTATEMENT_HXX
#endif // INCLUDED_DATABASE_DRIVERSKELETON_SPREPAREDSTATEMENT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -216,6 +216,7 @@ namespace connectivity ...@@ -216,6 +216,7 @@ namespace connectivity
}; };
} }
} }
#endif // CONNECTIVITY_SRESULTSET_HXX #endif // CONNECTIVITY_SRESULTSET_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
* *
*************************************************************************/ *************************************************************************/
#ifndef CONNECTIVITY_SRESULSETMETADATA_HXX #ifndef INCLUDED_DATABASE_DRIVERSKELETON_SRESULTSETMETADATA_HXX
#define CONNECTIVITY_SRESULSETMETADATA_HXX #define INCLUDED_DATABASE_DRIVERSKELETON_SRESULTSETMETADATA_HXX
#include <com/sun/star/sdbc/XResultSetMetaData.hpp> #include <com/sun/star/sdbc/XResultSetMetaData.hpp>
#include <cppuhelper/implbase1.hxx> #include <cppuhelper/implbase1.hxx>
...@@ -88,6 +88,6 @@ namespace connectivity ...@@ -88,6 +88,6 @@ namespace connectivity
} }
} }
#endif // CONNECTIVITY_SRESULSETMETADATA_HXX #endif // INCLUDED_DATABASE_DRIVERSKELETON_SRESULTSETMETADATA_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
* *
*************************************************************************/ *************************************************************************/
#ifndef CONNECTIVITY_SSTATEMENT_HXX #ifndef INCLUDED_DATABASE_DRIVERSKELETON_SSTATEMENT_HXX
#define CONNECTIVITY_SSTATEMENT_HXX #define INCLUDED_DATABASE_DRIVERSKELETON_SSTATEMENT_HXX
#include <com/sun/star/sdbc/XStatement.hpp> #include <com/sun/star/sdbc/XStatement.hpp>
#include <com/sun/star/sdbc/XWarningsSupplier.hpp> #include <com/sun/star/sdbc/XWarningsSupplier.hpp>
...@@ -173,6 +173,7 @@ namespace connectivity ...@@ -173,6 +173,7 @@ namespace connectivity
}; };
} }
} }
#endif // CONNECTIVITY_SSTATEMENT_HXX
#endif // INCLUDED_DATABASE_DRIVERSKELETON_SSTATEMENT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
* *
*************************************************************************/ *************************************************************************/
#ifndef _CONNECTIVITY_PROPERTYIDS_HXX_ #ifndef INCLUDED_DATABASE_DRIVERSKELETON_PROPERTYIDS_HXX
#define _CONNECTIVITY_PROPERTYIDS_HXX_ #define INCLUDED_DATABASE_DRIVERSKELETON_PROPERTYIDS_HXX
// this define has to be set to split the names into different dll's or so's // this define has to be set to split the names into different dll's or so's
// every dll has his own set of property names // every dll has his own set of property names
...@@ -141,7 +141,6 @@ namespace skeleton ...@@ -141,7 +141,6 @@ namespace skeleton
#define PROPERTY_ID_PRIVILEGES 50 #define PROPERTY_ID_PRIVILEGES 50
#endif // _CONNECTIVITY_PROPERTYIDS_HXX_ #endif // INCLUDED_DATABASE_DRIVERSKELETON_PROPERTYIDS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
* *
*************************************************************************/ *************************************************************************/
#ifndef _FILTERDETECT_HXX #ifndef INCLUDED_OFFICEDEV_FILTERDEVELOPMENT_FLATXMLFILTERDETECTION_FILTERDETECT_HXX
#define _FILTERDETECT_HXX #define INCLUDED_OFFICEDEV_FILTERDEVELOPMENT_FLATXMLFILTERDETECTION_FILTERDETECT_HXX
#include <com/sun/star/document/XFilter.hpp> #include <com/sun/star/document/XFilter.hpp>
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef SD_WORKBENCH_CTP_FACTORY_HXX #ifndef INCLUDED_CUSTOMPANEL_CTP_FACTORY_HXX
#define SD_WORKBENCH_CTP_FACTORY_HXX #define INCLUDED_CUSTOMPANEL_CTP_FACTORY_HXX
#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/ui/XUIElementFactory.hpp> #include <com/sun/star/ui/XUIElementFactory.hpp>
...@@ -69,6 +69,6 @@ namespace sd { namespace colortoolpanel ...@@ -69,6 +69,6 @@ namespace sd { namespace colortoolpanel
} } // namespace sd::colortoolpanel } } // namespace sd::colortoolpanel
#endif // SD_WORKBENCH_CTP_FACTORY_HXX #endif // INCLUDED_CUSTOMPANEL_CTP_FACTORY_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#ifndef SD_WORKBENCH_CTP_PANEL_HXX #ifndef INCLUDED_CUSTOMPANEL_CTP_PANEL_HXX
#define SD_WORKBENCH_CTP_PANEL_HXX #define INCLUDED_CUSTOMPANEL_CTP_PANEL_HXX
#include <com/sun/star/ui/XToolPanel.hpp> #include <com/sun/star/ui/XToolPanel.hpp>
#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/XComponentContext.hpp>
...@@ -111,6 +111,6 @@ namespace sd { namespace colortoolpanel ...@@ -111,6 +111,6 @@ namespace sd { namespace colortoolpanel
} } // namespace sd::colortoolpanel } } // namespace sd::colortoolpanel
#endif // SD_WORKBENCH_CTP_PANEL_HXX #endif // INCLUDED_CUSTOMPANEL_CTP_PANEL_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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