summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/gdi/x11windowprovider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/gdi/x11windowprovider.cxx')
-rw-r--r--vcl/unx/generic/gdi/x11windowprovider.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/vcl/unx/generic/gdi/x11windowprovider.cxx b/vcl/unx/generic/gdi/x11windowprovider.cxx
index 4f507c3911e0..5f7d289196ec 100644
--- a/vcl/unx/generic/gdi/x11windowprovider.cxx
+++ b/vcl/unx/generic/gdi/x11windowprovider.cxx
@@ -68,21 +68,5 @@ Display *OpenX11Display(OString& rDisplay)
return pDisp;
}
-namespace vcl
-{
-
-bool IsWindowSystemAvailable()
-{
- Display *pDisp;
- OString aDisplay;
-
- pDisp = OpenX11Display(aDisplay);
- if (pDisp)
- XCloseDisplay(pDisp);
-
- return (pDisp != nullptr);
-}
-
-} // namespace vcl
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */