Kaydet (Commit) e7a1abec authored tarafından Thomas Arnhold's avatar Thomas Arnhold

Remove SC_VBA_FIXME and SC_VBA_STUB

The one usage of SC_VBA_FIXME is replaced by OSL_TRACE directly.
üst 8bacc347
...@@ -263,14 +263,6 @@ public: ...@@ -263,14 +263,6 @@ public:
namespace ov = ooo::vba; 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 #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -166,7 +166,7 @@ VbaDocumentBase::Protect( const uno::Any &aPassword ) throw (uno::RuntimeExcepti ...@@ -166,7 +166,7 @@ VbaDocumentBase::Protect( const uno::Any &aPassword ) throw (uno::RuntimeExcepti
{ {
rtl::OUString rPassword; rtl::OUString rPassword;
uno::Reference< util::XProtectable > xProt( getModel(), uno::UNO_QUERY_THROW ); uno::Reference< util::XProtectable > xProt( getModel(), uno::UNO_QUERY_THROW );
SC_VBA_FIXME(("Workbook::Protect stub")); OSL_TRACE("Workbook::Protect stub");
if( aPassword >>= rPassword ) if( aPassword >>= rPassword )
xProt->protect( rPassword ); xProt->protect( rPassword );
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment