diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-06-26 09:44:37 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-06-26 09:44:37 +0000 |
commit | c7e2096fbeed125d467d20d08521f4db0438f6f9 (patch) | |
tree | 6da3e4cdb858ea75a3170b2cbefecb489f32338a /sw/source/ui/app/docsh.cxx | |
parent | 51099bf6493a7f24990da534c41f314c4624b0a8 (diff) |
INTEGRATION: CWS swqbf97 (1.66.166); FILE MERGED
2007/06/06 07:33:06 ama 1.66.166.2: RESYNC: (1.66-1.68); FILE MERGED
2007/05/07 08:38:03 fme 1.66.166.1: #i76360# Update document statistics
Diffstat (limited to 'sw/source/ui/app/docsh.cxx')
-rw-r--r-- | sw/source/ui/app/docsh.cxx | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sw/source/ui/app/docsh.cxx b/sw/source/ui/app/docsh.cxx index 7a65b33418ab..c47ee168e06e 100644 --- a/sw/source/ui/app/docsh.cxx +++ b/sw/source/ui/app/docsh.cxx @@ -4,9 +4,9 @@ * * $RCSfile: docsh.cxx,v $ * - * $Revision: 1.69 $ + * $Revision: 1.70 $ * - * last change: $Author: ihi $ $Date: 2007-06-05 17:40:27 $ + * last change: $Author: hr $ $Date: 2007-06-26 10:44:37 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -28,7 +28,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * Foundation, Inc., 59: Temple Place, Suite 330, Boston, * MA 02111-1307 USA * ************************************************************************/ @@ -203,6 +203,9 @@ #ifndef _DOC_HXX #include <doc.hxx> #endif +#ifndef _DOCSTAT_HXX +#include <docstat.hxx> +#endif #ifndef _PAGEDESC_HXX #include <pagedesc.hxx> #endif @@ -806,6 +809,10 @@ BOOL SwDocShell::ConvertTo( SfxMedium& rMedium ) UpdateDocInfoForSave(); } + // --> FME 2007-5-7 #i76360# Update document statistics + SwDocStat aDocStat( pDoc->GetDocStat() );; + pDoc->UpdateDocStat( aDocStat ); + // <-- CalcLayoutForOLEObjects(); // format for OLE objets // --> OD 2006-03-17 #i62875# // reset compatibility flag <DoNotCaptureDrawObjsOnPage>, if possible |