diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-11-05 12:07:44 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-11-05 14:45:31 +0100 |
commit | 801cb231f2e2b43f4befd9575e23da58d764c600 (patch) | |
tree | 92fe3b44a9ec99b3d872da930b6252a77f2f8ff5 /sw/source/uibase/uno | |
parent | 2bd1896e207f7fda2861d019702b931f07c9c4e1 (diff) |
Add rtl::OUString::fromUtf8()
Note that this should be used only at places legitimately assuming that
the OString contains valid UTF-8.
Change-Id: I9e8ecef9928975fe0737553f5b2a19ff2dd40861
Diffstat (limited to 'sw/source/uibase/uno')
-rw-r--r-- | sw/source/uibase/uno/unomod.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unomod.cxx b/sw/source/uibase/uno/unomod.cxx index a0b27cd4ac89..2614c3574d6b 100644 --- a/sw/source/uibase/uno/unomod.cxx +++ b/sw/source/uibase/uno/unomod.cxx @@ -934,7 +934,7 @@ void SwXViewSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, u OUStringBuffer sHelpURL; sHelpURL.appendAscii ( INET_HID_SCHEME ); SwEditWin &rEditWin = pView->GetEditWin(); - sHelpURL.append( OStringToOUString( rEditWin.GetHelpId(), RTL_TEXTENCODING_UTF8 ) ); + sHelpURL.append( OUString::fromUtf8( rEditWin.GetHelpId() ) ); rValue <<= sHelpURL.makeStringAndClear(); } else |