diff options
-rw-r--r-- | sal/osl/unx/system.c | 3 | ||||
-rw-r--r-- | sal/workben/measure_oustrings.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/dlg/filedlg.cxx | 4 | ||||
-rw-r--r-- | sdext/source/pdfimport/pdfparse/pdfparse.cxx | 12 | ||||
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx | 8 | ||||
-rw-r--r-- | toolkit/source/awt/vclxtabpagecontainer.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/awt/vclxtabpagemodel.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 4 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonUri.cxx | 7 | ||||
-rw-r--r-- | ucb/source/ucp/webdav/SerfUri.cxx | 4 | ||||
-rw-r--r-- | vcl/generic/print/genprnpsp.cxx | 6 |
11 files changed, 5 insertions, 49 deletions
diff --git a/sal/osl/unx/system.c b/sal/osl/unx/system.c index 23e4f8c77fd7..a50996a66dde 100644 --- a/sal/osl/unx/system.c +++ b/sal/osl/unx/system.c @@ -305,9 +305,6 @@ int osl_isSingleCPU = 0; #if defined(_SC_NPROCESSORS_CONF) /* i.e. MACOSX for Intel doesn't have this */ #if defined(__GNUC__) void osl_interlockedCountCheckForSingleCPU(void) __attribute__((constructor)); -#elif defined(__SUNPRO_C) -void osl_interlockedCountCheckForSingleCPU(void); -#pragma init (osl_interlockedCountCheckForSingleCPU) #endif void osl_interlockedCountCheckForSingleCPU(void) diff --git a/sal/workben/measure_oustrings.cxx b/sal/workben/measure_oustrings.cxx index 2baf92f4a313..8372f49d4fea 100644 --- a/sal/workben/measure_oustrings.cxx +++ b/sal/workben/measure_oustrings.cxx @@ -33,8 +33,6 @@ int COUNT = 10000000; #ifdef HAVE_CXX_Ox # define SAL_DECLARE_UTF16(str) u ## str -#elif (defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x550) -# define SAL_DECLARE_UTF16(str) U ## str #elif __SIZEOF_WCHAR_T__ == 2 # define SAL_DECLARE_UTF16(str) L ## str #endif diff --git a/sd/source/ui/dlg/filedlg.cxx b/sd/source/ui/dlg/filedlg.cxx index ce3eb29fa9c2..24afe3c4c86a 100644 --- a/sd/source/ui/dlg/filedlg.cxx +++ b/sd/source/ui/dlg/filedlg.cxx @@ -49,10 +49,6 @@ class SdFileDialog_Imp : public sfx2::FileDialogHelper { private: -#if defined __SUNPRO_CC - using sfx2::FileDialogHelper::Execute; -#endif - friend class SdOpenSoundFileDialog; css::uno::Reference< css::ui::dialogs::XFilePickerControlAccess > mxControlAccess; diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx index 69aa4d8f783b..ec8b6439dd10 100644 --- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx @@ -18,9 +18,7 @@ */ -#if defined __SUNPRO_CC -#pragma disable_warn -#elif defined _MSC_VER +#if defined _MSC_VER #pragma warning(push, 1) #endif @@ -38,9 +36,7 @@ #include <rtl/alloc.h> // disable warnings again because someone along the line has enabled them -#if defined __SUNPRO_CC -#pragma disable_warn -#elif defined _MSC_VER +#if defined _MSC_VER #pragma warning(push, 1) #endif @@ -681,9 +677,7 @@ PDFEntry* PDFReader::read( const char* pFileName ) #endif // WIN32 } -#if defined __SUNPRO_CC -#pragma enable_warn -#elif defined _MSC_VER +#if defined _MSC_VER #pragma warning(pop) #endif diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx index b4b66a3f6dc3..7f14192f8ece 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx @@ -27,9 +27,7 @@ #include <boost/shared_array.hpp> -#if defined __SUNPRO_CC -#pragma disable_warn -#elif defined _MSC_VER +#if defined _MSC_VER #pragma warning(push, 1) #endif @@ -44,9 +42,7 @@ #include "UTF8.h" #endif -#if defined __SUNPRO_CC -#pragma enable_warn -#elif defined _MSC_VER +#if defined _MSC_VER #pragma warning(pop) #endif diff --git a/toolkit/source/awt/vclxtabpagecontainer.cxx b/toolkit/source/awt/vclxtabpagecontainer.cxx index 47447d422a96..12d7af6c755a 100644 --- a/toolkit/source/awt/vclxtabpagecontainer.cxx +++ b/toolkit/source/awt/vclxtabpagecontainer.cxx @@ -50,9 +50,7 @@ VCLXTabPageContainer::VCLXTabPageContainer() : VCLXTabPageContainer::~VCLXTabPageContainer() { -#ifndef __SUNPRO_CC OSL_TRACE ("%s", __FUNCTION__); -#endif } void SAL_CALL VCLXTabPageContainer::draw( sal_Int32 nX, sal_Int32 nY ) throw(RuntimeException) diff --git a/toolkit/source/awt/vclxtabpagemodel.cxx b/toolkit/source/awt/vclxtabpagemodel.cxx index 3f0e0d241f61..51756ed92220 100644 --- a/toolkit/source/awt/vclxtabpagemodel.cxx +++ b/toolkit/source/awt/vclxtabpagemodel.cxx @@ -34,9 +34,7 @@ VCLXTabPageModel::VCLXTabPageModel() VCLXTabPageModel::~VCLXTabPageModel() { -#ifndef __SUNPRO_CC OSL_TRACE ("%s", __FUNCTION__); -#endif } void SAL_CALL VCLXTabPageModel::draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno::RuntimeException) diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 5da5369ff2e6..21325def24f8 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -2271,9 +2271,7 @@ VCLXDialog::VCLXDialog() VCLXDialog::~VCLXDialog() { -#ifndef __SUNPRO_CC OSL_TRACE ("%s", __FUNCTION__); -#endif } // ::com::sun::star::uno::XInterface @@ -4197,9 +4195,7 @@ VCLXComboBox::VCLXComboBox() VCLXComboBox::~VCLXComboBox() { -#ifndef __SUNPRO_CC OSL_TRACE ("%s", __FUNCTION__); -#endif } ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > VCLXComboBox::CreateAccessibleContext() diff --git a/ucb/source/ucp/webdav-neon/NeonUri.cxx b/ucb/source/ucp/webdav-neon/NeonUri.cxx index 6d8be5477900..31327d3e86d4 100644 --- a/ucb/source/ucp/webdav-neon/NeonUri.cxx +++ b/ucb/source/ucp/webdav-neon/NeonUri.cxx @@ -40,11 +40,8 @@ using namespace webdav_ucp; -# if defined __SUNPRO_CC // FIXME: not sure whether initializing a ne_uri statically is supposed to work // the string fields of ne_uri are char*, not const char* -# pragma disable_warn -# endif #if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY #pragma GCC diagnostic ignored "-Wwrite-strings" @@ -75,10 +72,6 @@ const ne_uri g_sUriDefaultsFTP = { (char *) "ftp", NULL }; } // namespace -# if defined __SUNPRO_CC -# pragma enable_warn -#endif - NeonUri::NeonUri( const ne_uri * inUri ) throw ( DAVException ) { diff --git a/ucb/source/ucp/webdav/SerfUri.cxx b/ucb/source/ucp/webdav/SerfUri.cxx index 16a4b1748625..a49c46e8bba6 100644 --- a/ucb/source/ucp/webdav/SerfUri.cxx +++ b/ucb/source/ucp/webdav/SerfUri.cxx @@ -29,10 +29,6 @@ using namespace http_dav_ucp; -# if defined __SUNPRO_CC -# pragma enable_warn -#endif - // ------------------------------------------------------------------- // Constructor // ------------------------------------------------------------------- diff --git a/vcl/generic/print/genprnpsp.cxx b/vcl/generic/print/genprnpsp.cxx index 1f080a22d196..bf38ef0fe8b3 100644 --- a/vcl/generic/print/genprnpsp.cxx +++ b/vcl/generic/print/genprnpsp.cxx @@ -1181,13 +1181,7 @@ sal_Bool PspSalPrinter::StartJob( const OUString* i_pFileName, const OUString& i aContext.URL = aPDFUrl; // create and initialize PDFWriter - #if defined __SUNPRO_CC - #pragma disable_warn - #endif pWriter.reset( new vcl::PDFWriter( aContext, uno::Reference< beans::XMaterialHolder >() ) ); - #if defined __SUNPRO_CC - #pragma enable_warn - #endif } pWriter->NewPage( TenMuToPt( aNewParm.maPageSize.Width() ), |