summaryrefslogtreecommitdiff
path: root/sw
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
commit53b37916e4d5a656880ed0b4120583143447e2d6 (patch)
tree69b6108c381e2b50fc26eb46f5315538aa76b9bd /sw
parent6c01edfe66d6e350b20178d9ab367806d956cb46 (diff)
WaE, wrap those pragmas to be msvc only
Diffstat (limited to 'sw')
-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 8c39bbb8b5..e593bc733a 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();