diff options
Diffstat (limited to 'sw/source/uibase/uno/unomod.cxx')
-rw-r--r-- | sw/source/uibase/uno/unomod.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/uibase/uno/unomod.cxx b/sw/source/uibase/uno/unomod.cxx index 40b30bebaf1d..a67a08aab16b 100644 --- a/sw/source/uibase/uno/unomod.cxx +++ b/sw/source/uibase/uno/unomod.cxx @@ -905,11 +905,9 @@ void SwXViewSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, u throw UnknownPropertyException(); bBool = false; - OUStringBuffer sHelpURL; - sHelpURL.append ( INET_HID_SCHEME ); SwEditWin &rEditWin = pView->GetEditWin(); - sHelpURL.append( OUString::fromUtf8( rEditWin.GetHelpId() ) ); - rValue <<= sHelpURL.makeStringAndClear(); + OUString sHelpURL = INET_HID_SCHEME + OUString::fromUtf8( rEditWin.GetHelpId() ); + rValue <<= sHelpURL; } break; case HANDLE_VIEWSET_HORI_RULER_METRIC: |