[Libreoffice-commits] core.git: sfx2/source

Caolán McNamara caolanm at redhat.com
Sat Sep 21 02:08:17 PDT 2013


 sfx2/source/sidebar/SidebarController.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 8c0687f2d23ef8b5e55977968720ee93282de798
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Sep 21 10:07:49 2013 +0100

    WaE: shadowed variable in higher debug level
    
    Change-Id: I560e5559306277006a2b6dbeacad54ee60a182d0

diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index cdfa06c..9dbb178 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -588,9 +588,9 @@ void SidebarController::SwitchToDeck (
 
 #ifdef DEBUG
     // Show the context name in the deck title bar.
-    DeckTitleBar* pTitleBar = mpCurrentDeck->GetTitleBar();
-    if (pTitleBar != NULL)
-        pTitleBar->SetTitle(rDeckDescriptor.msTitle+A2S(" (")+maCurrentContext.msContext+A2S(")"));
+    DeckTitleBar* pDebugTitleBar = mpCurrentDeck->GetTitleBar();
+    if (pDebugTitleBar != NULL)
+        pDebugTitleBar->SetTitle(rDeckDescriptor.msTitle + " (" + maCurrentContext.msContext + ")");
 #endif
 
     // Update the panel list.


More information about the Libreoffice-commits mailing list