[Libreoffice-commits] .: 2 commits - sc/inc sc/source

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Fri Mar 25 23:04:17 PDT 2011


 sc/inc/attarray.hxx                |    2 +-
 sc/source/filter/ftools/ftools.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2b338ff6eab5c57081bd234df988570d2b848c81
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sat Mar 26 01:03:47 2011 -0500

    fix filter loading: export ScFilterCreate

diff --git a/sc/source/filter/ftools/ftools.cxx b/sc/source/filter/ftools/ftools.cxx
index 4daeb17..ad9f185 100644
--- a/sc/source/filter/ftools/ftools.cxx
+++ b/sc/source/filter/ftools/ftools.cxx
@@ -398,7 +398,7 @@ ScFormatFilterPluginImpl::ScFormatFilterPluginImpl()
 {
 }
 
-ScFormatFilterPlugin * SAL_CALL ScFilterCreate(void)
+SAL_DLLPUBLIC_EXPORT ScFormatFilterPlugin * SAL_CALL ScFilterCreate(void)
 {
     return new ScFormatFilterPluginImpl();
 }
commit 8feb3b320e02fe173ce3aff67428630d33fdafe1
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sat Mar 26 01:03:01 2011 -0500

    fix debug build. use OSL_DEBUG_LEVEL instead of DBG_UTIL macro

diff --git a/sc/inc/attarray.hxx b/sc/inc/attarray.hxx
index f974248..67b4959 100644
--- a/sc/inc/attarray.hxx
+++ b/sc/inc/attarray.hxx
@@ -113,7 +113,7 @@ public:
 
     void	SetTab(SCTAB nNewTab)	{ nTab = nNewTab; }
     void	SetCol(SCCOL nNewCol)	{ nCol = nNewCol; }
-#ifdef DBG_UTIL
+#if OSL_DEBUG_LEVEL > 1
     void	TestData() const;
 #endif
     void	Reset( const ScPatternAttr* pPattern, sal_Bool bAlloc = sal_True );


More information about the Libreoffice-commits mailing list