From eedebcddadd9369154b18a5dae45a9191a9d4689 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 11 Nov 2010 16:50:09 +0000 Subject: WaE, wrap those pragmas to be msvc only --- sw/source/ui/misc/titlepage.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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(); -- cgit