[Libreoffice-commits] core.git: vcl/osx
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jan 15 09:54:50 UTC 2021
vcl/osx/saldata.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 0665ec46aa099e556b7d1fc19f60efc90747e798
Author: Noel Grandin <noel at peralex.com>
AuthorDate: Fri Jan 15 11:43:23 2021 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Jan 15 10:54:09 2021 +0100
remove leftover code
from commit 0918eade90e19dd8e9a246446dcb9463c6c7f7cc
"remove unnecessary macos cursor code"
Change-Id: Ieab46070e8da83ab6c054a57006e7760d69a2a43
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109326
Tested-by: Tor Lillqvist <tml at collabora.com>
Reviewed-by: Tor Lillqvist <tml at collabora.com>
diff --git a/vcl/osx/saldata.cxx b/vcl/osx/saldata.cxx
index 9c3f04dbbc7b..bf0659f0f0d8 100644
--- a/vcl/osx/saldata.cxx
+++ b/vcl/osx/saldata.cxx
@@ -135,7 +135,6 @@ NSImage* load_icon_by_name(const OUString& rIconName)
auto length = xMemStm->TellEnd();
NSData * byteData = [NSData dataWithBytes:data length:length];
NSBitmapImageRep * imageRep = [NSBitmapImageRep imageRepWithData:byteData];
-// NSSize imageSize = NSMakeSize(imageRep.size;
NSImage * image = [[NSImage alloc] initWithSize:imageRep.size];
[image addRepresentation:imageRep];
More information about the Libreoffice-commits
mailing list