[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sc/source
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Wed Nov 20 16:38:05 UTC 2019
sc/source/ui/view/viewfun5.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 383d6049da780ad66edea53f5e00617b4be3600b
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Nov 13 13:30:43 2019 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Wed Nov 20 17:37:10 2019 +0100
tdf#128466: Accept also JPEG
Change-Id: If8499cde875e03cb6c56259badd64ba6aee08a66
Reviewed-on: https://gerrit.libreoffice.org/82584
Reviewed-by: Tor Lillqvist <tml at collabora.com>
Tested-by: Tor Lillqvist <tml at collabora.com>
(cherry picked from commit 7dba640b5691c22d6529e53752255fddc2b461e6)
Reviewed-on: https://gerrit.libreoffice.org/83338
diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx
index 96e2f270a783..3c293013f0af 100644
--- a/sc/source/ui/view/viewfun5.cxx
+++ b/sc/source/ui/view/viewfun5.cxx
@@ -482,7 +482,7 @@ bool ScViewFunc::PasteDataFormat( SotClipboardFormatId nFormatId,
}
}
}
- else if (nFormatId == SotClipboardFormatId::BITMAP || nFormatId == SotClipboardFormatId::PNG)
+ else if (nFormatId == SotClipboardFormatId::BITMAP || nFormatId == SotClipboardFormatId::PNG || nFormatId == SotClipboardFormatId::JPEG)
{
BitmapEx aBmpEx;
if( aDataHelper.GetBitmapEx( SotClipboardFormatId::BITMAP, aBmpEx ) )
More information about the Libreoffice-commits
mailing list