summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-21 10:07:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-21 10:07:57 +0100
commit8c0687f2d23ef8b5e55977968720ee93282de798 (patch)
tree1e2fb45ea719d3d8f69c315a097429569b9d8569
parent0b8abbf1924a5c2262df50cc95c8e9200890f6f6 (diff)
WaE: shadowed variable in higher debug level
Change-Id: I560e5559306277006a2b6dbeacad54ee60a182d0
-rw-r--r--sfx2/source/sidebar/SidebarController.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index cdfa06cfd4af..9dbb17843422 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.