diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-26 14:25:26 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-26 15:39:52 +0100 |
commit | 080bd44f0b0300075ff18d377f31deebbc4009ed (patch) | |
tree | 872b3e5c87d4d348440c45290542a791274096c0 /desktop | |
parent | faa316e670414363dcfb6db6001fdb209f4a48c1 (diff) |
gtktiledviwer: try to paste as html, then as plain text
Change-Id: I8e1c93fd36fb903c0625b29f9f73825438c9e113
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/lokclipboard.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/lokclipboard.cxx b/desktop/source/lib/lokclipboard.cxx index 50d570577e27..376bcd72d238 100644 --- a/desktop/source/lib/lokclipboard.cxx +++ b/desktop/source/lib/lokclipboard.cxx @@ -43,7 +43,7 @@ throw(datatransfer::UnsupportedFlavorException, io::IOException, uno::RuntimeExc if (rFlavor.DataType == cppu::UnoType<OUString>::get()) { sal_Char* pText = reinterpret_cast<sal_Char*>(m_aSequence.getArray()); - aRet <<= OUString(pText, rtl_str_getLength(pText), RTL_TEXTENCODING_UTF8); + aRet <<= OUString(pText, m_aSequence.getLength(), RTL_TEXTENCODING_UTF8); } else aRet <<= m_aSequence; |