summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-10-21 05:42:51 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-10-21 09:15:59 +0000
commit8fc6905674142c226a117a97a08cf0b24c9d4fc1 (patch)
tree4b32555fc44b1c84819bcc75bfd1451b57dd2e2b /sc
parentaa02102fe9d338eb7d0774bd54feeac2142506ac (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>
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/stylehelper.hxx5
-rw-r--r--sc/source/filter/inc/extlstcontext.hxx5
-rw-r--r--sc/source/filter/xml/xmlcondformat.hxx5
-rw-r--r--sc/source/ui/inc/colorformat.hxx5
-rw-r--r--sc/source/ui/inc/condformatdlg.hxx5
-rw-r--r--sc/source/ui/inc/condformatdlgentry.hxx5
-rw-r--r--sc/source/ui/inc/condformathelper.hxx5
-rw-r--r--sc/source/ui/inc/condformatmgr.hxx5
-rw-r--r--sc/source/ui/inc/namedefdlg.hxx5
-rw-r--r--sc/source/ui/inc/namemgrtable.hxx5
-rw-r--r--sc/source/ui/vba/helperdecl.hxx6
11 files changed, 56 insertions, 0 deletions
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: */