diff options
author | Sven Jacobi <sj@openoffice.org> | 2007-08-16 16:12:26 +0000 |
---|---|---|
committer | Sven Jacobi <sj@openoffice.org> | 2007-08-16 16:12:26 +0000 |
commit | 70ba36b0f5a31ecbd6f65d7da1a9560f85030756 (patch) | |
tree | ee7eef44e62867b77016d87c81c15bb356d7f8d7 /sdext/source/minimizer/informationdialog.cxx | |
parent | cb14cc6c1631d0679a544f428919e938623471ab (diff) |
storing setting if newly created document should be opened to configuration
Diffstat (limited to 'sdext/source/minimizer/informationdialog.cxx')
-rw-r--r-- | sdext/source/minimizer/informationdialog.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sdext/source/minimizer/informationdialog.cxx b/sdext/source/minimizer/informationdialog.cxx index b7a3ff3cbaf5..10a214da8cf3 100644 --- a/sdext/source/minimizer/informationdialog.cxx +++ b/sdext/source/minimizer/informationdialog.cxx @@ -4,9 +4,9 @@ * * $RCSfile: informationdialog.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: sj $ $Date: 2007-05-24 10:08:35 $ + * last change: $Author: sj $ $Date: 2007-08-16 17:12:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -290,9 +290,6 @@ void InformationDialog::InitDialog() Sequence< rtl::OUString > aNames( pNames, nCount ); Sequence< Any > aValues( pValues, nCount ); - sal_Bool bOpenNewDocument = mrbOpenNewDocument; - setControlProperty( TKGet( TK_OpenNewDocument ), TKGet( TK_State ), Any( (sal_Int16)bOpenNewDocument ) ); - mxDialogModelMultiPropertySet->setPropertyValues( aNames, aValues ); sal_Int64 nSource = mnSourceSize; @@ -359,6 +356,9 @@ void InformationDialog::InitDialog() if ( maSaveAsURL.getLength() ) InsertCheckBox( *this, TKGet( TK_OpenNewDocument ), xItemListener, getString( STR_AUTOMATICALLY_OPEN ), PAGE_POS_X, 42, PAGE_WIDTH, 8, 1 ); InsertButton( *this, rtl::OUString( rtl::OUString::createFromAscii( "button" ) ), mxActionListener, DIALOG_WIDTH / 2 - 25, nDialogHeight - 20, 50, 14, 2, STR_OK ); + + sal_Bool bOpenNewDocument = mrbOpenNewDocument; + setControlProperty( TKGet( TK_OpenNewDocument ), TKGet( TK_State ), Any( (sal_Int16)bOpenNewDocument ) ); } // ----------------------------------------------------------------------------- |