[Libreoffice-commits] .: vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jan 22 02:04:00 PST 2013


 vcl/source/window/window.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 36f3e5f3180c2d2cb104ba2b0c4b8c3249822f42
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jan 22 11:02:33 2013 +0100

    fdo#59515: Typo CLIPBOARD -> PRIMARY
    
    ...a regression introduced with 2fe852386c9450014f84910b0a282d684f40b56a
    "fdo#46808, Adapt SystemClipboard UNO service to new style."
    
    Change-Id: Ia98eadc0fc80762455c1e8cc33797b322b83e458

diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 90db221..baf4658 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -8452,7 +8452,7 @@ uno::Reference< XClipboard > Window::GetPrimarySelection()
                 uno::Reference< XComponentContext > xContext( comphelper::getProcessComponentContext() );
 
 #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 );
 #       else
                 static uno::Reference< XClipboard > s_xSelection;


More information about the Libreoffice-commits mailing list