diff options
Diffstat (limited to 'svx/source/sidebar/line/LineWidthPopup.cxx')
-rw-r--r-- | svx/source/sidebar/line/LineWidthPopup.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sidebar/line/LineWidthPopup.cxx b/svx/source/sidebar/line/LineWidthPopup.cxx index 49596941147a..63d6fddb2ab1 100644 --- a/svx/source/sidebar/line/LineWidthPopup.cxx +++ b/svx/source/sidebar/line/LineWidthPopup.cxx @@ -32,7 +32,7 @@ LineWidthPopup::LineWidthPopup ( : Popup( pParent, rControlCreator, - ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Width"))) + OUString( "Width")) { SetPopupModeEndHandler(::boost::bind(&LineWidthPopup::PopupModeEndCallback, this)); } @@ -68,7 +68,7 @@ void LineWidthPopup::PopupModeEndCallback (void) { SvtViewOptions aWinOpt( E_WINDOW, SIDEBAR_LINE_WIDTH_GLOBAL_VALUE ); ::com::sun::star::uno::Sequence < ::com::sun::star::beans::NamedValue > aSeq(1); - aSeq[0].Name = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("LineWidth") ); + aSeq[0].Name = "LineWidth"; aSeq[0].Value <<= ::rtl::OUString::number(pControl->GetTmpCustomWidth()); aWinOpt.SetUserData( aSeq ); } |