diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-06-03 09:11:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-06-03 12:07:20 +0200 |
commit | 83d0b6bd8da7495bc962b83a6638e2aaab90a5ae (patch) | |
tree | 32692c09f4c57bef78c39695d90be9d6132d0d1a /sc/source/ui/cctrl/tbzoomsliderctrl.cxx | |
parent | 24b06580577425681e22472ee68ab00e9c509a83 (diff) |
loplugin:ostr in sc
Change-Id: I72438d38c75a7facb9bd5f9cfb7be1213ac3d141
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168356
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/cctrl/tbzoomsliderctrl.cxx')
-rw-r--r-- | sc/source/ui/cctrl/tbzoomsliderctrl.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx index 31eb73b0a8e5..4d84615b5265 100644 --- a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx +++ b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx @@ -181,11 +181,11 @@ tools::Long ScZoomSlider::Zoom2Offset( sal_uInt16 nCurrentZoom ) const ScZoomSliderWnd::ScZoomSliderWnd( vcl::Window* pParent, const css::uno::Reference< css::frame::XDispatchProvider >& rDispatchProvider, sal_uInt16 nCurrentZoom ): - InterimItemWindow(pParent, "modules/scalc/ui/zoombox.ui", "ZoomBox"), + InterimItemWindow(pParent, u"modules/scalc/ui/zoombox.ui"_ustr, u"ZoomBox"_ustr), mxWidget(new ScZoomSlider(rDispatchProvider, nCurrentZoom)), - mxPercentage(m_xBuilder->weld_label("current_zoom")), - mxLabel(m_xBuilder->weld_label("zoom_label")), - mxWeld(new weld::CustomWeld(*m_xBuilder, "zoom", *mxWidget)) + mxPercentage(m_xBuilder->weld_label(u"current_zoom"_ustr)), + mxLabel(m_xBuilder->weld_label(u"zoom_label"_ustr)), + mxWeld(new weld::CustomWeld(*m_xBuilder, u"zoom"_ustr, *mxWidget)) { Size aLogicalSize( 115, 40 ); Size aSliderSize = LogicToPixel(aLogicalSize, MapMode(MapUnit::Map10thMM)); @@ -274,9 +274,9 @@ bool ScZoomSlider::MouseButtonDown( const MouseEvent& rMEvt ) css::uno::Any a; aZoomSliderItem.QueryValue( a ); - css::uno::Sequence aArgs{ comphelper::makePropertyValue("ScalingFactor", a) }; + css::uno::Sequence aArgs{ comphelper::makePropertyValue(u"ScalingFactor"_ustr, a) }; - SfxToolBoxControl::Dispatch( m_xDispatchProvider, ".uno:ScalingFactor", aArgs ); + SfxToolBoxControl::Dispatch( m_xDispatchProvider, u".uno:ScalingFactor"_ustr, aArgs ); mbOmitPaint = false; @@ -309,9 +309,9 @@ bool ScZoomSlider::MouseMove( const MouseEvent& rMEvt ) css::uno::Any a; aZoomSliderItem.QueryValue( a ); - css::uno::Sequence aArgs{ comphelper::makePropertyValue("ScalingFactor", a) }; + css::uno::Sequence aArgs{ comphelper::makePropertyValue(u"ScalingFactor"_ustr, a) }; - SfxToolBoxControl::Dispatch( m_xDispatchProvider, ".uno:ScalingFactor", aArgs ); + SfxToolBoxControl::Dispatch( m_xDispatchProvider, u".uno:ScalingFactor"_ustr, aArgs ); mbOmitPaint = false; } |