fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / dbaccess / source / ui / dlg / QueryPropertiesDialog.cxx
blob7182276a6224964e50d78d48c1a13a5a1affbc79
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #include "QueryPropertiesDialog.hxx"
12 namespace dbaui
15 QueryPropertiesDialog::QueryPropertiesDialog(
16 vcl::Window* pParent, const bool bDistinct, const sal_Int64 nLimit )
17 : ModalDialog(pParent, "QueryPropertiesDialog", "dbaccess/ui/querypropertiesdialog.ui")
18 , m_pRB_Distinct( 0 )
19 , m_pRB_NonDistinct( 0 )
20 , m_pLB_Limit( 0 )
22 get( m_pRB_Distinct, "distinct" );
23 get( m_pRB_NonDistinct, "nondistinct" );
24 get( m_pLB_Limit, "limitbox" );
26 m_pRB_Distinct->Check( bDistinct );
27 m_pRB_NonDistinct->Check( !bDistinct );
28 m_pLB_Limit->SetValue( nLimit );
31 QueryPropertiesDialog::~QueryPropertiesDialog()
33 disposeOnce();
36 void QueryPropertiesDialog::dispose()
38 m_pRB_Distinct.clear();
39 m_pRB_NonDistinct.clear();
40 m_pLB_Limit.clear();
41 ModalDialog::dispose();
44 } ///dbaui namespace
46 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */