[Libreoffice-commits] core.git: sc/source
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Wed Nov 13 18:24:35 UTC 2019
sc/source/ui/view/viewfun5.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3adb591bc632854dc9f0af0c8498ae45171080a7
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 13 19:23:38 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/82618
Tested-by: Jenkins
diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx
index cdac007fc8df..0e61a2a8a072 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