tdf#143148 Use pragma once instead of include guards
Change-Id: I0f531280f4d85de3eae6de36bfba975e96d8e7fa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147661 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
This commit is contained in:
committed by
Julien Nabet
parent
c026b93640
commit
a38fbfbf2f
@@ -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_LINGUISTIC_SOURCE_CONVDIC_HXX
|
||||
#define INCLUDED_LINGUISTIC_SOURCE_CONVDIC_HXX
|
||||
#pragma once
|
||||
|
||||
#include <com/sun/star/linguistic2/XConversionDictionary.hpp>
|
||||
#include <com/sun/star/linguistic2/XConversionPropertyType.hpp>
|
||||
@@ -121,6 +120,4 @@ public:
|
||||
void RemoveEntry( const OUString &rLeftText, const OUString &rRightText );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_LINGUISTIC_SOURCE_CONVDICLIST_HXX
|
||||
#define INCLUDED_LINGUISTIC_SOURCE_CONVDICLIST_HXX
|
||||
#pragma once
|
||||
|
||||
#include <com/sun/star/linguistic2/XConversionDictionaryList.hpp>
|
||||
#include <com/sun/star/lang/XComponent.hpp>
|
||||
@@ -85,6 +84,4 @@ public:
|
||||
void FlushDics();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_LINGUISTIC_SOURCE_DEFS_HXX
|
||||
#define INCLUDED_LINGUISTIC_SOURCE_DEFS_HXX
|
||||
#pragma once
|
||||
|
||||
#include <com/sun/star/linguistic2/XSpellChecker.hpp>
|
||||
#include <com/sun/star/linguistic2/XHyphenator.hpp>
|
||||
@@ -88,7 +87,4 @@ protected:
|
||||
~LinguDispatcher() {}
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_LINGUISTIC_SOURCE_DICIMP_HXX
|
||||
#define INCLUDED_LINGUISTIC_SOURCE_DICIMP_HXX
|
||||
#pragma once
|
||||
|
||||
#include <com/sun/star/linguistic2/XDictionary.hpp>
|
||||
#include <com/sun/star/frame/XStorable.hpp>
|
||||
@@ -168,7 +167,4 @@ public:
|
||||
getReplacementText() override;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_LINGUISTIC_SOURCE_DLISTIMP_HXX
|
||||
#define INCLUDED_LINGUISTIC_SOURCE_DLISTIMP_HXX
|
||||
#pragma once
|
||||
|
||||
#include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp>
|
||||
#include <com/sun/star/lang/XComponent.hpp>
|
||||
@@ -116,6 +115,4 @@ public:
|
||||
void SaveDics();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_LINGUISTIC_SOURCE_GCITERATOR_HXX
|
||||
#define INCLUDED_LINGUISTIC_SOURCE_GCITERATOR_HXX
|
||||
#pragma once
|
||||
|
||||
#include <com/sun/star/i18n/XBreakIterator.hpp>
|
||||
#include <com/sun/star/lang/XComponent.hpp>
|
||||
@@ -205,7 +204,4 @@ private:
|
||||
std::map<OUString, css::uno::Any> maMap;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_LINGUISTIC_SOURCE_HHCONVDIC_HXX
|
||||
#define INCLUDED_LINGUISTIC_SOURCE_HHCONVDIC_HXX
|
||||
#pragma once
|
||||
|
||||
#include "convdic.hxx"
|
||||
|
||||
@@ -40,6 +39,4 @@ public:
|
||||
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -17,9 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_LINGUISTIC_SOURCE_HYPHDSP_HXX
|
||||
#define INCLUDED_LINGUISTIC_SOURCE_HYPHDSP_HXX
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <com/sun/star/linguistic2/XHyphenator.hpp>
|
||||
#include <com/sun/star/linguistic2/XPossibleHyphens.hpp>
|
||||
@@ -125,7 +123,4 @@ inline const css::uno::Reference< css::linguistic2::XSearchableDictionaryList >
|
||||
return xDicList;
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_LINGUISTIC_SOURCE_LNGOPT_HXX
|
||||
#define INCLUDED_LINGUISTIC_SOURCE_LNGOPT_HXX
|
||||
#pragma once
|
||||
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <comphelper/interfacecontainer3.hxx>
|
||||
@@ -197,6 +196,4 @@ public:
|
||||
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_LINGUISTIC_SOURCE_LNGSVCMGR_HXX
|
||||
#define INCLUDED_LINGUISTIC_SOURCE_LNGSVCMGR_HXX
|
||||
#pragma once
|
||||
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <comphelper/interfacecontainer3.hxx>
|
||||
@@ -161,7 +160,4 @@ public:
|
||||
const css::uno::Reference< css::linguistic2::XLinguServiceEventBroadcaster > &rxBroadcaster );
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -17,8 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifndef INCLUDED_LINGUISTIC_SOURCE_SPELLDSP_HXX
|
||||
#define INCLUDED_LINGUISTIC_SOURCE_SPELLDSP_HXX
|
||||
#pragma once
|
||||
|
||||
#include "defs.hxx"
|
||||
#include <linguistic/misc.hxx>
|
||||
@@ -135,7 +134,4 @@ inline const css::uno::Reference< css::linguistic2::XSearchableDictionaryList >
|
||||
return m_xDicList;
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
Reference in New Issue
Block a user