diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-17 00:20:35 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-18 07:41:32 +0200 |
commit | 2a4af0e257baa3e559003c29cade5b594adef5e2 (patch) | |
tree | d0ec13460582450944a5fcf757d050d3efc0645e /vcl/generic/app | |
parent | e0c2dd693c012bba30feb4c1dd0c5b424b135e3e (diff) |
Bypass X11-specific code if not on X11
Change-Id: I6452191b11b197b0f90ae6638019d3bc6db67ad7
Diffstat (limited to 'vcl/generic/app')
-rw-r--r-- | vcl/generic/app/gensys.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/vcl/generic/app/gensys.cxx b/vcl/generic/app/gensys.cxx index 6144f37d7f24..b24cfa201f7c 100644 --- a/vcl/generic/app/gensys.cxx +++ b/vcl/generic/app/gensys.cxx @@ -146,9 +146,9 @@ int SalGenericSystem::ShowNativeMessageBox( const OUString& rTitle, const OUStri return nResult != -1 ? nButtonIds[ nResult ] : 0; } -// ------------------------------------------------------------------------ -// Helpers primarily for X Windowing derivatives -// ------------------------------------------------------------------------ +#if !defined(ANDROID) && !defined(IOS) + +// X11-specific const char* SalGenericSystem::getFrameResName() { @@ -213,4 +213,6 @@ OString SalGenericSystem::getFrameResName( SalExtStyle nStyle ) return aBuf.makeStringAndClear(); } +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |