summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-09 16:39:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-09 16:41:57 +0100
commite213253ad440eceef6700122a4c57701e7ec9d1e (patch)
treef00b746314037f501ffdb750f8a2ea18804d2751 /vcl
parent54acc08629eeee8831931f3a6ba7747451e0f032 (diff)
remove some unnecessary headers
Change-Id: I367ee95976ddedb7c6be4e0fc0d87147e7ed22f5
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/printdlg.hxx8
-rw-r--r--vcl/source/window/printdlg.cxx6
2 files changed, 0 insertions, 14 deletions
diff --git a/vcl/inc/printdlg.hxx b/vcl/inc/printdlg.hxx
index 7de6ff9ba17f..d4d88fb8bc50 100644
--- a/vcl/inc/printdlg.hxx
+++ b/vcl/inc/printdlg.hxx
@@ -42,7 +42,6 @@
#include "vcl/field.hxx"
#include "vcl/tabctrl.hxx"
#include "vcl/tabpage.hxx"
-#include "vcl/arrange.hxx"
#include "vcl/virdev.hxx"
#include <boost/shared_ptr.hpp>
@@ -136,9 +135,6 @@ namespace vcl
// border around each page
CheckBox* mpBorderCB;
- boost::shared_ptr< vcl::RowOrColumn > mxBrochureDep;
- boost::shared_ptr< vcl::LabeledElement >mxPagesBtnLabel;
-
void setupLayout();
NUpTabPage( VclBuilder* );
@@ -184,8 +180,6 @@ namespace vcl
CheckBox* mpToFileBox;
CheckBox* mpCollateSingleJobsBox;
- boost::shared_ptr<vcl::RowOrColumn> mxOptGroup;
-
OutputOptPage( VclBuilder* );
void readFromSettings();
@@ -231,8 +225,6 @@ namespace vcl
rtl::OUString maPrintText;
rtl::OUString maDefPrtText;
- boost::shared_ptr<vcl::RowOrColumn> mxPreviewCtrls;
-
Size maDetailsCollapsedSize;
Size maDetailsExpandedSize;
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 84bcb3f9db32..bd7693f4105f 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -38,7 +38,6 @@
#include "vcl/wall.hxx"
#include "vcl/status.hxx"
#include "vcl/decoview.hxx"
-#include "vcl/arrange.hxx"
#include "vcl/configsettings.hxx"
#include "vcl/help.hxx"
#include "vcl/decoview.hxx"
@@ -1269,11 +1268,6 @@ void PrintDialog::setPreviewText( sal_Int32 )
{
rtl::OUString aNewText( searchAndReplace( maPageStr, "%n", 2, rtl::OUString::valueOf( mnCachedPages ) ) );
mpNumPagesText->SetText( aNewText );
-
- // if layout is already established the refresh layout of
- // preview controls since text length may have changes
- if( mxPreviewCtrls.get() )
- mxPreviewCtrls->setManagedArea( mxPreviewCtrls->getManagedArea() );
}
void PrintDialog::preparePreview( bool i_bNewPage, bool i_bMayUseCache )