diff options
author | Christian Lippka <cl@openoffice.org> | 2001-04-20 13:05:54 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2001-04-20 13:05:54 +0000 |
commit | 56c5107a6ad83950c3424e18f046c3a9ed20f829 (patch) | |
tree | 16c8ac6e9fcb2f30c1f6ca3d3a17259fa6435d74 /sd/source/ui/view/viewshe3.cxx | |
parent | dca7955f5f27f59212aa621cce2c668443cfe143 (diff) |
#82045# started view settings
Diffstat (limited to 'sd/source/ui/view/viewshe3.cxx')
-rw-r--r-- | sd/source/ui/view/viewshe3.cxx | 41 |
1 files changed, 2 insertions, 39 deletions
diff --git a/sd/source/ui/view/viewshe3.cxx b/sd/source/ui/view/viewshe3.cxx index 5374eb222565..466c97b08f3a 100644 --- a/sd/source/ui/view/viewshe3.cxx +++ b/sd/source/ui/view/viewshe3.cxx @@ -2,9 +2,9 @@ * * $RCSfile: viewshe3.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: cl $ $Date: 2001-03-28 11:55:15 $ + * last change: $Author: cl $ $Date: 2001-04-20 14:05:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1781,43 +1781,6 @@ void __EXPORT SdViewShell::GetMenuState( SfxItemSet &rSet ) } } -#define NUM_VIEW_SETTINGS 1 -void SdViewShell::WriteUserDataSequence ( ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >& rSequence, sal_Bool bBrowse ) -{ - rSequence.realloc ( NUM_VIEW_SETTINGS ); - sal_Int16 nIndex = 0; - com::sun::star::beans::PropertyValue *pValue = rSequence.getArray(); - - sal_uInt16 nViewID( GetViewFrame()->GetCurViewId()); - pValue->Name = rtl::OUString ( RTL_CONSTASCII_USTRINGPARAM( "view-id" ) ); - OUStringBuffer sBuffer ( OUString(RTL_CONSTASCII_USTRINGPARAM( "view" ) ) ); - sBuffer.append( static_cast<sal_Int32>(nViewID)); - pValue->Value <<= sBuffer.makeStringAndClear(); - pValue++;nIndex++; - - if ( nIndex < NUM_VIEW_SETTINGS ) - rSequence.realloc ( nIndex ); -} -#undef NUM_VIEW_SETTINGS - -void SdViewShell::ReadUserDataSequence ( ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >& rSequence, sal_Bool bBrowse ) -{ -/* - const sal_Int32 nLength = rSequence.getLength(); - if (nLength) - { - const com::sun::star::beans::PropertyValue *pValue = rSequence.getConstArray(); - for (sal_Int16 i = 0 ; i < nLength; i++) - { - if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ViewLeft" ) ) ) - { - pValue->Value >>= nX; - } - } - } -*/ -} - |