diff options
author | Jens Carl <j.carl43@gmx.de> | 2014-05-30 22:09:54 +0000 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-06-01 16:13:05 +0000 |
commit | 57217e1e9f995ec413e5eecaf171481373a0a8d0 (patch) | |
tree | c5be8a3370b2cc1bf8078e3d09d8a26d89fcbcb5 | |
parent | 8f0160a10dd2a5746c531040ffbf638e356f6d5d (diff) |
fdo#68849: Add header guards to all include files
Added header guards to files in directories stoc/, and svtools/
Change-Id: Ib6691b0e3fa09d71696ab947d357e489eb35df66
Reviewed-on: https://gerrit.libreoffice.org/9584
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
-rw-r--r-- | stoc/inc/stocservices.hxx | 4 | ||||
-rw-r--r-- | stoc/source/corereflection/base.hxx | 5 | ||||
-rw-r--r-- | stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.hxx | 8 | ||||
-rw-r--r-- | svtools/source/control/toolbarmenuimp.hxx | 5 | ||||
-rw-r--r-- | svtools/source/control/valueimp.hxx | 5 | ||||
-rw-r--r-- | svtools/source/toolpanel/toolpaneldrawer.hxx | 4 |
6 files changed, 26 insertions, 5 deletions
diff --git a/stoc/inc/stocservices.hxx b/stoc/inc/stocservices.hxx index fb10f02f47fe..4136f2228f94 100644 --- a/stoc/inc/stocservices.hxx +++ b/stoc/inc/stocservices.hxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef INCLUDED_STOC_INC_STOCSERVICES_HXX +#define INCLUDED_STOC_INC_STOCSERVICES_HXX #include <rtl/ustring.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -83,4 +85,6 @@ namespace stoc_services } } // namespace +#endif // INCLUDED_STOC_INC_STOCSERVICES_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/stoc/source/corereflection/base.hxx b/stoc/source/corereflection/base.hxx index 17cae3c9facb..909b182ead58 100644 --- a/stoc/source/corereflection/base.hxx +++ b/stoc/source/corereflection/base.hxx @@ -18,6 +18,9 @@ */ // #define TEST_LIST_CLASSES +#ifndef INCLUDED_STOC_SOURCE_COREREFLECTION_BASE_HXX +#define INCLUDED_STOC_SOURCE_COREREFLECTION_BASE_HXX + #include <osl/diagnose.h> #include <osl/mutex.hxx> #include <uno/mapping.hxx> @@ -432,4 +435,6 @@ inline bool coerce_assign( } +#endif // INCLUDED_STOC_SOURCE_COREREFLECTION_BASE_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.hxx b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.hxx index 5e9cf9562ad0..5b39379cf8ea 100644 --- a/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.hxx +++ b/stoc/source/uriproc/UriSchemeParser_vndDOTsunDOTstarDOTscript.hxx @@ -17,10 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef \ - INCLUDED_stoc_source_uriproc_UriSchemeParser_vndDOTsunDOTstarDOTscript_hxx -#define \ - INCLUDED_stoc_source_uriproc_UriSchemeParser_vndDOTsunDOTstarDOTscript_hxx +#ifndef INCLUDED_STOC_SOURCE_URIPROC_URISCHEMEPARSER_VNDDOTSUNDOTSTARDOTSCRIPT_HXX +#define INCLUDED_STOC_SOURCE_URIPROC_URISCHEMEPARSER_VNDDOTSUNDOTSTARDOTSCRIPT_HXX #include <com/sun/star/uno/Exception.hpp> #include <com/sun/star/uno/Reference.hxx> @@ -50,6 +48,6 @@ namespace UriSchemeParser_vndDOTsunDOTstarDOTscript { } } -#endif +#endif // INCLUDED_STOC_SOURCE_URIPROC_URISCHEMEPARSER_VNDDOTSUNDOTSTARDOTSCRIPT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/control/toolbarmenuimp.hxx b/svtools/source/control/toolbarmenuimp.hxx index 235f1f4ce617..94e908d434e4 100644 --- a/svtools/source/control/toolbarmenuimp.hxx +++ b/svtools/source/control/toolbarmenuimp.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef INCLUDED_SVTOOLS_SOURCE_CONTROL_TOOLBARMENUIMP_HXX +#define INCLUDED_SVTOOLS_SOURCE_CONTROL_TOOLBARMENUIMP_HXX + #include <osl/mutex.hxx> #include <vcl/image.hxx> #include <vcl/menu.hxx> @@ -311,4 +314,6 @@ struct ToolbarMenu_Impl } +#endif // INCLUDED_SVTOOLS_SOURCE_CONTROL_TOOLBARMENUIMP_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/control/valueimp.hxx b/svtools/source/control/valueimp.hxx index c6e2a644a69e..7651de8e1864 100644 --- a/svtools/source/control/valueimp.hxx +++ b/svtools/source/control/valueimp.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef INCLUDED_SVTOOLS_SOURCE_CONTROL_VALUEIMP_HXX +#define INCLUDED_SVTOOLS_SOURCE_CONTROL_VALUEIMP_HXX + #include <osl/mutex.hxx> #include <tools/color.hxx> #include <vcl/image.hxx> @@ -263,4 +266,6 @@ public: virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; }; +#endif // INCLUDED_SVTOOLS_SOURCE_CONTROL_VALUEIMP_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/toolpanel/toolpaneldrawer.hxx b/svtools/source/toolpanel/toolpaneldrawer.hxx index c237500caad2..536a88727106 100644 --- a/svtools/source/toolpanel/toolpaneldrawer.hxx +++ b/svtools/source/toolpanel/toolpaneldrawer.hxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef INCLUDED_SVTOOLS_SOURCE_TOOLPANEL_TOOLPANELDRAWER_HXX +#define INCLUDED_SVTOOLS_SOURCE_TOOLPANEL_TOOLPANELDRAWER_HXX #include <vcl/window.hxx> #include <vcl/virdev.hxx> @@ -104,4 +106,6 @@ namespace svt } // namespace svt +#endif // INCLUDED_SVTOOLS_SOURCE_TOOLPANEL_TOOLPANELDRAWER_HXX + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |