summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2014-05-30 23:30:03 +0000
committerThomas Arnhold <thomas@arnhold.org>2014-06-01 16:16:29 +0000
commitdcb32a33a32665a6fa54df224fcfb2efad411567 (patch)
tree4b13b4476eb89ad6730a7dd4fad6b19c7f9f2bd7 /sw/inc
parent6c3245fc69de59cb1de219203c489d891073ced9 (diff)
fdo#68849: Add header guards to all include files
Added header guards to files in directory sw/ Change-Id: I5859f986c6f954d41a7940dc9ae8febaa714d34f Reviewed-on: https://gerrit.libreoffice.org/9587 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/IDocumentChartDataProviderAccess.hxx18
-rw-r--r--sw/inc/IDocumentDeviceAccess.hxx28
-rw-r--r--sw/inc/IDocumentLineNumberAccess.hxx16
-rw-r--r--sw/inc/IDocumentRedlineAccess.hxx36
-rw-r--r--sw/inc/IDocumentState.hxx20
-rw-r--r--sw/inc/IDocumentStatistics.hxx18
-rw-r--r--sw/inc/IDocumentStylePoolAccess.hxx28
-rw-r--r--sw/inc/IDocumentTimerAccess.hxx18
-rw-r--r--sw/inc/IInterface.hxx18
9 files changed, 100 insertions, 100 deletions
diff --git a/sw/inc/IDocumentChartDataProviderAccess.hxx b/sw/inc/IDocumentChartDataProviderAccess.hxx
index 0815cd5860fd..842c2d095813 100644
--- a/sw/inc/IDocumentChartDataProviderAccess.hxx
+++ b/sw/inc/IDocumentChartDataProviderAccess.hxx
@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
- #ifndef INCLUDED_SW_INC_IDOCUMENTCHARTDATAPROVIDERACCESS_HXX
- #define INCLUDED_SW_INC_IDOCUMENTCHARTDATAPROVIDERACCESS_HXX
+#ifndef INCLUDED_SW_INC_IDOCUMENTCHARTDATAPROVIDERACCESS_HXX
+#define INCLUDED_SW_INC_IDOCUMENTCHARTDATAPROVIDERACCESS_HXX
#include <com/sun/star/uno/Reference.hxx>
@@ -30,11 +30,11 @@ class SwTable;
class SwChartDataProvider;
class SwChartLockController_Helper;
- /** Give access to the data-provider for chart
+/** Give access to the data-provider for chart
*/
- class IDocumentChartDataProviderAccess
- {
- public:
+class IDocumentChartDataProviderAccess
+{
+public:
/**
returns or creates the data-provider for chart
@@ -52,10 +52,10 @@ class SwChartLockController_Helper;
*/
virtual SwChartLockController_Helper & GetChartControllerHelper() = 0;
- protected:
+protected:
virtual ~IDocumentChartDataProviderAccess() {};
- };
+};
- #endif // INCLUDED_SW_INC_IDOCUMENTCHARTDATAPROVIDERACCESS_HXX
+#endif // INCLUDED_SW_INC_IDOCUMENTCHARTDATAPROVIDERACCESS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/IDocumentDeviceAccess.hxx b/sw/inc/IDocumentDeviceAccess.hxx
index 81ac2a31f2df..18fddaea9fd1 100644
--- a/sw/inc/IDocumentDeviceAccess.hxx
+++ b/sw/inc/IDocumentDeviceAccess.hxx
@@ -17,20 +17,20 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
- #ifndef INCLUDED_SW_INC_IDOCUMENTDEVICEACCESS_HXX
- #define INCLUDED_SW_INC_IDOCUMENTDEVICEACCESS_HXX
+#ifndef INCLUDED_SW_INC_IDOCUMENTDEVICEACCESS_HXX
+#define INCLUDED_SW_INC_IDOCUMENTDEVICEACCESS_HXX
- class SfxPrinter;
- class JobSetup;
- class SwPrintData;
- class VirtualDevice;
- class OutputDevice;
+class SfxPrinter;
+class JobSetup;
+class SwPrintData;
+class VirtualDevice;
+class OutputDevice;
- /** Provides access to the formatting devices of a document
+/** Provides access to the formatting devices of a document
*/
- class IDocumentDeviceAccess
- {
- public:
+class IDocumentDeviceAccess
+{
+public:
/** Return the printer set at the document.
@@ -130,10 +130,10 @@
*/
virtual void setPrintData(/*[in]*/ const SwPrintData& rPrtData) = 0;
- protected:
+protected:
virtual ~IDocumentDeviceAccess() {};
- };
+};
- #endif // INCLUDED_SW_INC_IDOCUMENTDEVICEACCESS_HXX
+#endif // INCLUDED_SW_INC_IDOCUMENTDEVICEACCESS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/IDocumentLineNumberAccess.hxx b/sw/inc/IDocumentLineNumberAccess.hxx
index 4ed4e9e97e6a..b63d004485a8 100644
--- a/sw/inc/IDocumentLineNumberAccess.hxx
+++ b/sw/inc/IDocumentLineNumberAccess.hxx
@@ -17,23 +17,23 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
- #ifndef INCLUDED_SW_INC_IDOCUMENTLINENUMBERACCESS_HXX
- #define INCLUDED_SW_INC_IDOCUMENTLINENUMBERACCESS_HXX
+#ifndef INCLUDED_SW_INC_IDOCUMENTLINENUMBERACCESS_HXX
+#define INCLUDED_SW_INC_IDOCUMENTLINENUMBERACCESS_HXX
- #include <sal/types.h>
+#include <sal/types.h>
class SwLineNumberInfo;
- /** Access to the line number information
+/** Access to the line number information
*/
- class IDocumentLineNumberAccess
- {
- public:
+class IDocumentLineNumberAccess
+{
+public:
virtual const SwLineNumberInfo& GetLineNumberInfo() const = 0;
virtual void SetLineNumberInfo(const SwLineNumberInfo& rInfo) = 0;
- protected:
+protected:
virtual ~IDocumentLineNumberAccess() {};
};
diff --git a/sw/inc/IDocumentRedlineAccess.hxx b/sw/inc/IDocumentRedlineAccess.hxx
index dac4b6549eb3..e9748806c293 100644
--- a/sw/inc/IDocumentRedlineAccess.hxx
+++ b/sw/inc/IDocumentRedlineAccess.hxx
@@ -17,25 +17,25 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
- #ifndef INCLUDED_SW_INC_IDOCUMENTREDLINEACCESS_HXX
- #define INCLUDED_SW_INC_IDOCUMENTREDLINEACCESS_HXX
+#ifndef INCLUDED_SW_INC_IDOCUMENTREDLINEACCESS_HXX
+#define INCLUDED_SW_INC_IDOCUMENTREDLINEACCESS_HXX
- #include <sal/types.h>
- #include <tools/solar.h>
+#include <sal/types.h>
+#include <tools/solar.h>
- #include <limits.h>
+#include <limits.h>
- #include <com/sun/star/uno/Sequence.hxx>
+#include <com/sun/star/uno/Sequence.hxx>
- class SwRangeRedline;
- class SwTableRowRedline;
- class SwTableCellRedline;
- class SwRedlineTbl;
- class SwExtraRedlineTbl;
- class SwPaM;
- struct SwPosition;
- class SwStartNode;
- class SwNode;
+class SwRangeRedline;
+class SwTableRowRedline;
+class SwTableCellRedline;
+class SwRedlineTbl;
+class SwExtraRedlineTbl;
+class SwPaM;
+struct SwPosition;
+class SwStartNode;
+class SwNode;
typedef sal_uInt16 RedlineMode_t;
namespace nsRedlineMode_t
@@ -203,10 +203,10 @@ public:
virtual void SetRedlinePassword(
/*[in]*/const ::com::sun::star::uno::Sequence <sal_Int8>& rNewPassword) = 0;
- protected:
+protected:
virtual ~IDocumentRedlineAccess() {};
- };
+};
- #endif
+#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/IDocumentState.hxx b/sw/inc/IDocumentState.hxx
index 9230dd397cec..8ba1c74fa311 100644
--- a/sw/inc/IDocumentState.hxx
+++ b/sw/inc/IDocumentState.hxx
@@ -17,16 +17,16 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
- #ifndef INCLUDED_SW_INC_IDOCUMENTSTATE_HXX
- #define INCLUDED_SW_INC_IDOCUMENTSTATE_HXX
+#ifndef INCLUDED_SW_INC_IDOCUMENTSTATE_HXX
+#define INCLUDED_SW_INC_IDOCUMENTSTATE_HXX
- #include <tools/solar.h>
+#include <tools/solar.h>
- /** Get information about the current document state
+/** Get information about the current document state
*/
- class IDocumentState
- {
- public:
+class IDocumentState
+{
+public:
/** Must be called manually at changes of format.
*/
virtual void SetModified() = 0;
@@ -56,10 +56,10 @@
virtual void SetLoaded(bool b = true) = 0;
- protected:
+protected:
virtual ~IDocumentState() {};
- };
+};
- #endif // INCLUDED_SW_INC_IDOCUMENTSTATE_HXX
+#endif // INCLUDED_SW_INC_IDOCUMENTSTATE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/IDocumentStatistics.hxx b/sw/inc/IDocumentStatistics.hxx
index 9b58b5ad94ac..7cb50ae7e5a9 100644
--- a/sw/inc/IDocumentStatistics.hxx
+++ b/sw/inc/IDocumentStatistics.hxx
@@ -17,16 +17,16 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
- #ifndef INCLUDED_SW_INC_IDOCUMENTSTATISTICS_HXX
- #define INCLUDED_SW_INC_IDOCUMENTSTATISTICS_HXX
+#ifndef INCLUDED_SW_INC_IDOCUMENTSTATISTICS_HXX
+#define INCLUDED_SW_INC_IDOCUMENTSTATISTICS_HXX
- struct SwDocStat;
+struct SwDocStat;
- /** Document statistics information
+/** Document statistics information
*/
- class IDocumentStatistics
- {
- public:
+class IDocumentStatistics
+{
+public:
/** DocInfo has changed (notify via DocShell):
make required fields update.
@@ -60,8 +60,8 @@
protected:
virtual ~IDocumentStatistics() {};
- };
+};
- #endif // INCLUDED_SW_INC_IDOCUMENTSTATISTICS_HXX
+#endif // INCLUDED_SW_INC_IDOCUMENTSTATISTICS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/IDocumentStylePoolAccess.hxx b/sw/inc/IDocumentStylePoolAccess.hxx
index fcf3e1cbd2da..81ec03587e27 100644
--- a/sw/inc/IDocumentStylePoolAccess.hxx
+++ b/sw/inc/IDocumentStylePoolAccess.hxx
@@ -17,23 +17,23 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
- #ifndef INCLUDED_SW_INC_IDOCUMENTSTYLEPOOLACCESS_HXX
- #define INCLUDED_SW_INC_IDOCUMENTSTYLEPOOLACCESS_HXX
+#ifndef INCLUDED_SW_INC_IDOCUMENTSTYLEPOOLACCESS_HXX
+#define INCLUDED_SW_INC_IDOCUMENTSTYLEPOOLACCESS_HXX
- #include <sal/types.h>
+#include <sal/types.h>
- class SwTxtFmtColl;
- class SwCharFmt;
- class SwFmt;
- class SwFrmFmt;
- class SwNumRule;
- class SwPageDesc;
+class SwTxtFmtColl;
+class SwCharFmt;
+class SwFmt;
+class SwFrmFmt;
+class SwNumRule;
+class SwPageDesc;
- /** Access to the style pool
+/** Access to the style pool
*/
- class IDocumentStylePoolAccess
- {
- public:
+class IDocumentStylePoolAccess
+{
+public:
/** Return "Auto-Collection with ID.
Create, if it does not yet exist.
@@ -64,7 +64,7 @@
virtual bool IsPoolFmtUsed( sal_uInt16 nId ) const = 0;
virtual bool IsPoolPageDescUsed( sal_uInt16 nId ) const = 0;
- protected:
+protected:
virtual ~IDocumentStylePoolAccess() {};
};
diff --git a/sw/inc/IDocumentTimerAccess.hxx b/sw/inc/IDocumentTimerAccess.hxx
index cde3d88b4c86..2cdb33e5ab7d 100644
--- a/sw/inc/IDocumentTimerAccess.hxx
+++ b/sw/inc/IDocumentTimerAccess.hxx
@@ -17,15 +17,15 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
- #ifndef INCLUDED_SW_INC_IDOCUMENTTIMERACCESS_HXX
- #define INCLUDED_SW_INC_IDOCUMENTTIMERACCESS_HXX
+#ifndef INCLUDED_SW_INC_IDOCUMENTTIMERACCESS_HXX
+#define INCLUDED_SW_INC_IDOCUMENTTIMERACCESS_HXX
- /** Manipulate background jobs of the document. It starts with a mode of
+/** Manipulate background jobs of the document. It starts with a mode of
'started' and a block count of 0.
*/
- class IDocumentTimerAccess
- {
- public:
+class IDocumentTimerAccess
+{
+public:
/**
Set modus to 'start'.
*/
@@ -55,10 +55,10 @@
*/
virtual void StartBackgroundJobs() = 0;
- protected:
+protected:
virtual ~IDocumentTimerAccess() {};
- };
+};
- #endif // INCLUDED_SW_INC_IDOCUMENTTIMERACCESS_HXX
+#endif // INCLUDED_SW_INC_IDOCUMENTTIMERACCESS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/inc/IInterface.hxx b/sw/inc/IInterface.hxx
index 5d724dd786cb..3d372fefaa5f 100644
--- a/sw/inc/IInterface.hxx
+++ b/sw/inc/IInterface.hxx
@@ -17,16 +17,16 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
- #ifndef INCLUDED_SW_INC_IINTERFACE_HXX
- #define INCLUDED_SW_INC_IINTERFACE_HXX
+#ifndef INCLUDED_SW_INC_IINTERFACE_HXX
+#define INCLUDED_SW_INC_IINTERFACE_HXX
- #include <sal/types.h>
+#include <sal/types.h>
- /** The base interface
+/** The base interface
*/
- class IInterface
- {
- public:
+class IInterface
+{
+public:
/** Acquire a reference to an instance. A caller shall release
the instance by calling 'release' when it is no longer needed.
@@ -54,8 +54,8 @@
protected:
virtual ~IInterface() {};
- };
+};
- #endif // IDOCUMENT_HXX_INCLUDED
+#endif // INCLUDED_SW_INC_IINTERFACE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */