summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorVincent LE GARREC <libreoffice@le-garrec.fr>2021-03-06 10:14:31 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-03-23 11:06:48 +0100
commite29f53b71058b9468cb6c29f82dbf6de53d4cdd0 (patch)
tree9bd73b6f9130cc87cf22f64a8ccd25c19a13f5ab /winaccessibility
parentcd09fc9451897e6efedbf9f5e1d5b9bd96e65cb5 (diff)
tdf#124176 Use pragma once in w*
Change-Id: I693f6dafb743d39afd8e41e66a8066f04043f8a8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112052 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/inc/AccComponentEventListener.hxx5
-rw-r--r--winaccessibility/inc/AccContainerEventListener.hxx5
-rw-r--r--winaccessibility/inc/AccDescendantManagerEventListener.hxx5
-rw-r--r--winaccessibility/inc/AccDialogEventListener.hxx5
-rw-r--r--winaccessibility/inc/AccEventListener.hxx5
-rw-r--r--winaccessibility/inc/AccFrameEventListener.hxx5
-rw-r--r--winaccessibility/inc/AccListEventListener.hxx5
-rw-r--r--winaccessibility/inc/AccMenuEventListener.hxx5
-rw-r--r--winaccessibility/inc/AccObject.hxx5
-rw-r--r--winaccessibility/inc/AccObjectContainerEventListener.hxx5
-rw-r--r--winaccessibility/inc/AccObjectManagerAgent.hxx5
-rw-r--r--winaccessibility/inc/AccObjectWinManager.hxx4
-rw-r--r--winaccessibility/inc/AccParagraphEventListener.hxx5
-rw-r--r--winaccessibility/inc/AccTableEventListener.hxx5
-rw-r--r--winaccessibility/inc/AccTextComponentEventListener.hxx5
-rw-r--r--winaccessibility/inc/AccTopWindowListener.hxx5
-rw-r--r--winaccessibility/inc/AccTreeEventListener.hxx5
-rw-r--r--winaccessibility/inc/AccWindowEventListener.hxx5
-rw-r--r--winaccessibility/inc/ResIDGenerator.hxx5
-rw-r--r--winaccessibility/inc/UAccCOMdllapi.h5
-rw-r--r--winaccessibility/inc/accHelper.hxx5
-rw-r--r--winaccessibility/inc/unomsaaevent.hxx5
-rw-r--r--winaccessibility/source/UAccCOM/AccAction.h5
-rw-r--r--winaccessibility/source/UAccCOM/AccActionBase.h5
-rw-r--r--winaccessibility/source/UAccCOM/AccComponent.h5
-rw-r--r--winaccessibility/source/UAccCOM/AccComponentBase.h5
-rw-r--r--winaccessibility/source/UAccCOM/AccEditableText.h5
-rw-r--r--winaccessibility/source/UAccCOM/AccHyperLink.h5
-rw-r--r--winaccessibility/source/UAccCOM/AccHypertext.h5
-rw-r--r--winaccessibility/source/UAccCOM/AccImage.h5
-rw-r--r--winaccessibility/source/UAccCOM/AccRelation.h5
-rw-r--r--winaccessibility/source/UAccCOM/AccTable.h5
-rw-r--r--winaccessibility/source/UAccCOM/AccText.h5
-rw-r--r--winaccessibility/source/UAccCOM/AccTextBase.h5
-rw-r--r--winaccessibility/source/UAccCOM/AccValue.h5
-rw-r--r--winaccessibility/source/UAccCOM/AccessibleKeyStroke.h5
-rw-r--r--winaccessibility/source/UAccCOM/EnumVariant.h5
-rw-r--r--winaccessibility/source/UAccCOM/MAccessible.h5
-rw-r--r--winaccessibility/source/UAccCOM/UNOXWrapper.h5
-rw-r--r--winaccessibility/source/UAccCOM/acccommon.h5
-rw-r--r--winaccessibility/source/UAccCOM/stdafx.h5
41 files changed, 41 insertions, 163 deletions
diff --git a/winaccessibility/inc/AccComponentEventListener.hxx b/winaccessibility/inc/AccComponentEventListener.hxx
index 926c5cb74b65..6c2683f8b6e3 100644
--- a/winaccessibility/inc/AccComponentEventListener.hxx
+++ b/winaccessibility/inc/AccComponentEventListener.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCCOMPONENTEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCCOMPONENTEVENTLISTENER_HXX
+#pragma once
#include <stdio.h>
#include "AccEventListener.hxx"
@@ -66,6 +65,4 @@ public:
void HandleTextSelectionChangedEvent();
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCCOMPONENTEVENTLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccContainerEventListener.hxx b/winaccessibility/inc/AccContainerEventListener.hxx
index 2bd797a60e37..f0b87c3d4042 100644
--- a/winaccessibility/inc/AccContainerEventListener.hxx
+++ b/winaccessibility/inc/AccContainerEventListener.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCCONTAINEREVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCCONTAINEREVENTLISTENER_HXX
+#pragma once
#include <stdio.h>
#include "AccEventListener.hxx"
@@ -95,6 +94,4 @@ public:
virtual void HandleNameChangedEvent(css::uno::Any name) override;
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCCONTAINEREVENTLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccDescendantManagerEventListener.hxx b/winaccessibility/inc/AccDescendantManagerEventListener.hxx
index ad4ee3542776..57ae373ce5f7 100644
--- a/winaccessibility/inc/AccDescendantManagerEventListener.hxx
+++ b/winaccessibility/inc/AccDescendantManagerEventListener.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCDESCENDANTMANAGEREVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCDESCENDANTMANAGEREVENTLISTENER_HXX
+#pragma once
#include <stdio.h>
#include "AccComponentEventListener.hxx"
@@ -62,6 +61,4 @@ public:
const css::uno::Any &oldValue, const css::uno::Any &newValue);
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCDESCENDANTMANAGEREVENTLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccDialogEventListener.hxx b/winaccessibility/inc/AccDialogEventListener.hxx
index 18ae07d05d8f..b8394f712318 100644
--- a/winaccessibility/inc/AccDialogEventListener.hxx
+++ b/winaccessibility/inc/AccDialogEventListener.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCDIALOGEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCDIALOGEVENTLISTENER_HXX
+#pragma once
#include <stdio.h>
#include "AccEventListener.hxx"
@@ -48,6 +47,4 @@ public:
virtual void SetComponentState(short state, bool enable) override;
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCDIALOGEVENTLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccEventListener.hxx b/winaccessibility/inc/AccEventListener.hxx
index 5ca714b39750..7f5c61e8159e 100644
--- a/winaccessibility/inc/AccEventListener.hxx
+++ b/winaccessibility/inc/AccEventListener.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCEVENTLISTENER_HXX
+#pragma once
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
@@ -77,6 +76,4 @@ public:
void RemoveMeFromBroadcaster();
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCEVENTLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccFrameEventListener.hxx b/winaccessibility/inc/AccFrameEventListener.hxx
index ce05881e0996..43f4fe393f4c 100644
--- a/winaccessibility/inc/AccFrameEventListener.hxx
+++ b/winaccessibility/inc/AccFrameEventListener.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCFRAMEEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCFRAMEEVENTLISTENER_HXX
+#pragma once
#include <stdio.h>
#include "AccEventListener.hxx"
@@ -48,6 +47,4 @@ public:
virtual void SetComponentState(short state, bool enable) override;
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCFRAMEEVENTLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccListEventListener.hxx b/winaccessibility/inc/AccListEventListener.hxx
index a84b9e9d5c72..bd75a977c531 100644
--- a/winaccessibility/inc/AccListEventListener.hxx
+++ b/winaccessibility/inc/AccListEventListener.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCLISTEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCLISTEVENTLISTENER_HXX
+#pragma once
#include <stdio.h>
#include "AccDescendantManagerEventListener.hxx"
@@ -47,6 +46,4 @@ public:
virtual void HandleValueChangedEvent(css::uno::Any oldValue, css::uno::Any newValue) override;
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCLISTEVENTLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccMenuEventListener.hxx b/winaccessibility/inc/AccMenuEventListener.hxx
index 290568bea2e6..c0efc33fced8 100644
--- a/winaccessibility/inc/AccMenuEventListener.hxx
+++ b/winaccessibility/inc/AccMenuEventListener.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCMENUEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCMENUEVENTLISTENER_HXX
+#pragma once
#include <stdio.h>
#include "AccComponentEventListener.hxx"
@@ -51,6 +50,4 @@ public:
virtual void FireStatePropertyChange(short state, bool set) override;
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCMENUEVENTLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccObject.hxx b/winaccessibility/inc/AccObject.hxx
index 2a024642d8ac..2b2232323a02 100644
--- a/winaccessibility/inc/AccObject.hxx
+++ b/winaccessibility/inc/AccObject.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCOBJECT_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCOBJECT_HXX
+#pragma once
#include <vector>
#include <map>
@@ -138,6 +137,4 @@ public:
void setLocalizedResourceString();
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCOBJECT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccObjectContainerEventListener.hxx b/winaccessibility/inc/AccObjectContainerEventListener.hxx
index ec606f56c768..41baf99b40e4 100644
--- a/winaccessibility/inc/AccObjectContainerEventListener.hxx
+++ b/winaccessibility/inc/AccObjectContainerEventListener.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCOBJECTCONTAINEREVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCOBJECTCONTAINEREVENTLISTENER_HXX
+#pragma once
#include <stdio.h>
#include "AccContainerEventListener.hxx"
@@ -45,6 +44,4 @@ public:
virtual void HandleVisibleDataChangedEvent() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccObjectManagerAgent.hxx b/winaccessibility/inc/AccObjectManagerAgent.hxx
index 9864b31f5c0c..ea4b5837b74f 100644
--- a/winaccessibility/inc/AccObjectManagerAgent.hxx
+++ b/winaccessibility/inc/AccObjectManagerAgent.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCOBJECTMANAGERAGENT_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCOBJECTMANAGERAGENT_HXX
+#pragma once
#include <memory>
@@ -100,6 +99,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccObjectWinManager.hxx b/winaccessibility/inc/AccObjectWinManager.hxx
index 1529bc40ec7f..bf812c10f47f 100644
--- a/winaccessibility/inc/AccObjectWinManager.hxx
+++ b/winaccessibility/inc/AccObjectWinManager.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCOBJECTWINMANAGER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCOBJECTWINMANAGER_HXX
+#pragma once
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <map>
@@ -152,6 +151,5 @@ public:
static bool IsStateManageDescendant(css::accessibility::XAccessible* pAccessible);
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCOBJECTWINMANAGER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccParagraphEventListener.hxx b/winaccessibility/inc/AccParagraphEventListener.hxx
index 60fdd4decd7d..7204839e34a5 100644
--- a/winaccessibility/inc/AccParagraphEventListener.hxx
+++ b/winaccessibility/inc/AccParagraphEventListener.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCPARAGRAPHEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCPARAGRAPHEVENTLISTENER_HXX
+#pragma once
#include <stdio.h>
#include "AccContainerEventListener.hxx"
@@ -50,6 +49,4 @@ public:
void HandleTextSelectionChangedEvent();
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCPARAGRAPHEVENTLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccTableEventListener.hxx b/winaccessibility/inc/AccTableEventListener.hxx
index b22ce3b2dc25..01871e35e9d4 100644
--- a/winaccessibility/inc/AccTableEventListener.hxx
+++ b/winaccessibility/inc/AccTableEventListener.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCTABLEEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCTABLEEVENTLISTENER_HXX
+#pragma once
#include <stdio.h>
#include "AccDescendantManagerEventListener.hxx"
@@ -47,6 +46,4 @@ public:
void HandleTableModelChangeEvent(css::uno::Any newValue);
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCTABLEEVENTLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccTextComponentEventListener.hxx b/winaccessibility/inc/AccTextComponentEventListener.hxx
index 0a127c916b52..f1e49097ed03 100644
--- a/winaccessibility/inc/AccTextComponentEventListener.hxx
+++ b/winaccessibility/inc/AccTextComponentEventListener.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCTEXTCOMPONENTEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCTEXTCOMPONENTEVENTLISTENER_HXX
+#pragma once
#include <stdio.h>
#include "AccComponentEventListener.hxx"
@@ -41,6 +40,4 @@ public:
virtual void SetComponentState(short state, bool enable) override;
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCTEXTCOMPONENTEVENTLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccTopWindowListener.hxx b/winaccessibility/inc/AccTopWindowListener.hxx
index 82a060a815f9..c88ce5085dc2 100644
--- a/winaccessibility/inc/AccTopWindowListener.hxx
+++ b/winaccessibility/inc/AccTopWindowListener.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCTOPWINDOWLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCTOPWINDOWLISTENER_HXX
+#pragma once
#include <com/sun/star/awt/XTopWindowListener.hpp>
#include <com/sun/star/awt/XExtendedToolkit.hpp>
@@ -64,6 +63,4 @@ public:
sal_Int64 GetMSComPtr(sal_Int64 hWnd, sal_Int64 lParam, sal_Int64 wParam);
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCTOPWINDOWLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccTreeEventListener.hxx b/winaccessibility/inc/AccTreeEventListener.hxx
index ead0f8605860..bb3574bf0df7 100644
--- a/winaccessibility/inc/AccTreeEventListener.hxx
+++ b/winaccessibility/inc/AccTreeEventListener.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCTREEEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCTREEEVENTLISTENER_HXX
+#pragma once
#include <stdio.h>
#include "AccDescendantManagerEventListener.hxx"
@@ -45,6 +44,4 @@ public:
virtual void HandleActiveDescendantChangedEvent(css::uno::Any oldValue, css::uno::Any newValue);
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCTREEEVENTLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/AccWindowEventListener.hxx b/winaccessibility/inc/AccWindowEventListener.hxx
index a29e865cb482..a4995e343d4c 100644
--- a/winaccessibility/inc/AccWindowEventListener.hxx
+++ b/winaccessibility/inc/AccWindowEventListener.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCWINDOWEVENTLISTENER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCWINDOWEVENTLISTENER_HXX
+#pragma once
#include <stdio.h>
#include "AccEventListener.hxx"
@@ -48,6 +47,4 @@ public:
virtual void SetComponentState(short state, bool enable) override;
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCWINDOWEVENTLISTENER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/ResIDGenerator.hxx b/winaccessibility/inc/ResIDGenerator.hxx
index abd9ec488c83..19e06c9b88ad 100644
--- a/winaccessibility/inc/ResIDGenerator.hxx
+++ b/winaccessibility/inc/ResIDGenerator.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_RESIDGENERATOR_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_RESIDGENERATOR_HXX
+#pragma once
#define PRIMARY_RESID 0x00000001
#include <deque>
@@ -41,6 +40,4 @@ public:
void SetSub(long number) { subList.push_back(number); };
};
-#endif // INCLUDED_WINACCESSIBILITY_INC_RESIDGENERATOR_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/UAccCOMdllapi.h b/winaccessibility/inc/UAccCOMdllapi.h
index 41ed958ec67f..50f705c6dae9 100644
--- a/winaccessibility/inc/UAccCOMdllapi.h
+++ b/winaccessibility/inc/UAccCOMdllapi.h
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_UACCCOMDLLAPI_H
-#define INCLUDED_WINACCESSIBILITY_INC_UACCCOMDLLAPI_H
+#pragma once
#include <sal/types.h>
@@ -18,6 +17,4 @@
#define UACCCOM_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/accHelper.hxx b/winaccessibility/inc/accHelper.hxx
index 67323eca1970..4e2d941c418a 100644
--- a/winaccessibility/inc/accHelper.hxx
+++ b/winaccessibility/inc/accHelper.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_ACCHELPER_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_ACCHELPER_HXX
+#pragma once
#include "UAccCOMdllapi.h"
@@ -35,6 +34,4 @@ enum DIRECTION
struct IMAccessible;
UACCCOM_DLLPUBLIC IMAccessible* UAccCOMCreateInstance();
-#endif // INCLUDED_WINACCESSIBILITY_INC_ACCHELPER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/inc/unomsaaevent.hxx b/winaccessibility/inc/unomsaaevent.hxx
index 8f3cb114a933..7b45c86867ed 100644
--- a/winaccessibility/inc/unomsaaevent.hxx
+++ b/winaccessibility/inc/unomsaaevent.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_INC_UNOMSAAEVENT_HXX
-#define INCLUDED_WINACCESSIBILITY_INC_UNOMSAAEVENT_HXX
+#pragma once
//STATE_CHANGED with get FOCUSED -> EVENT_OBJECT_FOCUS
const short UM_EVENT_STATE_FOCUSED = 0;
@@ -105,6 +104,4 @@ const short UM_EVENT_TEXT_SELECTION_CHANGED = 39;
const short UM_EVENT_SECTION_CHANGED = 40;
const short UM_EVENT_COLUMN_CHANGED = 41;
-#endif // INCLUDED_WINACCESSIBILITY_INC_UNOMSAAEVENT_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccAction.h b/winaccessibility/source/UAccCOM/AccAction.h
index 8d6aa383ffb2..8579e90cb242 100644
--- a/winaccessibility/source/UAccCOM/AccAction.h
+++ b/winaccessibility/source/UAccCOM/AccAction.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCACTION_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCACTION_H
+#pragma once
#include "Resource.h" // main symbols
#include "AccActionBase.h"
@@ -100,6 +99,4 @@ public:
};
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCACTION_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccActionBase.h b/winaccessibility/source/UAccCOM/AccActionBase.h
index e70c32467809..26d3e7d054aa 100644
--- a/winaccessibility/source/UAccCOM/AccActionBase.h
+++ b/winaccessibility/source/UAccCOM/AccActionBase.h
@@ -19,8 +19,7 @@
// AccActionBase.h: interface for the CAccActionBase class.
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCACTIONBASE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCACTIONBASE_H
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/accessibility/XAccessibleAction.hpp>
@@ -72,6 +71,4 @@ private:
css::accessibility::XAccessibleAction* GetXInterface() { return pRXAct.get(); }
};
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCACTIONBASE_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccComponent.h b/winaccessibility/source/UAccCOM/AccComponent.h
index 99610872d830..bfd0cf42582c 100644
--- a/winaccessibility/source/UAccCOM/AccComponent.h
+++ b/winaccessibility/source/UAccCOM/AccComponent.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMPONENT_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMPONENT_H
+#pragma once
#include "Resource.h" // main symbols
@@ -85,6 +84,4 @@ public:
STDMETHOD(get_background)(IA2Color * background) override;
};
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMPONENT_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccComponentBase.h b/winaccessibility/source/UAccCOM/AccComponentBase.h
index fd050d4c64ed..83770ba2d263 100644
--- a/winaccessibility/source/UAccCOM/AccComponentBase.h
+++ b/winaccessibility/source/UAccCOM/AccComponentBase.h
@@ -19,8 +19,7 @@
// AccComponentBase.h: interface for the CAccComponentBase class.
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMPONENTBASE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMPONENTBASE_H
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/accessibility/XAccessibleComponent.hpp>
@@ -61,6 +60,4 @@ protected:
css::accessibility::XAccessibleComponent* GetXInterface() { return pRXComp.get(); }
};
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMPONENTBASE_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccEditableText.h b/winaccessibility/source/UAccCOM/AccEditableText.h
index 3925fc060024..30c6d2a08e91 100644
--- a/winaccessibility/source/UAccCOM/AccEditableText.h
+++ b/winaccessibility/source/UAccCOM/AccEditableText.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCEDITABLETEXT_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCEDITABLETEXT_H
+#pragma once
#include <sal/config.h>
@@ -116,6 +115,4 @@ private:
}
};
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCEDITABLETEXT_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccHyperLink.h b/winaccessibility/source/UAccCOM/AccHyperLink.h
index 1af6adabbbd2..42d65a833577 100644
--- a/winaccessibility/source/UAccCOM/AccHyperLink.h
+++ b/winaccessibility/source/UAccCOM/AccHyperLink.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCHYPERLINK_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCHYPERLINK_H
+#pragma once
#include "Resource.h" // main symbols
@@ -134,6 +133,4 @@ private:
};
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCHYPERLINK_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccHypertext.h b/winaccessibility/source/UAccCOM/AccHypertext.h
index 59bf64d45dc9..41be1d886c93 100644
--- a/winaccessibility/source/UAccCOM/AccHypertext.h
+++ b/winaccessibility/source/UAccCOM/AccHypertext.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCHYPERTEXT_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCHYPERTEXT_H
+#pragma once
#include "Resource.h" // main symbols
@@ -151,6 +150,4 @@ private:
};
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCHYPERTEXT_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccImage.h b/winaccessibility/source/UAccCOM/AccImage.h
index 3d7d86306c1c..f747ddfe57f7 100644
--- a/winaccessibility/source/UAccCOM/AccImage.h
+++ b/winaccessibility/source/UAccCOM/AccImage.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCIMAGE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCIMAGE_H
+#pragma once
#include "Resource.h" // main symbols
@@ -97,6 +96,4 @@ private:
}
};
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCIMAGE_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccRelation.h b/winaccessibility/source/UAccCOM/AccRelation.h
index 77a3e396f560..df258f709dbc 100644
--- a/winaccessibility/source/UAccCOM/AccRelation.h
+++ b/winaccessibility/source/UAccCOM/AccRelation.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCRELATION_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCRELATION_H
+#pragma once
#include "Resource.h" // main symbols
@@ -89,6 +88,4 @@ private:
css::accessibility::AccessibleRelation relation;
};
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCRELATION_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccTable.h b/winaccessibility/source/UAccCOM/AccTable.h
index 56d9ae338d67..a3b1dbc0a47d 100644
--- a/winaccessibility/source/UAccCOM/AccTable.h
+++ b/winaccessibility/source/UAccCOM/AccTable.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTABLE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTABLE_H
+#pragma once
#include "Resource.h" // main symbols
@@ -176,6 +175,4 @@ private:
}
};
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTABLE_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccText.h b/winaccessibility/source/UAccCOM/AccText.h
index fbbb07cb841f..dd624fd4e306 100644
--- a/winaccessibility/source/UAccCOM/AccText.h
+++ b/winaccessibility/source/UAccCOM/AccText.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTEXT_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTEXT_H
+#pragma once
#include "Resource.h" // main symbols
@@ -127,6 +126,4 @@ public:
STDMETHOD(get_oldText)( IA2TextSegment *oldText) override;
};
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTEXT_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccTextBase.h b/winaccessibility/source/UAccCOM/AccTextBase.h
index da4272cba8d1..66f0087563ad 100644
--- a/winaccessibility/source/UAccCOM/AccTextBase.h
+++ b/winaccessibility/source/UAccCOM/AccTextBase.h
@@ -19,8 +19,7 @@
// AccTextBase.h: interface for the CAccTextBase class.
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTEXTBASE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTEXTBASE_H
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/accessibility/XAccessibleText.hpp>
@@ -111,6 +110,4 @@ private:
css::accessibility::XAccessibleText* GetXInterface() { return pRXText.get(); }
};
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCTEXTBASE_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccValue.h b/winaccessibility/source/UAccCOM/AccValue.h
index e16fed598b01..0bfb1dda0e25 100644
--- a/winaccessibility/source/UAccCOM/AccValue.h
+++ b/winaccessibility/source/UAccCOM/AccValue.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCVALUE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCVALUE_H
+#pragma once
#include "Resource.h" // main symbols
@@ -100,6 +99,4 @@ private:
};
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCVALUE_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/AccessibleKeyStroke.h b/winaccessibility/source/UAccCOM/AccessibleKeyStroke.h
index 74a731fbd8b2..db3903cbd6e7 100644
--- a/winaccessibility/source/UAccCOM/AccessibleKeyStroke.h
+++ b/winaccessibility/source/UAccCOM/AccessibleKeyStroke.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCESSIBLEKEYSTROKE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCESSIBLEKEYSTROKE_H
+#pragma once
struct ACCESSIBLE_KEYSTROKE
{
@@ -150,6 +149,4 @@ const short FINDBACKWARD = 16;
const short PROPERTIES = 17;
const short FRONT = 18;
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCESSIBLEKEYSTROKE_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/EnumVariant.h b/winaccessibility/source/UAccCOM/EnumVariant.h
index 00e039ab018d..d82bd771fb19 100644
--- a/winaccessibility/source/UAccCOM/EnumVariant.h
+++ b/winaccessibility/source/UAccCOM/EnumVariant.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ENUMVARIANT_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ENUMVARIANT_H
+#pragma once
#include "Resource.h" // main symbols
#include <com/sun/star/accessibility/XAccessible.hpp>
@@ -107,6 +106,4 @@ private:
m_pXAccessibleSelection;
};
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ENUMVARIANT_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/MAccessible.h b/winaccessibility/source/UAccCOM/MAccessible.h
index 7ec9e3212d11..4a388a3943f5 100644
--- a/winaccessibility/source/UAccCOM/MAccessible.h
+++ b/winaccessibility/source/UAccCOM/MAccessible.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_MACCESSIBLE_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_MACCESSIBLE_H
+#pragma once
#include "Resource.h" // main symbols
#include <map>
@@ -254,6 +253,4 @@ public:
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_MACCESSIBLE_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/UNOXWrapper.h b/winaccessibility/source/UAccCOM/UNOXWrapper.h
index b00bb6cbb5a7..76e47565a2d9 100644
--- a/winaccessibility/source/UAccCOM/UNOXWrapper.h
+++ b/winaccessibility/source/UAccCOM/UNOXWrapper.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_UNOXWRAPPER_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_UNOXWRAPPER_H
+#pragma once
#include "Resource.h" // main symbols
@@ -55,6 +54,4 @@ protected:
~CUNOXWrapper() {}
};
-#endif // INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_UNOXWRAPPER_H
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/acccommon.h b/winaccessibility/source/UAccCOM/acccommon.h
index f178ad3f32da..a14c26a84023 100644
--- a/winaccessibility/source/UAccCOM/acccommon.h
+++ b/winaccessibility/source/UAccCOM/acccommon.h
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMMON_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_ACCCOMMON_H
+#pragma once
//for MAccessible.cxx
struct ltComp
@@ -65,6 +64,4 @@ createInstance(REFIID iid, Ifc ** ppIfc)
return CComCreator< CComObject<T> >::CreateInstance(0, iid, reinterpret_cast<void**>(ppIfc));
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/winaccessibility/source/UAccCOM/stdafx.h b/winaccessibility/source/UAccCOM/stdafx.h
index e25bfe98c450..46abca7ea71c 100644
--- a/winaccessibility/source/UAccCOM/stdafx.h
+++ b/winaccessibility/source/UAccCOM/stdafx.h
@@ -21,8 +21,7 @@
// or project specific include files that are used frequently,
// but are changed infrequently
-#ifndef INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_STDAFX_H
-#define INCLUDED_WINACCESSIBILITY_SOURCE_UACCCOM_STDAFX_H
+#pragma once
#pragma once
@@ -76,6 +75,4 @@ extern CComModule _Module;
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-#endif // !defined(AFX_STDAFX_H__5E2F9072_190F_47C7_8003_4D44FD308CB9__INCLUDED)
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */