summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-13 17:40:31 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-14 21:02:37 +0100
commit25be294aa2e4fec522cf924d0f18f56cd1ebd147 (patch)
treea0319039697255e53ea20dabf10eb80389c7747a /vbahelper
parentf6780d0397dba36e92f1fce9b68361aa38bc271c (diff)
Remove SC_VBA_FIXME and SC_VBA_STUB
The one usage of SC_VBA_FIXME is replaced by OSL_TRACE directly.
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/inc/vbahelper/vbahelper.hxx8
-rw-r--r--vbahelper/source/vbahelper/vbadocumentbase.cxx2
2 files changed, 1 insertions, 9 deletions
diff --git a/vbahelper/inc/vbahelper/vbahelper.hxx b/vbahelper/inc/vbahelper/vbahelper.hxx
index 8f9f6dcc1e..89fd1936fd 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 5230945e6e..da7b0219f2 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