Commits

Anonymous committed 0385310

calcdatatables: merge fix

  • Participants
  • Parent commits d59f785

Comments (0)

Files changed (1)

File sc/source/ui/docshell/docfunc.cxx

 }
 
 
+sal_Bool ScDocFunc::ApplyStyle( const ScMarkData& rMark, const String& rStyleName,
+									sal_Bool bRecord, sal_Bool bApi )
 {
 	ScDocument* pDoc = rDocShell.GetDocument();
 	if ( bRecord && !pDoc->IsUndoEnabled() )
         }
 
         rDocShell.GetUndoManager()->LeaveListAction();
-        SfxUndoManager* pMgr = rDocShell.GetUndoManager();
-        pMgr->RemoveLastUndoAction();
+        rDocShell.GetUndoManager()->RemoveLastUndoAction();
 
 		delete pRefUndoDoc;
 		delete pUndoData;