summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-03-17 21:34:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-18 09:49:50 +0100
commite5230535877e30c3b874495e8794faa3a42d8017 (patch)
tree6678613797f3cfa80a08455a4080ce9e653f9781 /vcl/osx
parent673728c9caf7b3199dd684f48a32a0f5cafd6285 (diff)
simplify ORefVector code
by making it extend std::vector - it wants to be a ref-counted vector, so let it be, and we can simplify the usage sites Change-Id: I93ff6ee1522da965e16223dca171401d36fd67b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90664 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/salframe.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index 9539fb26401d..aafafe7a0c6c 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -1808,4 +1808,13 @@ void AquaSalFrame::EndSetClipRegion()
// shadow is invalidated when view gets drawn again
}
+void AquaSalFrame::BeginSheet(SalFrame* pSheetFrame) const
+{
+ NSWindow* pSheetNSWindow = static_cast<AquaSalFrame*>(pSheetFrame)->mpNSWindow;
+// [mpNSWindow beginSheet:pSheetNSWindow];
+// beginSheet(mpNSWindow];
+
+ [mpNSWindow beginSheet:pSheetNSWindow completionHandler:nil ];
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */