diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-10-21 05:42:51 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-10-21 09:15:59 +0000 |
commit | 8fc6905674142c226a117a97a08cf0b24c9d4fc1 (patch) | |
tree | 4b32555fc44b1c84819bcc75bfd1451b57dd2e2b | |
parent | aa02102fe9d338eb7d0774bd54feeac2142506ac (diff) |
fdo#68849 add some header guards
Change-Id: I9d25a58f22095689eccc0ac444c163d1e9bee69f
Reviewed-on: https://gerrit.libreoffice.org/6364
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
26 files changed, 127 insertions, 0 deletions
diff --git a/animations/source/animcore/factreg.hxx b/animations/source/animcore/factreg.hxx index c95ef38c904a..a6ede62668dc 100644 --- a/animations/source/animcore/factreg.hxx +++ b/animations/source/animcore/factreg.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef _INCLUDED_ANIMCORE_FACTREG_HXX_ +#define _INCLUDED_ANIMCORE_FACTREG_HXX_ + namespace animcore { #define DECL_NODE_FACTORY(N)\ @@ -39,4 +42,6 @@ DECL_NODE_FACTORY( TargetPropertiesCreator ); } +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/avmedia/source/inc/mediamisc.hxx b/avmedia/source/inc/mediamisc.hxx index f460161bc909..9d04cd662341 100644 --- a/avmedia/source/inc/mediamisc.hxx +++ b/avmedia/source/inc/mediamisc.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef _AVMEDIA_MEDIAMISC_HXX +#define _AVMEDIA_MEDIAMISC_HXX + class ResMgr; #define AVMEDIA_RESID( nId ) ResId( nId, * ::avmedia::GetResMgr() ) @@ -39,4 +42,6 @@ namespace avmedia ResMgr* GetResMgr(); } +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/avmedia/source/win/interface.hxx b/avmedia/source/win/interface.hxx index 09fb7922aef9..0a713fbcd696 100644 --- a/avmedia/source/win/interface.hxx +++ b/avmedia/source/win/interface.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef _AVMEDIA_INTERFACE_HXX +#define _AVMEDIA_INTERFACE_HXX + extern "C" const CLSID CLSID_MediaDet; extern "C" const IID IID_IMediaDet; struct ISampleGrabber; @@ -113,4 +116,6 @@ public: }; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basic/source/inc/basiccharclass.hxx b/basic/source/inc/basiccharclass.hxx index 03801dc61f61..6923d2290adf 100644 --- a/basic/source/inc/basiccharclass.hxx +++ b/basic/source/inc/basiccharclass.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef _BASIC_BASICCHARCLASS_HXX +#define _BASIC_BASICCHARCLASS_HXX + #include <unotools/charclass.hxx> #include <rtl/instance.hxx> @@ -39,4 +42,6 @@ public: class theBasicCharClass: public rtl::Static<BasicCharClass, theBasicCharClass> {}; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basic/source/runtime/rtlproto.hxx b/basic/source/runtime/rtlproto.hxx index 7a6a9d84bea8..ffd0b478c16a 100644 --- a/basic/source/runtime/rtlproto.hxx +++ b/basic/source/runtime/rtlproto.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef _INCLUDED_BASIC_RTLPROTO_HXX_ +#define _INCLUDED_BASIC_RTLPROTO_HXX_ + #include <basic/sbstar.hxx> #include "sbtrace.hxx" @@ -368,4 +371,6 @@ extern RTLFUNC(TraceCommand); extern double Now_Impl(); extern void Wait_Impl( bool bDurationBased, SbxArray& rPar ); +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/inc/ParameterSubstitution.hxx b/connectivity/source/inc/ParameterSubstitution.hxx index 2c37895a090e..5f2da4f37c0f 100644 --- a/connectivity/source/inc/ParameterSubstitution.hxx +++ b/connectivity/source/inc/ParameterSubstitution.hxx @@ -16,6 +16,10 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ + +#ifndef CONNECTIVITY_PARAMETERSUBSTITUTION_HXX +#define CONNECTIVITY_PARAMETERSUBSTITUTION_HXX + #include <com/sun/star/util/XStringSubstitution.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> @@ -61,4 +65,6 @@ namespace connectivity } // connectivity // ================================== +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cppu/source/threadpool/current.hxx b/cppu/source/threadpool/current.hxx index 1053e346f489..127f2024a911 100644 --- a/cppu/source/threadpool/current.hxx +++ b/cppu/source/threadpool/current.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef _CPPU_THREADPOOL_CURRENT_HXX_ +#define _CPPU_THREADPOOL_CURRENT_HXX_ + #include "rtl/byteseq.h" typedef struct _uno_ExtEnvironment uno_ExtEnvironment; @@ -39,4 +42,6 @@ struct IdContainer IdContainer * getIdContainer() SAL_THROW(()); } +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/inc/treeopt.hxx b/cui/source/inc/treeopt.hxx index 9709cac5bb58..9e15acbe7795 100644 --- a/cui/source/inc/treeopt.hxx +++ b/cui/source/inc/treeopt.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef _SVX_TREEOPT_HXX +#define _SVX_TREEOPT_HXX + #include <tools/resary.hxx> #include <vcl/fixed.hxx> @@ -291,4 +294,6 @@ public: void SavePage(); }; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/desktop/source/app/cmdlinehelp.hxx b/desktop/source/app/cmdlinehelp.hxx index 15dafb653c6c..88ea0733f995 100644 --- a/desktop/source/app/cmdlinehelp.hxx +++ b/desktop/source/app/cmdlinehelp.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef _DESKTOP_COMMANDLINEHELP_HXX_ +#define _DESKTOP_COMMANDLINEHELP_HXX_ + #include <vcl/dialog.hxx> #include <vcl/fixed.hxx> #include <vcl/button.hxx> @@ -39,4 +42,6 @@ namespace desktop #endif } +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/inc/stylehelper.hxx b/sc/inc/stylehelper.hxx index 31f79d1191b1..2b5444d6b5b0 100644 --- a/sc/inc/stylehelper.hxx +++ b/sc/inc/stylehelper.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef SC_STYLEHELPER_HXX +#define SC_STYLEHELPER_HXX + #include <rtl/ustring.hxx> class ScStyleNameConversion @@ -26,4 +29,6 @@ public: static OUString ProgrammaticToDisplayName( const OUString& rProgName, sal_uInt16 nType ); }; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/inc/extlstcontext.hxx b/sc/source/filter/inc/extlstcontext.hxx index c982f10cbd58..cb15ff40e3a3 100644 --- a/sc/source/filter/inc/extlstcontext.hxx +++ b/sc/source/filter/inc/extlstcontext.hxx @@ -7,6 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef SC_EXTLSTCONTEXT_HXX +#define SC_EXTLSTCONTEXT_HXX + #include "excelhandlers.hxx" #include "worksheetfragment.hxx" @@ -80,4 +83,6 @@ protected: } //namespace xls } //namespace oox +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/xml/xmlcondformat.hxx b/sc/source/filter/xml/xmlcondformat.hxx index 684809e11287..a9eac56a608e 100644 --- a/sc/source/filter/xml/xmlcondformat.hxx +++ b/sc/source/filter/xml/xmlcondformat.hxx @@ -7,6 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef SC_XMLCONDFORMAT_HXX +#define SC_XMLCONDFORMAT_HXX + #include <xmloff/xmlictxt.hxx> #include "xmlimprt.hxx" #include "rangelst.hxx" @@ -189,4 +192,6 @@ public: virtual ~ScXMLDateContext() {} }; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/colorformat.hxx b/sc/source/ui/inc/colorformat.hxx index 349e337351f1..cf094b5bf098 100644 --- a/sc/source/ui/inc/colorformat.hxx +++ b/sc/source/ui/inc/colorformat.hxx @@ -7,6 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef SC_COLORFORMAT_HXX +#define SC_COLORFORMAT_HXX + #include <vcl/button.hxx> #include <vcl/dialog.hxx> #include <vcl/fixed.hxx> @@ -61,4 +64,6 @@ public: ScDataBarFormatData* GetData(); }; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/condformatdlg.hxx b/sc/source/ui/inc/condformatdlg.hxx index d93dfafde470..6baf33dd33d6 100644 --- a/sc/source/ui/inc/condformatdlg.hxx +++ b/sc/source/ui/inc/condformatdlg.hxx @@ -7,6 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef SC_CONDFORMATDLG_HXX +#define SC_CONDFORMATDLG_HXX + #include <vcl/button.hxx> #include <vcl/dialog.hxx> #include <vcl/lstbox.hxx> @@ -121,4 +124,6 @@ public: DECL_LINK( RangeLoseFocusHdl, void* ); }; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/condformatdlgentry.hxx b/sc/source/ui/inc/condformatdlgentry.hxx index 77054ab06a21..806c7ce9ca7d 100644 --- a/sc/source/ui/inc/condformatdlgentry.hxx +++ b/sc/source/ui/inc/condformatdlgentry.hxx @@ -7,6 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef SC_CONDFORMATDLGENTRY_HXX +#define SC_CONDFORMATDLGENTRY_HXX + #include "colorscale.hxx" #include "conditio.hxx" #include <formula/funcutl.hxx> @@ -277,4 +280,6 @@ public: virtual condformat::entry::ScCondFrmtEntryType GetType() { return condformat::entry::ICONSET; } }; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/condformathelper.hxx b/sc/source/ui/inc/condformathelper.hxx index b64e45825386..47270d061c46 100644 --- a/sc/source/ui/inc/condformathelper.hxx +++ b/sc/source/ui/inc/condformathelper.hxx @@ -7,6 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef SC_CONDFORMATHELPER_HXX +#define SC_CONDFORMATHELPER_HXX + #include <rtl/ustring.hxx> #include "conditio.hxx" @@ -32,4 +35,6 @@ public: OUString aStr1 = OUString(), OUString aStr2 = OUString() ); }; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/condformatmgr.hxx b/sc/source/ui/inc/condformatmgr.hxx index a8dbd3c7d6dc..ee68af959c88 100644 --- a/sc/source/ui/inc/condformatmgr.hxx +++ b/sc/source/ui/inc/condformatmgr.hxx @@ -7,6 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef SC_CONDFORMATMGR_HXX +#define SC_CONDFORMATMGR_HXX + #include "sc.hrc" #include <vcl/dialog.hxx> @@ -92,4 +95,6 @@ private: bool mbModified; }; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/namedefdlg.hxx b/sc/source/ui/inc/namedefdlg.hxx index 6844f3e5be5a..185a3c237f3c 100644 --- a/sc/source/ui/inc/namedefdlg.hxx +++ b/sc/source/ui/inc/namedefdlg.hxx @@ -7,6 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef SC_NAMEDEFDLG_HXX +#define SC_NAMEDEFDLG_HXX + #include "anyrefdg.hxx" #include <vcl/button.hxx> #include <vcl/fixed.hxx> @@ -85,4 +88,6 @@ public: void GetNewData( OUString& rName, OUString& rScope ); }; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/namemgrtable.hxx b/sc/source/ui/inc/namemgrtable.hxx index 929f6be92c40..5e5a8ca8a4c0 100644 --- a/sc/source/ui/inc/namemgrtable.hxx +++ b/sc/source/ui/inc/namemgrtable.hxx @@ -7,6 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef SC_NAMEMGRTABLE_HXX +#define SC_NAMEMGRTABLE_HXX + #include <svtools/simptabl.hxx> #include <vcl/ctrl.hxx> @@ -69,4 +72,6 @@ public: DECL_LINK( HeaderEndDragHdl, void*); }; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/vba/helperdecl.hxx b/sc/source/ui/vba/helperdecl.hxx index 438ba3a606e1..0092a5b7eb66 100644 --- a/sc/source/ui/vba/helperdecl.hxx +++ b/sc/source/ui/vba/helperdecl.hxx @@ -16,6 +16,10 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ + +#ifndef SC_VBA_HELPERDECL_HXX +#define SC_VBA_HELPERDECL_HXX + #include <comphelper/servicedecl.hxx> #include <ooo/vba/XHelperInterface.hpp> @@ -43,4 +47,6 @@ struct vba_service_class_ : public serviceimpl_base< detail::OwnServiceImpl<Impl } // namespace service_decl } // namespace comphelper +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/inc/fwkhelper.hxx b/sfx2/inc/fwkhelper.hxx index cabf89a64f4d..28391007c329 100644 --- a/sfx2/inc/fwkhelper.hxx +++ b/sfx2/inc/fwkhelper.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef _SFX_FWKHELPER_HXX_ +#define _SFX_FWKHELPER_HXX_ + #include "sal/config.h" #include "sfx2/dllapi.h" #include <com/sun/star/uno/Reference.hxx> @@ -28,4 +31,6 @@ SFX2_DLLPUBLIC void SAL_CALL RefreshToolbars( ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame ); +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/appl/panelist.hxx b/sfx2/source/appl/panelist.hxx index 0bb327970eff..a3cdaec71979 100644 --- a/sfx2/source/appl/panelist.hxx +++ b/sfx2/source/appl/panelist.hxx @@ -18,6 +18,7 @@ */ #ifndef SFX_PANELIST_HXX +#define SFX_PANELIST_HXX #include <vcl/taskpanelist.hxx> // includes also vcl/window.hxx diff --git a/sfx2/source/doc/graphhelp.hxx b/sfx2/source/doc/graphhelp.hxx index 0dc980d38a00..de298ea3b86b 100644 --- a/sfx2/source/doc/graphhelp.hxx +++ b/sfx2/source/doc/graphhelp.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef SFX_GRAPHHELP_HXX +#define SFX_GRAPHHELP_HXX + #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/io/XStream.hpp> @@ -65,4 +68,6 @@ public: }; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/doc/oleprops.hxx b/sfx2/source/doc/oleprops.hxx index d7f2a19eddab..d69c58ec6679 100644 --- a/sfx2/source/doc/oleprops.hxx +++ b/sfx2/source/doc/oleprops.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef SFX_OLEPROPS_HXX +#define SFX_OLEPROPS_HXX + #include <map> #include <boost/shared_ptr.hpp> #include <osl/thread.h> @@ -398,5 +401,6 @@ private: SfxOleSectionMap maSectionMap; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/doc/printhelper.hxx b/sfx2/source/doc/printhelper.hxx index e8f3164176b1..997768955abf 100644 --- a/sfx2/source/doc/printhelper.hxx +++ b/sfx2/source/doc/printhelper.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef SFX_PRINTHELPER_HXX +#define SFX_PRINTHELPER_HXX + #include "sal/config.h" #include "sfx2/dllapi.h" #include "sal/types.h" @@ -60,4 +63,6 @@ private: virtual void impl_setPrinter(const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& rPrinter,SfxPrinter*& pPrinter,sal_uInt16& nChangeFlags,SfxViewShell*& pViewSh); } ; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/inc/textapi.hxx b/sw/source/core/inc/textapi.hxx index 4673ea683eb6..4daf52959169 100644 --- a/sw/source/core/inc/textapi.hxx +++ b/sw/source/core/inc/textapi.hxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifndef SW_TEXTAPI_HXX +#define SW_TEXTAPI_HXX + #include <editeng/unoedsrc.hxx> #include <editeng/unotext.hxx> #include <editeng/eeitem.hxx> @@ -61,4 +64,6 @@ public: OUString GetText() { return pSource->GetText(); } }; +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |