summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-11-04 11:26:07 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-11-10 10:50:15 +0100
commit1180b3473aed3251b5869256abc9c7774bab9ced (patch)
tree72e169fd28db8da7b247290e2e53d530feae9d2b /chart2/source
parent7713d916e06a8388f849a758f928cbcfded6c0ae (diff)
com::sun::star -> css
Change-Id: I890ec73e30d3cc6b210903ecee29431f3cb5f635 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175979 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/controller/main/ChartController.cxx2
-rw-r--r--chart2/source/controller/main/ControllerCommandDispatch.cxx2
-rw-r--r--chart2/source/inc/ModifyListenerCallBack.hxx4
-rw-r--r--chart2/source/tools/ModifyListenerCallBack.cxx4
-rw-r--r--chart2/source/view/main/ChartView.cxx4
-rw-r--r--chart2/source/view/main/VDataSeries.cxx2
6 files changed, 8 insertions, 10 deletions
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index e861b91c58c5..747b2319a1a8 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -1361,7 +1361,7 @@ void ChartController::executeDispatch_SourceData()
if ( rModel.hasInternalDataProvider() )
{
// Check if we will able to create data provider later
- css::uno::Reference< com::sun::star::chart2::XDataProviderAccess > xCreatorDoc(
+ css::uno::Reference< css::chart2::XDataProviderAccess > xCreatorDoc(
rModel.getParent(), uno::UNO_QUERY);
if (!xCreatorDoc.is())
return;
diff --git a/chart2/source/controller/main/ControllerCommandDispatch.cxx b/chart2/source/controller/main/ControllerCommandDispatch.cxx
index ee9d7d480de3..2aa350e48aa3 100644
--- a/chart2/source/controller/main/ControllerCommandDispatch.cxx
+++ b/chart2/source/controller/main/ControllerCommandDispatch.cxx
@@ -555,7 +555,7 @@ void ControllerCommandDispatch::updateCommandAvailability()
OSL_ENSURE(xChartModel.is(), "Invalid XChartDocument");
if ( xChartModel.is() )
{
- css::uno::Reference< com::sun::star::chart2::XDataProviderAccess > xCreatorDoc(xChartModel->getParent(), uno::UNO_QUERY);
+ css::uno::Reference< css::chart2::XDataProviderAccess > xCreatorDoc(xChartModel->getParent(), uno::UNO_QUERY);
bCanCreateDataProvider = xCreatorDoc.is();
}
}
diff --git a/chart2/source/inc/ModifyListenerCallBack.hxx b/chart2/source/inc/ModifyListenerCallBack.hxx
index b1b704c86002..b9006bad5a13 100644
--- a/chart2/source/inc/ModifyListenerCallBack.hxx
+++ b/chart2/source/inc/ModifyListenerCallBack.hxx
@@ -40,9 +40,7 @@ public:
~ModifyListenerCallBack();
- void startListening(
- const ::com::sun::star::uno::Reference<::com::sun::star::util::XModifyBroadcaster>&
- xBroadcaster);
+ void startListening(const css::uno::Reference<css::util::XModifyBroadcaster>& xBroadcaster);
SAL_DLLPRIVATE void stopListening();
private: //methods
diff --git a/chart2/source/tools/ModifyListenerCallBack.cxx b/chart2/source/tools/ModifyListenerCallBack.cxx
index 037ee7a7820d..758b25386f96 100644
--- a/chart2/source/tools/ModifyListenerCallBack.cxx
+++ b/chart2/source/tools/ModifyListenerCallBack.cxx
@@ -67,7 +67,7 @@ void SAL_CALL ModifyListenerCallBack_impl::disposing( const lang::EventObject& /
m_xBroadcaster.clear();
}
-void ModifyListenerCallBack_impl::startListening( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyBroadcaster >& xBroadcaster )
+void ModifyListenerCallBack_impl::startListening( const css::uno::Reference< css::util::XModifyBroadcaster >& xBroadcaster )
{
if( m_xBroadcaster == xBroadcaster )
return;
@@ -97,7 +97,7 @@ ModifyListenerCallBack::~ModifyListenerCallBack()
stopListening();
}
-void ModifyListenerCallBack::startListening( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyBroadcaster >& xBroadcaster )
+void ModifyListenerCallBack::startListening( const css::uno::Reference< css::util::XModifyBroadcaster >& xBroadcaster )
{
pModifyListener_impl->startListening( xBroadcaster );
}
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 4b085cde1325..b2d27a4e67e1 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -446,7 +446,7 @@ void lcl_setDefaultWritingMode( const std::shared_ptr< DrawModelWrapper >& pDraw
else
{
//Calc is parent document
- Reference< com::sun::star::beans::XPropertySetInfo > xInfo = xParentProps->getPropertySetInfo();
+ Reference< css::beans::XPropertySetInfo > xInfo = xParentProps->getPropertySetInfo();
if (xInfo->hasPropertyByName(u"PageStyle"_ustr))
{
xParentProps->getPropertyValue( u"PageStyle"_ustr ) >>= aPageStyle;
@@ -457,7 +457,7 @@ void lcl_setDefaultWritingMode( const std::shared_ptr< DrawModelWrapper >& pDraw
if( nWritingMode == -1 || nWritingMode == text::WritingMode2::PAGE )
{
uno::Reference< beans::XPropertySet > xPageStyle( xPageStyles->getByName( aPageStyle ), uno::UNO_QUERY );
- Reference< com::sun::star::beans::XPropertySetInfo > xInfo = xPageStyle->getPropertySetInfo();
+ Reference< css::beans::XPropertySetInfo > xInfo = xPageStyle->getPropertySetInfo();
if (xInfo->hasPropertyByName(u"WritingMode"_ustr))
{
if( xPageStyle.is() )
diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx
index cdf5df751ddd..ebf2141d8bb9 100644
--- a/chart2/source/view/main/VDataSeries.cxx
+++ b/chart2/source/view/main/VDataSeries.cxx
@@ -836,7 +836,7 @@ Symbol* VDataSeries::getSymbolProperties( sal_Int32 index ) const
m_oSymbolProperties_InvisibleSymbolForSelection.emplace();
m_oSymbolProperties_InvisibleSymbolForSelection->Style = SymbolStyle_STANDARD;
m_oSymbolProperties_InvisibleSymbolForSelection->StandardSymbol = 0;//square
- m_oSymbolProperties_InvisibleSymbolForSelection->Size = com::sun::star::awt::Size(0, 0);//tdf#126033
+ m_oSymbolProperties_InvisibleSymbolForSelection->Size = css::awt::Size(0, 0);//tdf#126033
m_oSymbolProperties_InvisibleSymbolForSelection->BorderColor = 0xff000000;//invisible
m_oSymbolProperties_InvisibleSymbolForSelection->FillColor = 0xff000000;//invisible
}