diff --git a/sw/inc/TextCursorHelper.hxx b/sw/inc/TextCursorHelper.hxx index 3f15248a6dda..f14d68ab2c41 100644 --- a/sw/inc/TextCursorHelper.hxx +++ b/sw/inc/TextCursorHelper.hxx @@ -16,9 +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_TEXTCURSORHELPER_HXX -#define INCLUDED_SW_INC_TEXTCURSORHELPER_HXX - +#pragma once #include #include @@ -44,6 +42,4 @@ protected: ~OTextCursorHelper() {} }; -#endif // INCLUDED_SW_INC_TEXTCURSORHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */