summaryrefslogtreecommitdiff
path: root/fpicker/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-08-27 17:37:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-08-27 21:03:38 +0200
commit084a263049ecc916bbf7300e45e613a687eb67f2 (patch)
tree2a1286c630bea20993a715ef6a4ab2319a558b8b /fpicker/source
parentd9f5a8f6cf771017a52252341b75a5d9c1c389e1 (diff)
Fix typo (translateToExternal vs. translateToInternal)
...introduced with e4f37435a0fdd66b2d58633c991c6df720790f39 "fdo#46808, Use service constructor for uri::ExternalUriReferenceTranslator": > @@ -82,7 +82,7 @@ OString SalGtkPicker::unicodetouri(const OUString &rURL) > INetURLObject aURL(rURL); > if (INET_PROT_FILE == aURL.GetProtocol()) > { > - OUString aNewURL = uno::Reference<uri::XExternalUriReferenceTranslator>(uno::Reference<XMultiComponentFactory>(comphelper::getProcessServiceFactory(), UNO_QUERY_THROW)->createInstanceWithContext(OUString("com.sun.star.uri.ExternalUriReferenceTranslator"), m_xContext ), UNO_QUERY_THROW)->translateToExternal( rURL ); > + OUString aNewURL = uri::ExternalUriReferenceTranslator::create( m_xContext )->translateToInternal(rURL); > > if( !aNewURL.isEmpty() ) > { Change-Id: Ib709df9ef600f2b6b61878cbb8f99d3ff7ab5c2f Reviewed-on: https://gerrit.libreoffice.org/78203 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'fpicker/source')
0 files changed, 0 insertions, 0 deletions