summaryrefslogtreecommitdiff
path: root/sw
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 /sw
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 'sw')
-rw-r--r--sw/source/ui/vba/vbafind.hxx2
-rw-r--r--sw/source/ui/vba/vbalistformat.cxx2
-rw-r--r--sw/source/uibase/inc/navipi.hxx4
-rw-r--r--sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx2
-rw-r--r--sw/source/uibase/sidebar/CommentsPanel.cxx4
-rw-r--r--sw/source/uibase/sidebar/PageFooterPanel.cxx2
-rw-r--r--sw/source/uibase/sidebar/PageFormatPanel.cxx2
-rw-r--r--sw/source/uibase/sidebar/PageHeaderPanel.cxx4
-rw-r--r--sw/source/uibase/sidebar/PageStylesPanel.cxx4
-rw-r--r--sw/source/writerfilter/dmapper/GraphicImport.cxx4
-rw-r--r--sw/source/writerfilter/dmapper/GraphicImport.hxx2
11 files changed, 16 insertions, 16 deletions
diff --git a/sw/source/ui/vba/vbafind.hxx b/sw/source/ui/vba/vbafind.hxx
index 110a084bd276..58198d1f3125 100644
--- a/sw/source/ui/vba/vbafind.hxx
+++ b/sw/source/ui/vba/vbafind.hxx
@@ -60,7 +60,7 @@ private:
/// @throws css::uno::RuntimeException
SwVbaFind( const css::uno::Reference< ooo::vba::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, css::uno::Reference< css::frame::XModel > xModel );
public:
- static css::uno::Reference< ooo::vba::word::XFind > GetOrCreateFind(const css::uno::Reference< ooo::vba::XHelperInterface >& rParent, const css::uno::Reference< com::sun::star::uno::XComponentContext >& rContext, const css::uno::Reference< com::sun::star::frame::XModel >& xModel, const css::uno::Reference< css::text::XTextRange >& xTextRange);
+ static css::uno::Reference< ooo::vba::word::XFind > GetOrCreateFind(const css::uno::Reference< ooo::vba::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, const css::uno::Reference< css::frame::XModel >& xModel, const css::uno::Reference< css::text::XTextRange >& xTextRange);
virtual ~SwVbaFind() override;
// Attributes
diff --git a/sw/source/ui/vba/vbalistformat.cxx b/sw/source/ui/vba/vbalistformat.cxx
index 229c9c459e63..0dcce10ee881 100644
--- a/sw/source/ui/vba/vbalistformat.cxx
+++ b/sw/source/ui/vba/vbalistformat.cxx
@@ -288,7 +288,7 @@ void SAL_CALL SwVbaListFormat::ConvertNumbersToText( )
rPropertySet->getPropertyValue(u"ParaTabStops"_ustr) >>= stops;
css::style::TabStop tabStop{};
tabStop.Position = nListtabStopPosition;
- tabStop.Alignment = com::sun::star::style::TabAlign::TabAlign_LEFT;
+ tabStop.Alignment = css::style::TabAlign::TabAlign_LEFT;
tabStop.FillChar = ' ';
rPropertySet->setPropertyValue(u"ParaTabStops"_ustr,
css::uno::Any(comphelper::combineSequences({ tabStop }, stops)));
diff --git a/sw/source/uibase/inc/navipi.hxx b/sw/source/uibase/inc/navipi.hxx
index a90cbc667169..5068c10315fd 100644
--- a/sw/source/uibase/inc/navipi.hxx
+++ b/sw/source/uibase/inc/navipi.hxx
@@ -133,10 +133,10 @@ class SwNavigationPI final : public PanelLayout
public:
static std::unique_ptr<PanelLayout> Create(weld::Widget* pParent,
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rxFrame,
+ const css::uno::Reference< css::frame::XFrame >& rxFrame,
SfxBindings* pBindings);
SwNavigationPI(weld::Widget* pParent,
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rxFrame,
+ const css::uno::Reference< css::frame::XFrame >& rxFrame,
SfxBindings* _pBindings, SfxNavigator* pNavigatorDlg);
virtual ~SwNavigationPI() override;
diff --git a/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx b/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx
index 593d2ec127fe..5e6e934ee598 100644
--- a/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx
+++ b/sw/source/uibase/sidebar/A11yCheckIssuesPanel.cxx
@@ -101,7 +101,7 @@ std::unique_ptr<PanelLayout> A11yCheckIssuesPanel::Create(weld::Widget* pParent,
SfxBindings* pBindings)
{
if (pParent == nullptr)
- throw ::com::sun::star::lang::IllegalArgumentException(
+ throw css::lang::IllegalArgumentException(
u"no parent window given to A11yCheckIssuesPanel::Create"_ustr, nullptr, 0);
return std::make_unique<A11yCheckIssuesPanel>(pParent, pBindings);
}
diff --git a/sw/source/uibase/sidebar/CommentsPanel.cxx b/sw/source/uibase/sidebar/CommentsPanel.cxx
index edad2a8d5c17..0910db3a49cb 100644
--- a/sw/source/uibase/sidebar/CommentsPanel.cxx
+++ b/sw/source/uibase/sidebar/CommentsPanel.cxx
@@ -181,8 +181,8 @@ Thread::~Thread() {}
std::unique_ptr<PanelLayout> CommentsPanel::Create(weld::Widget* pParent)
{
if (pParent == nullptr)
- throw ::com::sun::star::lang::IllegalArgumentException(
- "no parent window given to CommentsPanel::Create", nullptr, 0);
+ throw css::lang::IllegalArgumentException("no parent window given to CommentsPanel::Create",
+ nullptr, 0);
return std::make_unique<CommentsPanel>(pParent);
}
diff --git a/sw/source/uibase/sidebar/PageFooterPanel.cxx b/sw/source/uibase/sidebar/PageFooterPanel.cxx
index 8060f91308f0..3817a0a97970 100644
--- a/sw/source/uibase/sidebar/PageFooterPanel.cxx
+++ b/sw/source/uibase/sidebar/PageFooterPanel.cxx
@@ -39,7 +39,7 @@ std::unique_ptr<PanelLayout> PageFooterPanel::Create(
SfxBindings* pBindings)
{
if( pParent == nullptr )
- throw ::com::sun::star::lang::IllegalArgumentException(u"no parent window given to PageFooterPanel::Create"_ustr, nullptr, 0);
+ throw css::lang::IllegalArgumentException(u"no parent window given to PageFooterPanel::Create"_ustr, nullptr, 0);
return std::make_unique<PageFooterPanel>(pParent, pBindings);
}
diff --git a/sw/source/uibase/sidebar/PageFormatPanel.cxx b/sw/source/uibase/sidebar/PageFormatPanel.cxx
index 57aa6f03a01b..aecefa803080 100644
--- a/sw/source/uibase/sidebar/PageFormatPanel.cxx
+++ b/sw/source/uibase/sidebar/PageFormatPanel.cxx
@@ -48,7 +48,7 @@ std::unique_ptr<PanelLayout> PageFormatPanel::Create(
SfxBindings* pBindings)
{
if( pParent == nullptr )
- throw ::com::sun::star::lang::IllegalArgumentException(u"no parent window given to PageFormatPanel::Create"_ustr, nullptr, 0);
+ throw css::lang::IllegalArgumentException(u"no parent window given to PageFormatPanel::Create"_ustr, nullptr, 0);
return std::make_unique<PageFormatPanel>(pParent, pBindings);
}
diff --git a/sw/source/uibase/sidebar/PageHeaderPanel.cxx b/sw/source/uibase/sidebar/PageHeaderPanel.cxx
index f77799314751..38b1b88402d6 100644
--- a/sw/source/uibase/sidebar/PageHeaderPanel.cxx
+++ b/sw/source/uibase/sidebar/PageHeaderPanel.cxx
@@ -39,9 +39,9 @@ std::unique_ptr<PanelLayout> PageHeaderPanel::Create(
SfxBindings* pBindings)
{
if( pParent == nullptr )
- throw ::com::sun::star::lang::IllegalArgumentException(u"no parent window given to PageHeaderPanel::Create"_ustr, nullptr, 0);
+ throw css::lang::IllegalArgumentException(u"no parent window given to PageHeaderPanel::Create"_ustr, nullptr, 0);
if( pBindings == nullptr )
- throw ::com::sun::star::lang::IllegalArgumentException(u"no SfxBindings given to PageHeaderPanel::Create"_ustr, nullptr, 0);
+ throw css::lang::IllegalArgumentException(u"no SfxBindings given to PageHeaderPanel::Create"_ustr, nullptr, 0);
return std::make_unique<PageHeaderPanel>(pParent, pBindings);
}
diff --git a/sw/source/uibase/sidebar/PageStylesPanel.cxx b/sw/source/uibase/sidebar/PageStylesPanel.cxx
index e35640cd6fbd..d1f8744d2b07 100644
--- a/sw/source/uibase/sidebar/PageStylesPanel.cxx
+++ b/sw/source/uibase/sidebar/PageStylesPanel.cxx
@@ -81,9 +81,9 @@ static SvxPageUsage PosToPageUsage_Impl( sal_uInt16 nPos )
std::unique_ptr<PanelLayout> PageStylesPanel::Create(weld::Widget* pParent, SfxBindings* pBindings)
{
if( pParent == nullptr )
- throw ::com::sun::star::lang::IllegalArgumentException(u"no parent window given to PageStylesPanel::Create"_ustr, nullptr, 0);
+ throw css::lang::IllegalArgumentException(u"no parent window given to PageStylesPanel::Create"_ustr, nullptr, 0);
if( pBindings == nullptr )
- throw ::com::sun::star::lang::IllegalArgumentException(u"no SfxBindings given to PageStylesPanel::Create"_ustr, nullptr, 0);
+ throw css::lang::IllegalArgumentException(u"no SfxBindings given to PageStylesPanel::Create"_ustr, nullptr, 0);
return std::make_unique<PageStylesPanel>(pParent, pBindings);
}
diff --git a/sw/source/writerfilter/dmapper/GraphicImport.cxx b/sw/source/writerfilter/dmapper/GraphicImport.cxx
index 396508332e51..23330a742f26 100644
--- a/sw/source/writerfilter/dmapper/GraphicImport.cxx
+++ b/sw/source/writerfilter/dmapper/GraphicImport.cxx
@@ -488,9 +488,9 @@ GraphicImport::~GraphicImport()
{
}
-com::sun::star::awt::Point GraphicImport::GetGraphicObjectPosition() const
+css::awt::Point GraphicImport::GetGraphicObjectPosition() const
{
- return (com::sun::star::awt::Point(m_pImpl->m_nLeftPosition, m_pImpl->m_nTopPosition));
+ return (css::awt::Point(m_pImpl->m_nLeftPosition, m_pImpl->m_nTopPosition));
}
bool GraphicImport::GetLayoutInCell() const
diff --git a/sw/source/writerfilter/dmapper/GraphicImport.hxx b/sw/source/writerfilter/dmapper/GraphicImport.hxx
index c29f06a99a6f..19ce3eeb251e 100644
--- a/sw/source/writerfilter/dmapper/GraphicImport.hxx
+++ b/sw/source/writerfilter/dmapper/GraphicImport.hxx
@@ -99,7 +99,7 @@ public:
bool IsGraphic() const;
sal_Int32 GetLeftMarginOrig() const;
- com::sun::star::awt::Point GetGraphicObjectPosition() const;
+ css::awt::Point GetGraphicObjectPosition() const;
bool GetLayoutInCell() const;