Kaydet (Commit) 3cfb9c86 authored tarafından Caolán McNamara's avatar Caolán McNamara

bOutlineMode set but unused

üst dac59047
...@@ -96,14 +96,12 @@ void TextObjectBar::Execute( SfxRequest &rReq ) ...@@ -96,14 +96,12 @@ void TextObjectBar::Execute( SfxRequest &rReq )
const SfxItemSet* pArgs = rReq.GetArgs(); const SfxItemSet* pArgs = rReq.GetArgs();
const SfxPoolItem* pPoolItem = NULL; const SfxPoolItem* pPoolItem = NULL;
sal_uInt16 nSlot = rReq.GetSlot(); sal_uInt16 nSlot = rReq.GetSlot();
sal_Bool bOutlineMode = sal_False;
OutlinerView* pOLV = mpView->GetTextEditOutlinerView(); OutlinerView* pOLV = mpView->GetTextEditOutlinerView();
std::auto_ptr< OutlineViewModelChangeGuard > aGuard; std::auto_ptr< OutlineViewModelChangeGuard > aGuard;
if (mpView->ISA(OutlineView)) if (mpView->ISA(OutlineView))
{ {
bOutlineMode = sal_True;
pOLV = static_cast<OutlineView*>(mpView) pOLV = static_cast<OutlineView*>(mpView)
->GetViewByWindow(mpViewShell->GetActiveWindow()); ->GetViewByWindow(mpViewShell->GetActiveWindow());
......
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