docstdlg.cxx (efeef26f) docstdlg.cxx (8ef2f12b)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 152 unchanged lines hidden (view full) ---

161 ViewShell *pSh = 0;
162 if ( pVSh->ISA(SwView) )
163 pSh = ((SwView*)pVSh)->GetWrtShellPtr();
164 else if ( pVSh->ISA(SwPagePreView) )
165 pSh = ((SwPagePreView*)pVSh)->GetViewShell();
166
167 ASSERT( pSh, "Shell not found" );
168
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 152 unchanged lines hidden (view full) ---

161 ViewShell *pSh = 0;
162 if ( pVSh->ISA(SwView) )
163 pSh = ((SwView*)pVSh)->GetWrtShellPtr();
164 else if ( pVSh->ISA(SwPagePreView) )
165 pSh = ((SwPagePreView*)pVSh)->GetViewShell();
166
167 ASSERT( pSh, "Shell not found" );
168
169 SwWait aWait( *pSh->GetDoc()->GetDocShell(), sal_True );
169 SwWait aWait( *pSh->GetDoc()->GetDocShell(), true );
170 pSh->StartAction();
171 aDocStat = pSh->GetDoc()->GetDocStat();
172 pSh->GetDoc()->UpdateDocStat( aDocStat );
173 pSh->EndAction();
174
175 SetData(aDocStat);
176}
177

--- 14 unchanged lines hidden ---
170 pSh->StartAction();
171 aDocStat = pSh->GetDoc()->GetDocStat();
172 pSh->GetDoc()->UpdateDocStat( aDocStat );
173 pSh->EndAction();
174
175 SetData(aDocStat);
176}
177

--- 14 unchanged lines hidden ---