diff --git a/comphelper/Library_comphelper.mk b/comphelper/Library_comphelper.mk
index f4257653d5a1..ee0428407d7c 100644
--- a/comphelper/Library_comphelper.mk
+++ b/comphelper/Library_comphelper.mk
@@ -85,7 +85,6 @@ $(eval $(call gb_Library_add_exception_objects,comphelper,\
comphelper/source/misc/accessiblekeybindinghelper \
comphelper/source/misc/accessibleselectionhelper \
comphelper/source/misc/accessibletexthelper \
- comphelper/source/misc/accessiblewrapper \
comphelper/source/misc/AccessibleImplementationHelper \
comphelper/source/misc/anycompare \
comphelper/source/misc/anytohash \
@@ -125,7 +124,6 @@ $(eval $(call gb_Library_add_exception_objects,comphelper,\
comphelper/source/misc/numbers \
comphelper/source/misc/officerestartmanager \
comphelper/source/misc/traceevent \
- comphelper/source/misc/proxyaggregation \
comphelper/source/misc/random \
comphelper/source/misc/SelectionMultiplex \
comphelper/source/misc/sequenceashashmap \
diff --git a/compilerplugins/clang/salcall.cxx b/compilerplugins/clang/salcall.cxx
index f414a8927dac..0c017755c836 100644
--- a/compilerplugins/clang/salcall.cxx
+++ b/compilerplugins/clang/salcall.cxx
@@ -165,9 +165,9 @@ void SalCall::handleFunctionDecl(FunctionDecl const* decl)
if (auto recordDecl = dyn_cast(decl->getDeclContext()))
{
auto dc = loplugin::DeclCheck(recordDecl);
- if (dc.Class("OProxyAggregation").Namespace("comphelper").GlobalNamespace()
+ if (dc.Class("OProxyAggregation").Namespace("accessibility").GlobalNamespace()
|| dc.Class("OComponentProxyAggregationHelper")
- .Namespace("comphelper")
+ .Namespace("accessibility")
.GlobalNamespace()
|| dc.Class("SvxShapeMaster").GlobalNamespace()
|| dc.Class("ListBoxAccessibleBase").Namespace("accessibility").GlobalNamespace()
diff --git a/include/svx/AccessibleControlShape.hxx b/include/svx/AccessibleControlShape.hxx
index d02ac83b0808..68f34e11773c 100644
--- a/include/svx/AccessibleControlShape.hxx
+++ b/include/svx/AccessibleControlShape.hxx
@@ -43,7 +43,7 @@ namespace com::sun::star {
namespace uno { class XAggregation; }
}
-namespace comphelper
+namespace accessibility
{
class OWrappedAccessibleChildrenManager;
}
@@ -187,7 +187,7 @@ private:
css::uno::Reference< css::lang::XComponent >
m_xControlContextComponent; // cached interface of our aggregate
- rtl::Reference<::comphelper::OWrappedAccessibleChildrenManager>
+ rtl::Reference<::accessibility::OWrappedAccessibleChildrenManager>
m_pChildManager;
bool m_bListeningForName : 1; // are we currently listening for changes of the "Name" property?
diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist
index 8253f6bb54f4..e50cf3bbd094 100644
--- a/solenv/clang-format/excludelist
+++ b/solenv/clang-format/excludelist
@@ -1237,7 +1237,6 @@ comphelper/source/misc/accessibleeventnotifier.cxx
comphelper/source/misc/accessiblekeybindinghelper.cxx
comphelper/source/misc/accessibleselectionhelper.cxx
comphelper/source/misc/accessibletexthelper.cxx
-comphelper/source/misc/accessiblewrapper.cxx
comphelper/source/misc/anycompare.cxx
comphelper/source/misc/anytohash.cxx
comphelper/source/misc/anytostring.cxx
@@ -1267,7 +1266,6 @@ comphelper/source/misc/numberedcollection.cxx
comphelper/source/misc/numbers.cxx
comphelper/source/misc/officerestartmanager.cxx
comphelper/source/misc/officerestartmanager.hxx
-comphelper/source/misc/proxyaggregation.cxx
comphelper/source/misc/sequenceashashmap.cxx
comphelper/source/misc/sharedmutex.cxx
comphelper/source/misc/solarmutex.cxx
@@ -4724,7 +4722,6 @@ include/comphelper/accessibleeventnotifier.hxx
include/comphelper/accessiblekeybindinghelper.hxx
include/comphelper/accessibleselectionhelper.hxx
include/comphelper/accessibletexthelper.hxx
-include/comphelper/accessiblewrapper.hxx
include/comphelper/anycompare.hxx
include/comphelper/asyncnotification.hxx
include/comphelper/attributelist.hxx
@@ -4775,7 +4772,6 @@ include/comphelper/propertysetinfo.hxx
include/comphelper/propertystatecontainer.hxx
include/comphelper/propmultiplex.hxx
include/comphelper/propstate.hxx
-include/comphelper/proxyaggregation.hxx
include/comphelper/scopeguard.hxx
include/comphelper/seekableinput.hxx
include/comphelper/seqstream.hxx
@@ -11167,7 +11163,11 @@ svx/source/accessibility/ChildrenManagerImpl.hxx
svx/source/accessibility/GraphCtlAccessibleContext.cxx
svx/source/accessibility/ShapeTypeHandler.cxx
svx/source/accessibility/SvxShapeTypes.cxx
+svx/source/accessibility/accessiblewrapper.cxx
+svx/source/accessibility/accessiblewrapper.hxx
svx/source/accessibility/charmapacc.cxx
+svx/source/accessibility/proxyaggregation.cxx
+svx/source/accessibility/proxyaggregation.hxx
svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
svx/source/accessibility/svxrectctaccessiblecontext.cxx
svx/source/core/extedit.cxx
diff --git a/svx/Library_svx.mk b/svx/Library_svx.mk
index 4dd372c5bda4..b6c8c9c1efec 100644
--- a/svx/Library_svx.mk
+++ b/svx/Library_svx.mk
@@ -110,7 +110,9 @@ $(eval $(call gb_Library_add_exception_objects,svx,\
svx/source/accessibility/GraphCtlAccessibleContext \
svx/source/accessibility/ShapeTypeHandler \
svx/source/accessibility/SvxShapeTypes \
+ svx/source/accessibility/accessiblewrapper \
svx/source/accessibility/lookupcolorname \
+ svx/source/accessibility/proxyaggregation \
))
endif
diff --git a/svx/source/accessibility/AccessibleControlShape.cxx b/svx/source/accessibility/AccessibleControlShape.cxx
index 0addc4cdedf9..e8b1fa15de75 100644
--- a/svx/source/accessibility/AccessibleControlShape.cxx
+++ b/svx/source/accessibility/AccessibleControlShape.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include "accessiblewrapper.hxx"
+
#include
#include
#include
@@ -38,7 +40,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -101,7 +102,7 @@ AccessibleControlShape::AccessibleControlShape (
, m_bDisposeNativeContext( false )
, m_bWaitingForControl( false )
{
- m_pChildManager = new comphelper::OWrappedAccessibleChildrenManager( comphelper::getProcessComponentContext() );
+ m_pChildManager = new OWrappedAccessibleChildrenManager( comphelper::getProcessComponentContext() );
osl_atomic_increment( &m_refCount );
{
diff --git a/comphelper/source/misc/accessiblewrapper.cxx b/svx/source/accessibility/accessiblewrapper.cxx
similarity index 99%
rename from comphelper/source/misc/accessiblewrapper.cxx
rename to svx/source/accessibility/accessiblewrapper.cxx
index 32e1c23b1bd0..916513288e38 100644
--- a/comphelper/source/misc/accessiblewrapper.cxx
+++ b/svx/source/accessibility/accessiblewrapper.cxx
@@ -17,7 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include
+#include "accessiblewrapper.hxx"
+
#include
#include
@@ -27,7 +28,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
-namespace comphelper
+namespace accessibility
{
OWrappedAccessibleChildrenManager::OWrappedAccessibleChildrenManager( const Reference< XComponentContext >& _rxContext )
:m_xContext( _rxContext )
diff --git a/include/comphelper/accessiblewrapper.hxx b/svx/source/accessibility/accessiblewrapper.hxx
similarity index 94%
rename from include/comphelper/accessiblewrapper.hxx
rename to svx/source/accessibility/accessiblewrapper.hxx
index 67c7dd0015b5..16cfbc2666bb 100644
--- a/include/comphelper/accessiblewrapper.hxx
+++ b/svx/source/accessibility/accessiblewrapper.hxx
@@ -22,9 +22,10 @@
#include
#include
+#include "proxyaggregation.hxx"
+
#include
*/
- class UNLESS_MERGELIBS_MORE(COMPHELPER_DLLPUBLIC) OComponentProxyAggregationHelper
- : public ::cppu::ImplHelper1,
- private OProxyAggregation
+ class OComponentProxyAggregationHelper : public ::cppu::ImplHelper1,
+ private OProxyAggregation
{
private:
typedef ::cppu::ImplHelper1 < css::lang::XEventListener
@@ -178,9 +176,9 @@ namespace comphelper
//= OComponentProxyAggregation
- class UNLESS_MERGELIBS_MORE(COMPHELPER_DLLPUBLIC) OComponentProxyAggregation : public cppu::BaseMutex
- ,public cppu::WeakComponentImplHelperBase
- ,public OComponentProxyAggregationHelper
+ class OComponentProxyAggregation : public cppu::BaseMutex,
+ public cppu::WeakComponentImplHelperBase,
+ public OComponentProxyAggregationHelper
{
protected:
OComponentProxyAggregation(
@@ -210,6 +208,6 @@ namespace comphelper
};
-} // namespace comphelper
+} // namespace accessibility
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */