summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorJuergen Funk <juergen.funk_ml@cib.de>2015-12-05 01:37:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-02-16 16:43:41 +0000
commit32c6389cceda63391ff372987834fb7b0a25339a (patch)
tree63f65a2104b9dcc29fde8ef3664faaa8f53d1f0a /vcl/osx
parente84f75d538772ecb297fe07d241d78894a98bd49 (diff)
unused vcl::IsWindowSystemAvailable
Change-Id: Ie903a6fe3237319661662c0533c23528766ffd08 Reviewed-on: https://gerrit.libreoffice.org/20404 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit 6ded842ac4a0e06efcfcc312775d25063201eb68)
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/salinst.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index b7467be811bf..4bfe5bc6712e 100644
--- a/vcl/osx/salinst.cxx
+++ b/vcl/osx/salinst.cxx
@@ -1097,15 +1097,5 @@ NSImage* CreateNSImage( const Image& rImage )
return pImage;
}
-namespace vcl
-{
-
-bool IsWindowSystemAvailable()
-{
- // Yes I know the parens are not needed. I like them in cases like this. So sue me.
- return ([NSScreen screens] != nil && [[NSScreen screens] count] > 0);
-}
-
-} // namespace vcl
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */