Kaydet (Commit) eac68782 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: Variable set but not used

Change-Id: Ia9dac8262d08a5727ff0518eeec189c99b768504
üst 59c83ffb
...@@ -727,12 +727,13 @@ void ScDocShell::Execute( SfxRequest& rReq ) ...@@ -727,12 +727,13 @@ void ScDocShell::Execute( SfxRequest& rReq )
if ( !pOtherDocSh->GetError() ) // nur Errors if ( !pOtherDocSh->GetError() ) // nur Errors
{ {
sal_Bool bHadTrack = ( aDocument.GetChangeTrack() != NULL ); sal_Bool bHadTrack = ( aDocument.GetChangeTrack() != NULL );
#ifdef LIBO_FEATURE_DESKTOP
sal_uLong nStart = 0; sal_uLong nStart = 0;
if ( nSlot == SID_DOCUMENT_MERGE && pChangeTrack ) if ( nSlot == SID_DOCUMENT_MERGE && pChangeTrack )
{ {
nStart = pChangeTrack->GetActionMax() + 1; nStart = pChangeTrack->GetActionMax() + 1;
} }
#endif
if ( nSlot == SID_DOCUMENT_COMPARE ) if ( nSlot == SID_DOCUMENT_COMPARE )
CompareDocument( *pOtherDocSh->GetDocument() ); CompareDocument( *pOtherDocSh->GetDocument() );
else else
......
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