diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2013-05-22 15:11:17 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2013-05-22 15:13:23 +0300 |
commit | d19421db942cd08cc378e1b4dfea583f9bd5cd79 (patch) | |
tree | e2365d297bd129aaa46381b920ee92dfc41c6937 /sd | |
parent | fdo#62846 incorrect glyph to Unicode mappings in PDFs (diff) | |
download | core-d19421db942cd08cc378e1b4dfea583f9bd5cd79.tar.gz core-d19421db942cd08cc378e1b4dfea583f9bd5cd79.zip |
WaE: unsafe mix of type 'bool' and type 'sal_Bool'
Change-Id: Ief8e7c0fe01809b6059aa85a4cc8d2ba713f902a
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/masterlayoutdlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/masterlayoutdlg.cxx b/sd/source/ui/dlg/masterlayoutdlg.cxx index e080822f69d5..21aa64b9894f 100644 --- a/sd/source/ui/dlg/masterlayoutdlg.cxx +++ b/sd/source/ui/dlg/masterlayoutdlg.cxx @@ -86,7 +86,7 @@ void MasterLayoutDialog::applyChanges() { mpDoc->BegUndo(GetText()); - if( (mpCurrentPage->GetPageKind() != PK_STANDARD) && (mbOldHeader != mpCBHeader->IsChecked() ) ) + if( (mpCurrentPage->GetPageKind() != PK_STANDARD) && (mbOldHeader != (bool) mpCBHeader->IsChecked() ) ) { if( mbOldHeader ) remove( PRESOBJ_HEADER ); @@ -94,7 +94,7 @@ void MasterLayoutDialog::applyChanges() create( PRESOBJ_HEADER ); } - if( mbOldFooter != mpCBFooter->IsChecked() ) + if( mbOldFooter != (bool) mpCBFooter->IsChecked() ) { if( mbOldFooter ) remove( PRESOBJ_FOOTER ); @@ -102,7 +102,7 @@ void MasterLayoutDialog::applyChanges() create( PRESOBJ_FOOTER ); } - if( mbOldDate != mpCBDate->IsChecked() ) + if( mbOldDate != (bool) mpCBDate->IsChecked() ) { if( mbOldDate ) remove( PRESOBJ_DATETIME ); @@ -110,7 +110,7 @@ void MasterLayoutDialog::applyChanges() create( PRESOBJ_DATETIME ); } - if( mbOldPageNumber != mpCBPageNumber->IsChecked() ) + if( mbOldPageNumber != (bool) mpCBPageNumber->IsChecked() ) { if( mbOldPageNumber ) remove( PRESOBJ_SLIDENUMBER ); |