summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/tabpagemodel.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-05-14 09:41:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-15 14:22:39 +0200
commitea49dde289c9c5799c8b85983bae1c0ab294a3cb (patch)
treebb6624b0dea97c05e0f4dc33abba9a64e9e45638 /toolkit/source/controls/tabpagemodel.cxx
parent6025ac371bd5cd07c0af550d78db323ad394173b (diff)
loplugin:ostr in toolkit
Change-Id: Ia70d03713bfb7621196d2bd12473d3cf1c2ef1b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167654 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit/source/controls/tabpagemodel.cxx')
-rw-r--r--toolkit/source/controls/tabpagemodel.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/toolkit/source/controls/tabpagemodel.cxx b/toolkit/source/controls/tabpagemodel.cxx
index 7185f8241947..9d8fc6b4caa2 100644
--- a/toolkit/source/controls/tabpagemodel.cxx
+++ b/toolkit/source/controls/tabpagemodel.cxx
@@ -57,7 +57,7 @@ UnoControlTabPageModel::UnoControlTabPageModel( Reference< XComponentContext > c
OUString SAL_CALL UnoControlTabPageModel::getImplementationName()
{
- return "stardiv.Toolkit.UnoControlTabPageModel";
+ return u"stardiv.Toolkit.UnoControlTabPageModel"_ustr;
}
css::uno::Sequence< OUString > SAL_CALL UnoControlTabPageModel::getSupportedServiceNames()
@@ -70,7 +70,7 @@ css::uno::Sequence< OUString > SAL_CALL UnoControlTabPageModel::getSupportedServ
OUString UnoControlTabPageModel::getServiceName( )
{
- return "com.sun.star.awt.tab.UnoControlTabPageModel";
+ return u"com.sun.star.awt.tab.UnoControlTabPageModel"_ustr;
}
Any UnoControlTabPageModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
@@ -80,7 +80,7 @@ Any UnoControlTabPageModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const
switch ( nPropId )
{
case BASEPROPERTY_DEFAULTCONTROL:
- aAny <<= OUString("com.sun.star.awt.tab.UnoControlTabPage");
+ aAny <<= u"com.sun.star.awt.tab.UnoControlTabPage"_ustr;
break;
case BASEPROPERTY_USERFORMCONTAINEES:
{
@@ -168,12 +168,12 @@ UnoControlTabPage::~UnoControlTabPage()
OUString UnoControlTabPage::GetComponentServiceName() const
{
- return "TabPageModel";
+ return u"TabPageModel"_ustr;
}
OUString SAL_CALL UnoControlTabPage::getImplementationName()
{
- return "stardiv.Toolkit.UnoControlTabPage";
+ return u"stardiv.Toolkit.UnoControlTabPage"_ustr;
}
sal_Bool SAL_CALL UnoControlTabPage::supportsService(OUString const & ServiceName)
@@ -183,7 +183,7 @@ sal_Bool SAL_CALL UnoControlTabPage::supportsService(OUString const & ServiceNam
css::uno::Sequence<OUString> SAL_CALL UnoControlTabPage::getSupportedServiceNames()
{
- return { "com.sun.star.awt.tab.UnoControlTabPage" };
+ return { u"com.sun.star.awt.tab.UnoControlTabPage"_ustr };
}
void SAL_CALL UnoControlTabPage::disposing( const lang::EventObject& Source )
@@ -242,7 +242,7 @@ void SAL_CALL UnoControlTabPage::windowResized( const css::awt::WindowEvent& e )
// update the position because of property change event.
mbSizeModified = true;
// Properties in a sequence must be sorted!
- Sequence< OUString > aProps{ "Height", "Width" };
+ Sequence< OUString > aProps{ u"Height"_ustr, u"Width"_ustr };
Sequence< Any > aValues{ Any(aAppFontSize.Height()), Any(aAppFontSize.Width()) };
ImplSetPropertyValues( aProps, aValues, true );
@@ -264,7 +264,7 @@ void SAL_CALL UnoControlTabPage::windowMoved( const css::awt::WindowEvent& e )
// Remember that changes have been done by listener. No need to
// update the position because of property change event.
mbPosModified = true;
- Sequence< OUString > aProps{ "PositionX", "PositionY" };
+ Sequence< OUString > aProps{ u"PositionX"_ustr, u"PositionY"_ustr };
Sequence< Any > aValues{ Any(aTmp.Width()), Any(aTmp.Height()) };
ImplSetPropertyValues( aProps, aValues, true );