[Libreoffice-commits] .: sw/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Fri Jun 29 07:05:09 PDT 2012


 sw/source/core/doc/docfmt.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 9628c1b52a4cba8464962d77a65fe1a559cfd42a
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Fri Jun 29 16:06:11 2012 +0200

    SwDoc::CopyPageDesc: sal_Bool -> bool
    
    Change-Id: I146e4b8c1e174a20dd9524c63bcb6aa0d09849de

diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index bbf3c76..b18f21f 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -2041,7 +2041,7 @@ void SwDoc::CopyPageDescHeaderFooterImpl( bool bCpyHeader,
 void SwDoc::CopyPageDesc( const SwPageDesc& rSrcDesc, SwPageDesc& rDstDesc,
                             sal_Bool bCopyPoolIds )
 {
-    sal_Bool bNotifyLayout = sal_False;
+    bool bNotifyLayout = false;
     SwRootFrm* pTmpRoot = GetCurrentLayout();//swmod 080219
 
     rDstDesc.SetLandscape( rSrcDesc.GetLandscape() );
@@ -2049,7 +2049,7 @@ void SwDoc::CopyPageDesc( const SwPageDesc& rSrcDesc, SwPageDesc& rDstDesc,
     if( rDstDesc.ReadUseOn() != rSrcDesc.ReadUseOn() )
     {
         rDstDesc.WriteUseOn( rSrcDesc.ReadUseOn() );
-        bNotifyLayout = sal_True;
+        bNotifyLayout = true;
     }
 
     if( bCopyPoolIds )
@@ -2072,7 +2072,7 @@ void SwDoc::CopyPageDesc( const SwPageDesc& rSrcDesc, SwPageDesc& rDstDesc,
             CopyPageDesc( *rSrcDesc.GetFollow(), *pFollow );
         }
         rDstDesc.SetFollow( pFollow );
-        bNotifyLayout = sal_True;
+        bNotifyLayout = true;
     }
 
     // the header and footer attributes are copied seperately


More information about the Libreoffice-commits mailing list