LCOV - code coverage report
Current view: top level - sw/source/ui/dialog - swmessdialog.cxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 23 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 6 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  */
       9             : 
      10             : #include <swmessdialog.hxx>
      11             : #include <vcl/button.hxx>
      12             : #include <vcl/edit.hxx>
      13             : #include <vcl/fixed.hxx>
      14             : #include <vcl/layout.hxx>
      15             : #include <vcl/msgbox.hxx>
      16             : #include <vcl/vclmedit.hxx>
      17             : 
      18           0 : SwMessageAndEditDialog::SwMessageAndEditDialog(vcl::Window* pParent, const OUString& rID,
      19             :         const OUString& rUIXMLDescription)
      20           0 :     : ModalDialog(pParent, rID, rUIXMLDescription)
      21             : {
      22           0 :     get(m_pOKPB, "ok");
      23           0 :     get(m_pPrimaryMessage, "primarymessage");
      24           0 :     m_pPrimaryMessage->SetPaintTransparent(true);
      25           0 :     get(m_pSecondaryMessage, "secondarymessage");
      26           0 :     m_pSecondaryMessage->SetPaintTransparent(true);
      27           0 :     MessageDialog::SetMessagesWidths(this, m_pPrimaryMessage, m_pSecondaryMessage);
      28           0 :     get(m_pImageIM, "image");
      29           0 :     m_pImageIM->SetImage(WarningBox::GetStandardImage());
      30           0 :     get(m_pEdit, "edit");
      31           0 : }
      32             : 
      33           0 : SwMessageAndEditDialog::~SwMessageAndEditDialog()
      34             : {
      35           0 :     disposeOnce();
      36           0 : }
      37             : 
      38           0 : void SwMessageAndEditDialog::dispose()
      39             : {
      40           0 :     m_pOKPB.clear();
      41           0 :     m_pImageIM.clear();
      42           0 :     m_pPrimaryMessage.clear();
      43           0 :     m_pSecondaryMessage.clear();
      44           0 :     m_pEdit.clear();
      45           0 :     ModalDialog::dispose();
      46           0 : }
      47             : 
      48             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11