[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara
caolanm at redhat.com
Fri Aug 28 07:12:48 PDT 2015
vcl/unx/gtk3/app/gtk3gtkinst.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit e5539b0b53ebaf9b792652e4866eeacf8c10b101
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Aug 28 15:09:31 2015 +0100
deb#795131 plausible fix
Change-Id: I95c191ed865d6920845b146c3ef4baf30280a734
diff --git a/vcl/unx/gtk3/app/gtk3gtkinst.cxx b/vcl/unx/gtk3/app/gtk3gtkinst.cxx
index 823d741..9d7284f 100644
--- a/vcl/unx/gtk3/app/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/app/gtk3gtkinst.cxx
@@ -382,6 +382,8 @@ Reference< css::datatransfer::XTransferable > VclGtkClipboard::getContents() thr
void VclGtkClipboard::ClipboardGet(GtkClipboard* /*clipboard*/, GtkSelectionData *selection_data,
guint info)
{
+ if (!m_aContents.is())
+ return;
GdkAtom type(gdk_atom_intern(OUStringToOString(m_aInfoToFlavor[info].MimeType,
RTL_TEXTENCODING_UTF8).getStr(),
More information about the Libreoffice-commits
mailing list