[Libreoffice-commits] .: sw/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Nov 11 08:50:50 PST 2010


 sw/source/ui/misc/titlepage.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 53b37916e4d5a656880ed0b4120583143447e2d6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Nov 11 16:50:09 2010 +0000

    WaE, wrap those pragmas to be msvc only

diff --git a/sw/source/ui/misc/titlepage.cxx b/sw/source/ui/misc/titlepage.cxx
index 8c39bbb..e593bc7 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();
 


More information about the Libreoffice-commits mailing list