[Libreoffice-commits] core.git: extensions/source framework/source sc/source sd/source sfx2/source svx/source sw/source toolkit/source vcl/source

Tor Lillqvist tml at collabora.com
Fri Aug 25 13:17:21 UTC 2017


 extensions/source/ole/unoobjw.cxx                    |    2 +-
 framework/source/loadenv/loadenv.cxx                 |    2 +-
 framework/source/services/dispatchhelper.cxx         |    2 +-
 sc/source/ui/unoobj/docuno.cxx                       |    4 ++--
 sc/source/ui/unoobj/viewuno.cxx                      |    2 +-
 sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx |    2 +-
 sd/source/ui/unoidl/unomodel.cxx                     |    4 ++--
 sd/source/ui/unoidl/unopage.cxx                      |    2 +-
 sfx2/source/doc/sfxbasemodel.cxx                     |    6 +++---
 svx/source/unodraw/UnoNameItemTable.cxx              |    6 +++---
 sw/source/core/unocore/unodraw.cxx                   |    2 +-
 sw/source/core/unocore/unoobj.cxx                    |    4 ++--
 sw/source/core/unocore/unotext.cxx                   |    6 +++---
 sw/source/uibase/uno/unotxvw.cxx                     |   10 +++++-----
 toolkit/source/awt/vclxtoolkit.cxx                   |    2 +-
 toolkit/source/awt/vclxwindow.cxx                    |    2 +-
 vcl/source/app/scheduler.cxx                         |    2 +-
 17 files changed, 30 insertions(+), 30 deletions(-)

New commits:
commit 27bde9a6abf6c73d5345b0a85b81afc8470d25cf
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Aug 25 16:09:53 2017 +0300

    Drop gratuitous initial :: from comphelper::ProfileZone
    
    Change-Id: Iae7d86b857d0563d9ed9d9b4187e009554698412

diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index d89d86192d75..7fd2749eedc6 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -786,7 +786,7 @@ STDMETHODIMP InterfaceOleWrapper_Impl::Invoke(DISPID dispidMember,
                                               EXCEPINFO * pexcepinfo,
                                                unsigned int * puArgErr )
 {
-    ::comphelper::ProfileZone aZone("COM Bridge");
+    comphelper::ProfileZone aZone("COM Bridge");
     HRESULT ret = S_OK;
 
     try
diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx
index ea57962e9b26..99b357e30243 100644
--- a/framework/source/loadenv/loadenv.cxx
+++ b/framework/source/loadenv/loadenv.cxx
@@ -144,7 +144,7 @@ css::uno::Reference< css::lang::XComponent > LoadEnv::loadComponentFromURL(const
                                                                            const css::uno::Sequence< css::beans::PropertyValue >&        lArgs  )
 {
     css::uno::Reference< css::lang::XComponent > xComponent;
-    ::comphelper::ProfileZone aZone("loadComponentFromURL");
+    comphelper::ProfileZone aZone("loadComponentFromURL");
 
     try
     {
diff --git a/framework/source/services/dispatchhelper.cxx b/framework/source/services/dispatchhelper.cxx
index 305367649678..1c5df528a6bb 100644
--- a/framework/source/services/dispatchhelper.cxx
+++ b/framework/source/services/dispatchhelper.cxx
@@ -114,7 +114,7 @@ css::uno::Any SAL_CALL DispatchHelper::executeDispatch(
                                  bool                                                   SyncronFlag ,
                                  const css::uno::Sequence< css::beans::PropertyValue >& lArguments  )
 {
-    ::comphelper::ProfileZone aZone("executeDispatch");
+    comphelper::ProfileZone aZone("executeDispatch");
     css::uno::Reference< css::uno::XInterface > xTHIS(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY);
     m_aResult.clear();
 
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index b331d7d66300..c532ed6b3fda 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -2031,7 +2031,7 @@ void SAL_CALL ScModelObj::calculate()
     SolarMutexGuard aGuard;
     if (pDocShell)
     {
-        ::comphelper::ProfileZone aZone("calculate");
+        comphelper::ProfileZone aZone("calculate");
         pDocShell->DoRecalc(true);
     }
     else
@@ -2045,7 +2045,7 @@ void SAL_CALL ScModelObj::calculateAll()
     SolarMutexGuard aGuard;
     if (pDocShell)
     {
-        ::comphelper::ProfileZone aZone("calculateAll");
+        comphelper::ProfileZone aZone("calculateAll");
         pDocShell->DoHardRecalc();
     }
     else
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx
index 3d54ee808868..5a9329e51c16 100644
--- a/sc/source/ui/unoobj/viewuno.cxx
+++ b/sc/source/ui/unoobj/viewuno.cxx
@@ -1073,7 +1073,7 @@ uno::Reference<sheet::XSpreadsheet> SAL_CALL ScTabViewObj::getActiveSheet()
 void SAL_CALL ScTabViewObj::setActiveSheet( const uno::Reference<sheet::XSpreadsheet>& xActiveSheet )
 {
     SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("setActiveSheet");
+    comphelper::ProfileZone aZone("setActiveSheet");
 
     ScTabViewShell* pViewSh = GetViewShell();
     if ( pViewSh && xActiveSheet.is() )
diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
index 7b3526c05601..d9e962ff8cb3 100644
--- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
@@ -130,7 +130,7 @@ void QueueProcessor::ProcessRequests()
             Start(mrQueue.GetFrontPriorityClass());
         else
         {
-            ::comphelper::ProfileZone aZone("QueueProcessor finished processing all elements");
+            comphelper::ProfileZone aZone("QueueProcessor finished processing all elements");
         }
     }
 }
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index e3f49c9c2321..341a74dd8c62 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -2919,7 +2919,7 @@ sal_Bool SAL_CALL SdDrawPagesAccess::hasElements()
 uno::Reference< drawing::XDrawPage > SAL_CALL SdDrawPagesAccess::insertNewByIndex( sal_Int32 nIndex )
 {
     ::SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("insertNewByIndex");
+    comphelper::ProfileZone aZone("insertNewByIndex");
 
     if( nullptr == mpModel )
         throw lang::DisposedException();
@@ -3074,7 +3074,7 @@ sal_Int32 SAL_CALL SdMasterPagesAccess::getCount()
 uno::Any SAL_CALL SdMasterPagesAccess::getByIndex( sal_Int32 Index )
 {
     ::SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("SdMasterPagesAccess::getByIndex");
+    comphelper::ProfileZone aZone("SdMasterPagesAccess::getByIndex");
 
     if( nullptr == mpModel )
         throw lang::DisposedException();
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx
index e1e2c3c00612..5976b90b56fa 100644
--- a/sd/source/ui/unoidl/unopage.cxx
+++ b/sd/source/ui/unoidl/unopage.cxx
@@ -2360,7 +2360,7 @@ Reference< drawing::XDrawPage > SAL_CALL SdDrawPage::getMasterPage(  )
 void SAL_CALL SdDrawPage::setMasterPage( const Reference< drawing::XDrawPage >& xMasterPage )
 {
     ::SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("setMasterPage");
+    comphelper::ProfileZone aZone("setMasterPage");
 
     throwIfDisposed();
 
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 19bccfb8efb7..357a92c5510e 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -1572,7 +1572,7 @@ void SAL_CALL SfxBaseModel::storeSelf( const    Sequence< beans::PropertyValue >
 
 void SAL_CALL SfxBaseModel::store()
 {
-    ::comphelper::ProfileZone aZone("store");
+    comphelper::ProfileZone aZone("store");
     storeSelf( Sequence< beans::PropertyValue >() );
 }
 
@@ -1584,7 +1584,7 @@ void SAL_CALL SfxBaseModel::storeAsURL( const   OUString&                   rURL
                                         const   Sequence< beans::PropertyValue >&  rArgs   )
 {
     SfxModelGuard aGuard( *this );
-    ::comphelper::ProfileZone aZone("storeAs");
+    comphelper::ProfileZone aZone("storeAs");
 
     if ( m_pData->m_pObjectShell.is() )
     {
@@ -1624,7 +1624,7 @@ void SAL_CALL SfxBaseModel::storeToURL( const   OUString&                   rURL
                                         const   Sequence< beans::PropertyValue >&  rArgs   )
 {
     SfxModelGuard aGuard( *this );
-    ::comphelper::ProfileZone aZone("storeToURL");
+    comphelper::ProfileZone aZone("storeToURL");
 
     if ( m_pData->m_pObjectShell.is() )
     {
diff --git a/svx/source/unodraw/UnoNameItemTable.cxx b/svx/source/unodraw/UnoNameItemTable.cxx
index 64c2947d5df7..aad9ddc5949d 100644
--- a/svx/source/unodraw/UnoNameItemTable.cxx
+++ b/svx/source/unodraw/UnoNameItemTable.cxx
@@ -93,7 +93,7 @@ void SAL_CALL SvxUnoNameItemTable::ImplInsertByName( const OUString& aName, cons
 void SAL_CALL SvxUnoNameItemTable::insertByName( const OUString& aApiName, const uno::Any& aElement )
 {
     SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("SvxUnoNameItemTable::insertByName");
+    comphelper::ProfileZone aZone("SvxUnoNameItemTable::insertByName");
 
     if( hasByName( aApiName ) )
         throw container::ElementExistException();
@@ -107,7 +107,7 @@ void SAL_CALL SvxUnoNameItemTable::insertByName( const OUString& aApiName, const
 void SAL_CALL SvxUnoNameItemTable::removeByName( const OUString& aApiName )
 {
     SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("SvxUnoNameItemTable::removeByName");
+    comphelper::ProfileZone aZone("SvxUnoNameItemTable::removeByName");
 
     // a little quickfix for 2.0 to let applications clear api
     // created items that are not used
@@ -193,7 +193,7 @@ void SAL_CALL SvxUnoNameItemTable::replaceByName( const OUString& aApiName, cons
 uno::Any SAL_CALL SvxUnoNameItemTable::getByName( const OUString& aApiName )
 {
     SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("SvxUnoNameItemTable::getByName");
+    comphelper::ProfileZone aZone("SvxUnoNameItemTable::getByName");
 
     OUString aName = SvxUnogetInternalNameForItem(mnWhich, aApiName);
 
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx
index 8d7a73882c7a..6a6da5c57d9e 100644
--- a/sw/source/core/unocore/unodraw.cxx
+++ b/sw/source/core/unocore/unodraw.cxx
@@ -2339,7 +2339,7 @@ awt::Size SAL_CALL SwXShape::getSize()
 
 void SAL_CALL SwXShape::setSize( const awt::Size& aSize )
 {
-    ::comphelper::ProfileZone aZone("SwXShape::setSize");
+    comphelper::ProfileZone aZone("SwXShape::setSize");
 
     if ( mxShape.is() )
     {
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index 76f4d3e3b15d..d10454243088 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -962,7 +962,7 @@ void SAL_CALL
 SwXTextCursor::gotoStart(sal_Bool Expand)
 {
     SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("gotoStart");
+    comphelper::ProfileZone aZone("gotoStart");
 
     SwUnoCursor & rUnoCursor( m_pImpl->GetCursorOrThrow() );
 
@@ -1019,7 +1019,7 @@ void SAL_CALL
 SwXTextCursor::gotoEnd(sal_Bool Expand)
 {
     SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("gotoEnd");
+    comphelper::ProfileZone aZone("gotoEnd");
 
     SwUnoCursor & rUnoCursor( m_pImpl->GetCursorOrThrow() );
 
diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx
index 12f5100ca9cc..09b2641a1dca 100644
--- a/sw/source/core/unocore/unotext.cxx
+++ b/sw/source/core/unocore/unotext.cxx
@@ -284,7 +284,7 @@ SwXText::insertString(const uno::Reference< text::XTextRange >& xTextRange,
     const OUString& rString, sal_Bool bAbsorb)
 {
     SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("SwXText::insertString");
+    comphelper::ProfileZone aZone("SwXText::insertString");
 
     if (!xTextRange.is())
     {
@@ -501,7 +501,7 @@ SwXText::insertTextContent(
         sal_Bool bAbsorb)
 {
     SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("SwXText::insertTextContent");
+    comphelper::ProfileZone aZone("SwXText::insertTextContent");
 
     if (!xRange.is())
     {
@@ -851,7 +851,7 @@ uno::Reference< text::XText > SAL_CALL
 SwXText::getText()
 {
     SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("SwXText::getText");
+    comphelper::ProfileZone aZone("SwXText::getText");
 
     const uno::Reference< text::XText > xRet(this);
     return xRet;
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx
index f6c0c463483f..8681e73c21fe 100644
--- a/sw/source/uibase/uno/unotxvw.cxx
+++ b/sw/source/uibase/uno/unotxvw.cxx
@@ -481,7 +481,7 @@ void SAL_CALL SwXTextView::setFormDesignMode( sal_Bool DesignMode )
 uno::Reference< text::XTextViewCursor >  SwXTextView::getViewCursor()
 {
     SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("getViewCursor");
+    comphelper::ProfileZone aZone("getViewCursor");
     if(GetView())
     {
         if(!mxTextViewCursor.is())
@@ -1140,7 +1140,7 @@ void SwXTextViewCursor::gotoRange(
 void SwXTextViewCursor::gotoStart(sal_Bool bExpand)
 {
     SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("SwXTextViewCursor::gotoStart");
+    comphelper::ProfileZone aZone("SwXTextViewCursor::gotoStart");
     if(m_pView)
     {
         if (!IsTextSelection())
@@ -1155,7 +1155,7 @@ void SwXTextViewCursor::gotoStart(sal_Bool bExpand)
 void SwXTextViewCursor::gotoEnd(sal_Bool bExpand)
 {
     SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("SwXTextViewCursor::gotoEnd");
+    comphelper::ProfileZone aZone("SwXTextViewCursor::gotoEnd");
     if(m_pView)
     {
         if (!IsTextSelection())
@@ -1551,7 +1551,7 @@ Any  SwXTextViewCursor::getPropertyDefault( const OUString& rPropertyName )
 sal_Bool SwXTextViewCursor::goDown(sal_Int16 nCount, sal_Bool bExpand)
 {
     SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("SwXTextViewCursor::goDown");
+    comphelper::ProfileZone aZone("SwXTextViewCursor::goDown");
     bool bRet = false;
     if(m_pView)
     {
@@ -1568,7 +1568,7 @@ sal_Bool SwXTextViewCursor::goDown(sal_Int16 nCount, sal_Bool bExpand)
 sal_Bool SwXTextViewCursor::goUp(sal_Int16 nCount, sal_Bool bExpand)
 {
     SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("SwXTextViewCursor::goUp");
+    comphelper::ProfileZone aZone("SwXTextViewCursor::goUp");
     bool bRet = false;
     if(m_pView)
     {
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index 51e2b4670cb5..eb888f6f0872 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -1898,7 +1898,7 @@ void SAL_CALL VCLXToolkit::reschedule()
 void SAL_CALL VCLXToolkit::processEventsToIdle()
 {
     SolarMutexGuard aSolarGuard;
-    ::comphelper::ProfileZone aZone("processEvents");
+    comphelper::ProfileZone aZone("processEvents");
     Scheduler::ProcessEventsToIdle();
 }
 
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx
index ff20d4af4388..41e5168e03f4 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -965,7 +965,7 @@ void VCLXWindow::removeEventListener( const css::uno::Reference< css::lang::XEve
 void VCLXWindow::setPosSize( sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags )
 {
     SolarMutexGuard aGuard;
-    ::comphelper::ProfileZone aZone("setPosSize");
+    comphelper::ProfileZone aZone("setPosSize");
 
     if ( GetWindow() )
     {
diff --git a/vcl/source/app/scheduler.cxx b/vcl/source/app/scheduler.cxx
index bdd5ad69d202..54922ccceaa9 100644
--- a/vcl/source/app/scheduler.cxx
+++ b/vcl/source/app/scheduler.cxx
@@ -366,7 +366,7 @@ next_entry:
 
         Task *pTask = pMostUrgent->mpTask;
 
-        ::comphelper::ProfileZone aZone( pTask->GetDebugName() );
+        comphelper::ProfileZone aZone( pTask->GetDebugName() );
 
         // prepare Scheduler object for deletion after handling
         pTask->SetDeletionFlags();


More information about the Libreoffice-commits mailing list