Kaydet (Commit) 2a4af0e2 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bypass X11-specific code if not on X11

Change-Id: I6452191b11b197b0f90ae6638019d3bc6db67ad7
üst e0c2dd69
......@@ -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: */
......@@ -43,10 +43,12 @@ class VCL_DLLPUBLIC SalGenericSystem : public SalSystem
int nButtonCombination,
int nDefaultButton, bool bUseResources);
// simple helpers primarily for X Windowing W_CLASS hints
#if !defined(ANDROID) && !defined(IOS)
// Simple helpers for X11 WM_CLASS hints
static const char *getFrameResName();
static const char *getFrameClassName();
static rtl::OString getFrameResName( SalExtStyle nStyle );
#endif
};
#endif // _SV_GENSYS_H
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment