diff options
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 fa74fa0513b4..deab34f47445 100644 --- a/desktop/source/lib/lokclipboard.cxx +++ b/desktop/source/lib/lokclipboard.cxx @@ -42,7 +42,7 @@ throw(datatransfer::UnsupportedFlavorException, io::IOException, uno::RuntimeExc uno::Any aRet; if (rFlavor.DataType == cppu::UnoType<OUString>::get()) { - sal_Char* pText = reinterpret_cast<sal_Char*>(m_aSequence.getArray()); + auto pText = reinterpret_cast<sal_Char*>(m_aSequence.getArray()); aRet <<= OUString(pText, m_aSequence.getLength(), RTL_TEXTENCODING_UTF8); } else |