Kaydet (Commit) 5288e3da authored tarafından Dieter Loeschky's avatar Dieter Loeschky

#88033# SVX_PAGE_MODE_PRESENTATION: don't use config for aAdaptBox

üst bf17ef9b
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: page.cxx,v $ * $RCSfile: page.cxx,v $
* *
* $Revision: 1.8 $ * $Revision: 1.9 $
* *
* last change: $Author: fme $ $Date: 2001-06-03 14:17:49 $ * last change: $Author: dl $ $Date: 2001-06-14 11:13:33 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -576,16 +576,9 @@ void SvxPageDescPage::Reset( const SfxItemSet& rSet ) ...@@ -576,16 +576,9 @@ void SvxPageDescPage::Reset( const SfxItemSet& rSet )
case SVX_PAGE_MODE_PRESENTATION: case SVX_PAGE_MODE_PRESENTATION:
{ {
aAdaptBox.Show(); aAdaptBox.Show();
String sUser = GetUserData(); pItem = GetItem( rSet, SID_ATTR_PAGE_EXT1 );
aAdaptBox.Check( pItem ?
if ( sUser.Len() ) ( (const SfxBoolItem*)pItem )->GetValue() : FALSE );
aAdaptBox.Check( (BOOL)sUser.ToInt32() );
else
{
pItem = GetItem( rSet, SID_ATTR_PAGE_EXT1 );
aAdaptBox.Check( pItem ?
( (const SfxBoolItem*)pItem )->GetValue() : FALSE );
}
//!!! hidden, weil von StarDraw nicht implementiert //!!! hidden, weil von StarDraw nicht implementiert
aLayoutBox.Hide(); aLayoutBox.Hide();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment