diff options
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/accessibilityoptions.hxx | 4 | ||||
-rw-r--r-- | sw/inc/usrfld.hxx | 5 | ||||
-rw-r--r-- | sw/inc/viewsh.hxx | 5 | ||||
-rw-r--r-- | sw/inc/viscrs.hxx | 4 | ||||
-rw-r--r-- | sw/inc/wdocsh.hxx | 7 |
5 files changed, 8 insertions, 17 deletions
diff --git a/sw/inc/accessibilityoptions.hxx b/sw/inc/accessibilityoptions.hxx index 92ec871b5bd3..ce8e94a158be 100644 --- a/sw/inc/accessibilityoptions.hxx +++ b/sw/inc/accessibilityoptions.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_INC_ACCESSIBILITYOPTIONS_HXX -#define INCLUDED_SW_INC_ACCESSIBILITYOPTIONS_HXX +#pragma once struct SwAccessibilityOptions { @@ -34,6 +33,5 @@ struct SwAccessibilityOptions bool IsStopAnimatedGraphics() const { return bIsStopAnimatedGraphics;} void SetStopAnimatedGraphics( bool b ) { bIsStopAnimatedGraphics = b; } }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/usrfld.hxx b/sw/inc/usrfld.hxx index 3592c6834380..d9ea9e407440 100644 --- a/sw/inc/usrfld.hxx +++ b/sw/inc/usrfld.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_INC_USRFLD_HXX -#define INCLUDED_SW_INC_USRFLD_HXX +#pragma once #include "swdllapi.h" #include "fldbas.hxx" @@ -129,6 +128,4 @@ public: void dumpAsXml(xmlTextWriterPtr pWriter) const override; }; -#endif // INCLUDED_SW_INC_USRFLD_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx index 071c60d11bd3..27d29e9f65f0 100644 --- a/sw/inc/viewsh.hxx +++ b/sw/inc/viewsh.hxx @@ -16,8 +16,8 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_INC_VIEWSH_HXX -#define INCLUDED_SW_INC_VIEWSH_HXX + +#pragma once #include "swdllapi.h" #include "swtypes.hxx" @@ -614,6 +614,5 @@ inline const SfxItemPool& SwViewShell::GetAttrPool() const return const_cast<SwViewShell*>(this)->GetAttrPool(); } -#endif // INCLUDED_SW_INC_VIEWSH_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/viscrs.hxx b/sw/inc/viscrs.hxx index 95c013b233ca..4818edfc4dfb 100644 --- a/sw/inc/viscrs.hxx +++ b/sw/inc/viscrs.hxx @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_INC_VISCRS_HXX -#define INCLUDED_SW_INC_VISCRS_HXX +#pragma once #include <config_feature_desktop.h> @@ -207,6 +206,5 @@ public: const SwShellTableCursor* GetPrev() const { return dynamic_cast<SwShellTableCursor const *>(GetPrevInRing()); } }; -#endif // INCLUDED_SW_INC_VISCRS_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/wdocsh.hxx b/sw/inc/wdocsh.hxx index 37424d0fb4a5..addae9eb418f 100644 --- a/sw/inc/wdocsh.hxx +++ b/sw/inc/wdocsh.hxx @@ -16,8 +16,9 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_INC_WDOCSH_HXX -#define INCLUDED_SW_INC_WDOCSH_HXX + +#pragma once + #include "swdllapi.h" #include "docsh.hxx" @@ -47,6 +48,4 @@ public: void SetSourcePara(sal_uInt16 nSet) { m_nSourcePara = nSet; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |