diff options
Diffstat (limited to 'svx/source/tbxctrls/itemwin.cxx')
-rw-r--r-- | svx/source/tbxctrls/itemwin.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx index 4fd4086fe0a5..30a1b66d173e 100644 --- a/svx/source/tbxctrls/itemwin.cxx +++ b/svx/source/tbxctrls/itemwin.cxx @@ -47,8 +47,8 @@ using namespace ::com::sun::star::beans; SvxMetricField::SvxMetricField( vcl::Window* pParent, const Reference< XFrame >& rFrame ) - : InterimItemWindow(pParent, "svx/ui/metricfieldbox.ui", "MetricFieldBox") - , m_xWidget(m_xBuilder->weld_metric_spin_button("metricfield", FieldUnit::MM)) + : InterimItemWindow(pParent, u"svx/ui/metricfieldbox.ui"_ustr, u"MetricFieldBox"_ustr) + , m_xWidget(m_xBuilder->weld_metric_spin_button(u"metricfield"_ustr, FieldUnit::MM)) , nCurValue(0) , eDestPoolUnit(MapUnit::Map100thMM) , eDlgUnit(SfxModule::GetModuleFieldUnit(rFrame)) @@ -82,7 +82,7 @@ void SvxMetricField::set_sensitive(bool bSensitive) Enable(bSensitive); m_xWidget->set_sensitive(bSensitive); if (!bSensitive) - m_xWidget->set_text(""); + m_xWidget->set_text(u""_ustr); } void SvxMetricField::Update( const XLineWidthItem* pItem ) @@ -95,7 +95,7 @@ void SvxMetricField::Update( const XLineWidthItem* pItem ) SetMetricValue(*m_xWidget, pItem->GetValue(), MapUnit::Map100thMM); } else - m_xWidget->set_text(""); + m_xWidget->set_text(u""_ustr); } IMPL_LINK_NOARG(SvxMetricField, ModifyHdl, weld::MetricSpinButton&, void) @@ -105,9 +105,9 @@ IMPL_LINK_NOARG(SvxMetricField, ModifyHdl, weld::MetricSpinButton&, void) Any a; aLineWidthItem.QueryValue( a ); - Sequence< PropertyValue > aArgs{ comphelper::makePropertyValue("LineWidth", a) }; + Sequence< PropertyValue > aArgs{ comphelper::makePropertyValue(u"LineWidth"_ustr, a) }; SfxToolBoxControl::Dispatch( Reference< XDispatchProvider >( mxFrame->getController(), UNO_QUERY ), - ".uno:LineWidth", + u".uno:LineWidth"_ustr, aArgs ); } @@ -258,7 +258,7 @@ void SvxFillAttrBox::Fill(weld::ComboBox& rBox, const XHatchListRef &pList) const Size aBmpSize(aBitmapEx.GetSizePixel()); pVD->SetOutputSizePixel(aBmpSize, false); pVD->DrawBitmapEx(Point(), aBitmapEx); - rBox.append("", pEntry->GetName(), *pVD); + rBox.append(u""_ustr, pEntry->GetName(), *pVD); } else rBox.append_text(pEntry->GetName()); @@ -285,7 +285,7 @@ void SvxFillAttrBox::Fill(weld::ComboBox& rBox, const XGradientListRef &pList) const Size aBmpSize(aBitmapEx.GetSizePixel()); pVD->SetOutputSizePixel(aBmpSize, false); pVD->DrawBitmapEx(Point(), aBitmapEx); - rBox.append("", pEntry->GetName(), *pVD); + rBox.append(u""_ustr, pEntry->GetName(), *pVD); } else rBox.append_text(pEntry->GetName()); @@ -312,7 +312,7 @@ void SvxFillAttrBox::Fill(weld::ComboBox& rBox, const XBitmapListRef &pList) BitmapEx aBitmapEx = pEntry->GetGraphicObject().GetGraphic().GetBitmapEx(); formatBitmapExToSize(aBitmapEx, aSize); pVD->DrawBitmapEx(Point(), aBitmapEx); - rBox.append("", pEntry->GetName(), *pVD); + rBox.append(u""_ustr, pEntry->GetName(), *pVD); } rBox.thaw(); @@ -336,7 +336,7 @@ void SvxFillAttrBox::Fill(weld::ComboBox& rBox, const XPatternListRef &pList) BitmapEx aBitmapEx = pEntry->GetGraphicObject().GetGraphic().GetBitmapEx(); formatBitmapExToSize(aBitmapEx, aSize); pVD->DrawBitmapEx(Point(), aBitmapEx); - rBox.append("", pEntry->GetName(), *pVD); + rBox.append(u""_ustr, pEntry->GetName(), *pVD); } rBox.thaw(); |