[Libreoffice-commits] core.git: animations/source avmedia/source basic/source connectivity/source cppu/source cui/source desktop/source sc/inc sc/source sfx2/inc sfx2/source sw/source
Thomas Arnhold
thomas at arnhold.org
Mon Oct 21 02:16:18 PDT 2013
animations/source/animcore/factreg.hxx | 5 +++++
avmedia/source/inc/mediamisc.hxx | 5 +++++
avmedia/source/win/interface.hxx | 5 +++++
basic/source/inc/basiccharclass.hxx | 5 +++++
basic/source/runtime/rtlproto.hxx | 5 +++++
connectivity/source/inc/ParameterSubstitution.hxx | 6 ++++++
cppu/source/threadpool/current.hxx | 5 +++++
cui/source/inc/treeopt.hxx | 5 +++++
desktop/source/app/cmdlinehelp.hxx | 5 +++++
sc/inc/stylehelper.hxx | 5 +++++
sc/source/filter/inc/extlstcontext.hxx | 5 +++++
sc/source/filter/xml/xmlcondformat.hxx | 5 +++++
sc/source/ui/inc/colorformat.hxx | 5 +++++
sc/source/ui/inc/condformatdlg.hxx | 5 +++++
sc/source/ui/inc/condformatdlgentry.hxx | 5 +++++
sc/source/ui/inc/condformathelper.hxx | 5 +++++
sc/source/ui/inc/condformatmgr.hxx | 5 +++++
sc/source/ui/inc/namedefdlg.hxx | 5 +++++
sc/source/ui/inc/namemgrtable.hxx | 5 +++++
sc/source/ui/vba/helperdecl.hxx | 6 ++++++
sfx2/inc/fwkhelper.hxx | 5 +++++
sfx2/source/appl/panelist.hxx | 1 +
sfx2/source/doc/graphhelp.hxx | 5 +++++
sfx2/source/doc/oleprops.hxx | 4 ++++
sfx2/source/doc/printhelper.hxx | 5 +++++
sw/source/core/inc/textapi.hxx | 5 +++++
26 files changed, 127 insertions(+)
New commits:
commit 8fc6905674142c226a117a97a08cf0b24c9d4fc1
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Mon Oct 21 05:42:51 2013 +0200
fdo#68849 add some header guards
Change-Id: I9d25a58f22095689eccc0ac444c163d1e9bee69f
Reviewed-on: https://gerrit.libreoffice.org/6364
Reviewed-by: Thomas Arnhold <thomas at arnhold.org>
Tested-by: Thomas Arnhold <thomas at arnhold.org>
diff --git a/animations/source/animcore/factreg.hxx b/animations/source/animcore/factreg.hxx
index c95ef38..a6ede62 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 f460161..9d04cd6 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 09fb792..0a713fb 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 03801dc..6923d22 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 7a6a9d8..ffd0b47 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 2c37895..5f2da4f 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 1053e34..127f202 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 9709cac..9e15acb 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 15dafb6..88ea073 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 31f79d1..2b5444d 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 c982f10..cb15ff4 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 684809e..a9eac56 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 349e337..cf094b5 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 d93dfaf..6baf33d 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 77054ab..806c7ce 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 b64e458..47270d0 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 a8dbd3c..ee68af9 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 6844f3e..185a3c2 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 929f6be..5e5a8ca 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 438ba3a..0092a5b 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 cabf89a..2839100 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 0bb3279..a3cdaec 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 0dc980d..de298ea 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 d7f2a19..d69c58e 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 e8f3164..9977689 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 4673ea6..4daf529 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: */
More information about the Libreoffice-commits
mailing list