summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-27 10:43:16 +0200
committerNoel Grandin <noel@peralex.com>2014-02-28 08:32:01 +0200
commit926583bd37fafad7f8eda82845f8d491eb41f7bf (patch)
tree29d9a57267bc30a6a9115a1a87d080b570736586 /vcl
parent9ee630ee01b890183d8e683d961d7c7337c54155 (diff)
debug only code SalDisplay::PrintInfo()
Change-Id: I9ead37ff69dc7198faae6758a346111ed1d029e3
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/unx/saldisp.hxx2
-rw-r--r--vcl/unx/generic/app/saldisp.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/unx/saldisp.hxx b/vcl/inc/unx/saldisp.hxx
index 3c804734e523..112560831065 100644
--- a/vcl/inc/unx/saldisp.hxx
+++ b/vcl/inc/unx/saldisp.hxx
@@ -299,9 +299,9 @@ public:
virtual ~SalDisplay();
void Init();
- void PrintInfo() const;
#ifdef DBG_UTIL
+ void PrintInfo() const;
void DbgPrintDisplayEvent(const char *pComment, XEvent *pEvent) const;
#endif
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index 23d296c0ed7b..fda0b3d9517a 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -2150,7 +2150,6 @@ void SalDisplay::DbgPrintDisplayEvent(const char *pComment, XEvent *pEvent) cons
pEvent->xany.send_event,
pEvent->xany.window );
}
-#endif
void SalDisplay::PrintInfo() const
{
@@ -2193,6 +2192,7 @@ void SalDisplay::PrintInfo() const
<< " 0x" << GetVisual(m_nXDefaultScreen).green_mask
<< " 0x" << GetVisual(m_nXDefaultScreen).blue_mask);
}
+#endif
void SalDisplay::addXineramaScreenUnique( int i, long i_nX, long i_nY, long i_nWidth, long i_nHeight )
{