summaryrefslogtreecommitdiff
path: root/vcl/inc/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-05-22 20:29:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-22 22:30:43 +0200
commit127da6671cdbdbfb2e7fa1479d9671e1311a8cd2 (patch)
tree092a17d53cf3d4061c6e608f87e989bd2142e0b1 /vcl/inc/unx
parent0b4a6e71545a9590e42629d2b66ce81f6bcdf1fb (diff)
gtk[3|4] there's only two options, 'clipboard' or 'primary'
Change-Id: I70d8426a3864551b7632d535864e3639065d0be1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116005 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/unx')
-rw-r--r--vcl/inc/unx/gtk/gtkinst.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx
index 596f9c3feccb..e0b7bdec5d57 100644
--- a/vcl/inc/unx/gtk/gtkinst.hxx
+++ b/vcl/inc/unx/gtk/gtkinst.hxx
@@ -263,7 +263,7 @@ public:
private:
GtkSalTimer *m_pTimer;
#if !GTK_CHECK_VERSION(4, 0, 0)
- std::unordered_map< GdkAtom, css::uno::Reference<css::uno::XInterface> > m_aClipboards;
+ css::uno::Reference<css::uno::XInterface> m_aClipboards[2];
#endif
bool IsTimerExpired();
bool bNeedsInit;