[Libreoffice-commits] .: 2 commits - editeng/inc vbahelper/inc vbahelper/source

Thomas Arnhold tarnhold at kemper.freedesktop.org
Mon Mar 14 13:13:35 PDT 2011


 editeng/inc/editeng/numitem.hxx                |    4 +---
 vbahelper/inc/vbahelper/vbahelper.hxx          |    8 --------
 vbahelper/source/vbahelper/vbadocumentbase.cxx |    2 +-
 3 files changed, 2 insertions(+), 12 deletions(-)

New commits:
commit 33413c87682dd5b90253d89e3e2e69680837128e
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Mon Mar 14 21:12:57 2011 +0100

    Remove empty comment fields

diff --git a/editeng/inc/editeng/numitem.hxx b/editeng/inc/editeng/numitem.hxx
index 186ed8b..9c802fd 100644
--- a/editeng/inc/editeng/numitem.hxx
+++ b/editeng/inc/editeng/numitem.hxx
@@ -362,9 +362,7 @@ inline SvxNodeNum& SvxNodeNum::operator=( const SvxNodeNum& rCpy )
     return *this;
 }
 
-/* --------------------------------------------------
- *
- * --------------------------------------------------*/
+
 SvxNumRule* SvxConvertNumRule( const SvxNumRule* pRule, USHORT nLevel, SvxNumRuleType eType );
 
 #endif
commit 25be294aa2e4fec522cf924d0f18f56cd1ebd147
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Sun Mar 13 17:40:31 2011 +0100

    Remove SC_VBA_FIXME and SC_VBA_STUB
    
    The one usage of SC_VBA_FIXME is replaced by OSL_TRACE directly.

diff --git a/vbahelper/inc/vbahelper/vbahelper.hxx b/vbahelper/inc/vbahelper/vbahelper.hxx
index 8f9f6dc..89fd193 100644
--- a/vbahelper/inc/vbahelper/vbahelper.hxx
+++ b/vbahelper/inc/vbahelper/vbahelper.hxx
@@ -263,14 +263,6 @@ public:
 
 namespace ov = ooo::vba;
 
-#ifdef DEBUG
-#  define SC_VBA_FIXME(a) OSL_TRACE( a )
-#  define SC_VBA_STUB() SC_VBA_FIXME(( "%s - stubbed\n", __FUNCTION__ ))
-#else
-#  define SC_VBA_FIXME(a)
-#  define SC_VBA_STUB()
-#endif
-
 #endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vbahelper/source/vbahelper/vbadocumentbase.cxx b/vbahelper/source/vbahelper/vbadocumentbase.cxx
index 5230945..da7b021 100644
--- a/vbahelper/source/vbahelper/vbadocumentbase.cxx
+++ b/vbahelper/source/vbahelper/vbadocumentbase.cxx
@@ -166,7 +166,7 @@ VbaDocumentBase::Protect( const uno::Any &aPassword ) throw (uno::RuntimeExcepti
 {
     rtl::OUString rPassword;
     uno::Reference< util::XProtectable > xProt( getModel(), uno::UNO_QUERY_THROW );
-    SC_VBA_FIXME(("Workbook::Protect stub"));
+    OSL_TRACE("Workbook::Protect stub");
     if(  aPassword >>= rPassword )
         xProt->protect( rPassword );
     else


More information about the Libreoffice-commits mailing list