summaryrefslogtreecommitdiff
path: root/sal/qa
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-03-07 12:09:23 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-07 14:01:24 +0100
commit8fc3fc5642bf5d1f7028b620d4ad66f275c2b0ba (patch)
tree78f9a40b9a4316817e02cc242ae2fbc0b99dd187 /sal/qa
parent6220ed4e6e04d555dc28ada02f46f88ed9ee3daf (diff)
WaE: ignoring #pragma warning
Diffstat (limited to 'sal/qa')
-rw-r--r--sal/qa/OStringBuffer/rtl_String_Utils.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/qa/OStringBuffer/rtl_String_Utils.cxx b/sal/qa/OStringBuffer/rtl_String_Utils.cxx
index 87bf46f5d039..0f05b452a231 100644
--- a/sal/qa/OStringBuffer/rtl_String_Utils.cxx
+++ b/sal/qa/OStringBuffer/rtl_String_Utils.cxx
@@ -66,7 +66,7 @@ sal_uInt32 AStringLen( const sal_Char *pAStr )
return nStrLen;
} // AStringLen
/* disable assignment within condition expression */
-#ifdef WNT
+#if defined WNT && defined _MSC_VER
#pragma warning( disable : 4706 )
#endif
sal_Char* cpystr( sal_Char* dst, const sal_Char* src )