Kaydet (Commit) 36f3e5f3 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

fdo#59515: Typo CLIPBOARD -> PRIMARY

...a regression introduced with 2fe85238
"fdo#46808, Adapt SystemClipboard UNO service to new style."

Change-Id: Ia98eadc0fc80762455c1e8cc33797b322b83e458
üst c37b23e4
...@@ -8452,7 +8452,7 @@ uno::Reference< XClipboard > Window::GetPrimarySelection() ...@@ -8452,7 +8452,7 @@ uno::Reference< XClipboard > Window::GetPrimarySelection()
uno::Reference< XComponentContext > xContext( comphelper::getProcessComponentContext() ); uno::Reference< XComponentContext > xContext( comphelper::getProcessComponentContext() );
#if defined(UNX) && !defined(MACOSX) #if defined(UNX) && !defined(MACOSX)
Reference<XSystemClipboard> xSystemClipboard = SystemClipboard::createUnix( xContext, Application::GetDisplayConnection(), "CLIPBOARD", vcl::createBmpConverter() ); Reference<XSystemClipboard> xSystemClipboard = SystemClipboard::createUnix( xContext, Application::GetDisplayConnection(), "PRIMARY", vcl::createBmpConverter() );
mpWindowImpl->mpFrameData->mxSelection = uno::Reference< XClipboard >( xSystemClipboard, UNO_QUERY ); mpWindowImpl->mpFrameData->mxSelection = uno::Reference< XClipboard >( xSystemClipboard, UNO_QUERY );
# else # else
static uno::Reference< XClipboard > s_xSelection; static uno::Reference< XClipboard > s_xSelection;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment