diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-13 08:07:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-13 08:14:00 +0200 |
commit | 3a705ab40597f7cb584bdeaef06701b289f911f1 (patch) | |
tree | 70d0b6bbf26c8ad07d8f1ced8e06c9eef02b6dc9 /sc | |
parent | c3586b684c58e06cd80dea87d7681354acfec80b (diff) |
OSL_TRACE->SAL in avmedia..canvas
Change-Id: Id9077ea29e7028c12f40abfd4c57756c863e3cd9
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/vba/vbaglobals.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbahelper.cxx | 10 |
2 files changed, 2 insertions, 10 deletions
diff --git a/sc/source/ui/vba/vbaglobals.cxx b/sc/source/ui/vba/vbaglobals.cxx index 12e8230ae3d2..b0159503071f 100644 --- a/sc/source/ui/vba/vbaglobals.cxx +++ b/sc/source/ui/vba/vbaglobals.cxx @@ -58,7 +58,6 @@ ScVbaGlobals::~ScVbaGlobals() uno::Reference<excel::XApplication > const & ScVbaGlobals::getApplication() throw (uno::RuntimeException) { -// SAL_WARNx("sc", "In ScVbaGlobals::getApplication"); if ( !mxApplication.is() ) mxApplication.set( new ScVbaApplication( mxContext) ); return mxApplication; @@ -73,7 +72,6 @@ ScVbaGlobals::getExcel() throw (uno::RuntimeException, std::exception) uno::Reference< excel::XWorkbook > SAL_CALL ScVbaGlobals::getActiveWorkbook() throw (uno::RuntimeException, std::exception) { -// SAL_WARNx("sc", "In ScVbaGlobals::getActiveWorkbook"); uno::Reference< excel::XWorkbook > xWorkbook( getApplication()->getActiveWorkbook(), uno::UNO_QUERY); if ( xWorkbook.is() ) { diff --git a/sc/source/ui/vba/vbahelper.cxx b/sc/source/ui/vba/vbahelper.cxx index 2c2e6bb9b605..65dc4cca2292 100644 --- a/sc/source/ui/vba/vbahelper.cxx +++ b/sc/source/ui/vba/vbahelper.cxx @@ -236,7 +236,7 @@ getCurrentDocument() throw (uno::RuntimeException) SbxObject* basicChosen = pBasic ; if ( basicChosen == NULL) { - SAL_WARNx("sc", "getModelFromBasic() StarBASIC* is NULL" ); + SAL_WARN("sc", "getModelFromBasic() StarBASIC* is NULL" ); return xModel; } SbxObject* p = pBasic; @@ -272,16 +272,10 @@ getCurrentDocument() throw (uno::RuntimeException) } return xModel; } - else - { - SAL_WARNx("sc", "Have model ThisComponent points to url %s", - OUStringToOString( xModel->getURL(), - RTL_TEXTENCODING_ASCII_US ).pData->buffer ); - } } else { - SAL_WARNx("sc", "Failed to get ThisComponent"); + SAL_WARN("sc", "Failed to get ThisComponent"); throw uno::RuntimeException( "Can't determine the currently selected document" ); } return xModel; |