summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-11 16:50:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-11 16:50:09 +0000
commiteedebcddadd9369154b18a5dae45a9191a9d4689 (patch)
treeeb8c7dd2f37eb0c0f4ae0590c871b8aec49695a8
parente1ea6774f2402dec2433233b4821f0c9f2177628 (diff)
WaE, wrap those pragmas to be msvc only
-rw-r--r--sw/source/ui/misc/titlepage.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/ui/misc/titlepage.cxx b/sw/source/ui/misc/titlepage.cxx
index 8c39bbb8b5d6..e593bc733a41 100644
--- a/sw/source/ui/misc/titlepage.cxx
+++ b/sw/source/ui/misc/titlepage.cxx
@@ -162,7 +162,9 @@ USHORT SwTitlePageDlg::GetInsertPosition() const
SwTitlePageDlg::SwTitlePageDlg( Window *pParent ) :
SfxModalDialog( pParent, SW_RES(DLG_TITLEPAGE) ),
+#ifdef MSC
#pragma warning (disable : 4355)
+#endif
aMakeInsertFL ( this, SW_RES( FL_MAKEINSERT )),
aUseExistingPagesRB ( this, SW_RES( RB_USE_EXISTING_PAGES )),
aInsertNewPagesRB ( this, SW_RES( RB_INSERT_NEW_PAGES )),
@@ -188,7 +190,9 @@ SwTitlePageDlg::SwTitlePageDlg( Window *pParent ) :
aCancelPB ( this, SW_RES( PB_CANCEL )),
aHelpPB ( this, SW_RES( PB_HELP )),
mpPageFmtDesc (0)
+#ifdef MSC
#pragma warning (default : 4355)
+#endif
{
FreeResource();