summaryrefslogtreecommitdiffstats
path: root/toolkit/workben/unodialog.cxx
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2001-02-05 14:25:14 +0000
committerMalte Timmermann <mt@openoffice.org>2001-02-05 14:25:14 +0000
commit7fda5d47ba7b782b31420416c3733caf2d701026 (patch)
tree90765b60516fa45ef8c4394bcdc95d0c1da8ae34 /toolkit/workben/unodialog.cxx
parentoptimization: store format and return next time with same format the last any (diff)
downloadcore-7fda5d47ba7b782b31420416c3733caf2d701026.tar.gz
core-7fda5d47ba7b782b31420416c3733caf2d701026.zip
Some changes for uno dialogs
Diffstat (limited to 'toolkit/workben/unodialog.cxx')
-rw-r--r--toolkit/workben/unodialog.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/toolkit/workben/unodialog.cxx b/toolkit/workben/unodialog.cxx
index 34f01882dd47..e802bad3a194 100644
--- a/toolkit/workben/unodialog.cxx
+++ b/toolkit/workben/unodialog.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unodialog.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: mt $ $Date: 2001-01-25 16:15:05 $
+ * last change: $Author: mt $ $Date: 2001-02-05 15:25:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -212,9 +212,9 @@ void MyApp::Main()
xPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "PositionX" ) ), aValue );
aValue <<= (sal_Int32) 10;
xPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "PositionY" ) ), aValue );
- aValue <<= (sal_Int32) 100;
+ aValue <<= (sal_Int32) 40;
xPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Width" ) ), aValue );
- aValue <<= (sal_Int32) 20;
+ aValue <<= (sal_Int32) 12;
xPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Height" ) ), aValue );
aValue <<= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Test!" ) );
xPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Label" ) ), aValue );
@@ -225,7 +225,7 @@ void MyApp::Main()
uno::Reference< beans::XPropertySet > xDlgPSet( xC, uno::UNO_QUERY );
aValue <<= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Test-Dialog" ) );
xDlgPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Title" ) ), aValue );
- aValue <<= (sal_Int32) 600;
+ aValue <<= (sal_Int32) 200;
xDlgPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Width" ) ), aValue );
aValue <<= (sal_Int32) 200;
xDlgPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Height" ) ), aValue );
@@ -240,11 +240,11 @@ void MyApp::Main()
xPSet = uno::Reference< beans::XPropertySet >( xCtrl2, uno::UNO_QUERY );
aValue <<= (sal_Int32) 10;
xPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "PositionX" ) ), aValue );
- aValue <<= (sal_Int32) 50;
+ aValue <<= (sal_Int32) 40;
xPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "PositionY" ) ), aValue );
- aValue <<= (sal_Int32) 100;
+ aValue <<= (sal_Int32) 80;
xPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Width" ) ), aValue );
- aValue <<= (sal_Int32) 20;
+ aValue <<= (sal_Int32) 12;
xPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Height" ) ), aValue );
aValue <<= ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Text..." ) );
xPSet->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Text" ) ), aValue );