Kaydet (Commit) 44c5fcb7 authored tarafından Andres Gomez's avatar Andres Gomez Kaydeden (comit) Miklos Vajna

indent: Just some indenting for better reading

Change-Id: Id840dd00c71afc1930e6bb9b634e888b88fe7391
Reviewed-on: https://gerrit.libreoffice.org/6001Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst bee6b8f2
This diff is collapsed.
...@@ -160,19 +160,19 @@ void SdUnoForbiddenCharsTable::Notify( SfxBroadcaster&, const SfxHint& rHint ) t ...@@ -160,19 +160,19 @@ void SdUnoForbiddenCharsTable::Notify( SfxBroadcaster&, const SfxHint& rHint ) t
/////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////
const sal_Int32 WID_MODEL_LANGUAGE = 1; const sal_Int32 WID_MODEL_LANGUAGE = 1;
const sal_Int32 WID_MODEL_TABSTOP = 2; const sal_Int32 WID_MODEL_TABSTOP = 2;
const sal_Int32 WID_MODEL_VISAREA = 3; const sal_Int32 WID_MODEL_VISAREA = 3;
const sal_Int32 WID_MODEL_MAPUNIT = 4; const sal_Int32 WID_MODEL_MAPUNIT = 4;
const sal_Int32 WID_MODEL_FORBCHARS= 5; const sal_Int32 WID_MODEL_FORBCHARS = 5;
const sal_Int32 WID_MODEL_CONTFOCUS = 6; const sal_Int32 WID_MODEL_CONTFOCUS = 6;
const sal_Int32 WID_MODEL_DSGNMODE = 7; const sal_Int32 WID_MODEL_DSGNMODE = 7;
const sal_Int32 WID_MODEL_BASICLIBS = 8; const sal_Int32 WID_MODEL_BASICLIBS = 8;
const sal_Int32 WID_MODEL_RUNTIMEUID = 9; const sal_Int32 WID_MODEL_RUNTIMEUID = 9;
const sal_Int32 WID_MODEL_BUILDID = 10; const sal_Int32 WID_MODEL_BUILDID = 10;
const sal_Int32 WID_MODEL_HASVALIDSIGNATURES = 11; const sal_Int32 WID_MODEL_HASVALIDSIGNATURES = 11;
const sal_Int32 WID_MODEL_DIALOGLIBS = 12; const sal_Int32 WID_MODEL_DIALOGLIBS = 12;
const sal_Int32 WID_MODEL_FONTS = 13; const sal_Int32 WID_MODEL_FONTS = 13;
const sal_Int32 WID_MODEL_INTEROPGRABBAG = 14; const sal_Int32 WID_MODEL_INTEROPGRABBAG = 14;
#ifndef SEQTYPE #ifndef SEQTYPE
...@@ -188,19 +188,19 @@ const SvxItemPropertySet* ImplGetDrawModelPropertySet() ...@@ -188,19 +188,19 @@ const SvxItemPropertySet* ImplGetDrawModelPropertySet()
// Attention: the first parameter HAS TO BE sorted!!! // Attention: the first parameter HAS TO BE sorted!!!
const static SfxItemPropertyMapEntry aDrawModelPropertyMap_Impl[] = const static SfxItemPropertyMapEntry aDrawModelPropertyMap_Impl[] =
{ {
{ MAP_CHAR_LEN("BuildId"), WID_MODEL_BUILDID, &::getCppuType(static_cast< const OUString * >(0)), 0, 0}, { MAP_CHAR_LEN("BuildId"), WID_MODEL_BUILDID, &::getCppuType(static_cast< const OUString * >(0)), 0, 0},
{ MAP_CHAR_LEN(sUNO_Prop_CharLocale), WID_MODEL_LANGUAGE, &::getCppuType((const lang::Locale*)0), 0, 0}, { MAP_CHAR_LEN(sUNO_Prop_CharLocale), WID_MODEL_LANGUAGE, &::getCppuType((const lang::Locale*)0), 0, 0},
{ MAP_CHAR_LEN(sUNO_Prop_TabStop), WID_MODEL_TABSTOP, &::getCppuType((const sal_Int32*)0), 0, 0}, { MAP_CHAR_LEN(sUNO_Prop_TabStop), WID_MODEL_TABSTOP, &::getCppuType((const sal_Int32*)0), 0, 0},
{ MAP_CHAR_LEN(sUNO_Prop_VisibleArea), WID_MODEL_VISAREA, &::getCppuType((const awt::Rectangle*)0), 0, 0}, { MAP_CHAR_LEN(sUNO_Prop_VisibleArea), WID_MODEL_VISAREA, &::getCppuType((const awt::Rectangle*)0), 0, 0},
{ MAP_CHAR_LEN(sUNO_Prop_MapUnit), WID_MODEL_MAPUNIT, &::getCppuType((const sal_Int16*)0), beans::PropertyAttribute::READONLY, 0}, { MAP_CHAR_LEN(sUNO_Prop_MapUnit), WID_MODEL_MAPUNIT, &::getCppuType((const sal_Int16*)0), beans::PropertyAttribute::READONLY, 0},
{ MAP_CHAR_LEN(sUNO_Prop_ForbiddenCharacters), WID_MODEL_FORBCHARS,&::getCppuType((const uno::Reference< i18n::XForbiddenCharacters > *)0), beans::PropertyAttribute::READONLY, 0 }, { MAP_CHAR_LEN(sUNO_Prop_ForbiddenCharacters), WID_MODEL_FORBCHARS, &::getCppuType((const uno::Reference< i18n::XForbiddenCharacters > *)0), beans::PropertyAttribute::READONLY, 0},
{ MAP_CHAR_LEN(sUNO_Prop_AutomContFocus ), WID_MODEL_CONTFOCUS, &::getBooleanCppuType(), 0, 0}, { MAP_CHAR_LEN(sUNO_Prop_AutomContFocus ), WID_MODEL_CONTFOCUS, &::getBooleanCppuType(), 0, 0},
{ MAP_CHAR_LEN(sUNO_Prop_ApplyFrmDsgnMode), WID_MODEL_DSGNMODE, &::getBooleanCppuType(), 0, 0}, { MAP_CHAR_LEN(sUNO_Prop_ApplyFrmDsgnMode), WID_MODEL_DSGNMODE, &::getBooleanCppuType(), 0, 0},
{ MAP_CHAR_LEN("BasicLibraries"), WID_MODEL_BASICLIBS,&::getCppuType((const uno::Reference< script::XLibraryContainer > *)0), beans::PropertyAttribute::READONLY, 0 }, { MAP_CHAR_LEN("BasicLibraries"), WID_MODEL_BASICLIBS, &::getCppuType((const uno::Reference< script::XLibraryContainer > *)0), beans::PropertyAttribute::READONLY, 0},
{ MAP_CHAR_LEN("DialogLibraries"), WID_MODEL_DIALOGLIBS, &::getCppuType((const uno::Reference< script::XLibraryContainer > *)0), beans::PropertyAttribute::READONLY, 0 }, { MAP_CHAR_LEN("DialogLibraries"), WID_MODEL_DIALOGLIBS, &::getCppuType((const uno::Reference< script::XLibraryContainer > *)0), beans::PropertyAttribute::READONLY, 0},
{ MAP_CHAR_LEN(sUNO_Prop_RuntimeUID), WID_MODEL_RUNTIMEUID, &::getCppuType(static_cast< const OUString * >(0)), beans::PropertyAttribute::READONLY, 0 }, { MAP_CHAR_LEN(sUNO_Prop_RuntimeUID), WID_MODEL_RUNTIMEUID, &::getCppuType(static_cast< const OUString * >(0)), beans::PropertyAttribute::READONLY, 0},
{ MAP_CHAR_LEN(sUNO_Prop_HasValidSignatures), WID_MODEL_HASVALIDSIGNATURES, &::getCppuType(static_cast< const sal_Bool * >(0)), beans::PropertyAttribute::READONLY, 0 }, { MAP_CHAR_LEN(sUNO_Prop_HasValidSignatures), WID_MODEL_HASVALIDSIGNATURES, &::getCppuType(static_cast< const sal_Bool * >(0)), beans::PropertyAttribute::READONLY, 0},
{ MAP_CHAR_LEN("Fonts"), WID_MODEL_FONTS, SEQTYPE(::getCppuType((uno::Sequence<uno::Any>*)0)), beans::PropertyAttribute::READONLY, 0}, { MAP_CHAR_LEN("Fonts"), WID_MODEL_FONTS, SEQTYPE(::getCppuType((uno::Sequence<uno::Any>*)0)), beans::PropertyAttribute::READONLY, 0},
{ MAP_CHAR_LEN(sUNO_Prop_InteropGrabBag), WID_MODEL_INTEROPGRABBAG, SEQTYPE(::getCppuType((uno::Sequence< beans::PropertyValue >*)0)), 0, 0}, { MAP_CHAR_LEN(sUNO_Prop_InteropGrabBag), WID_MODEL_INTEROPGRABBAG, SEQTYPE(::getCppuType((uno::Sequence< beans::PropertyValue >*)0)), 0, 0},
{ 0,0,0,0,0,0 } { 0,0,0,0,0,0 }
}; };
......
...@@ -182,38 +182,38 @@ void SAL_CALL SfxDocInfoListener_Impl::disposing( const lang::EventObject& ) ...@@ -182,38 +182,38 @@ void SAL_CALL SfxDocInfoListener_Impl::disposing( const lang::EventObject& )
struct IMPL_SfxBaseModel_DataContainer : public ::sfx2::IModifiableDocument struct IMPL_SfxBaseModel_DataContainer : public ::sfx2::IModifiableDocument
{ {
// counter for SfxBaseModel instances created. // counter for SfxBaseModel instances created.
static sal_Int64 g_nInstanceCounter ; static sal_Int64 g_nInstanceCounter ;
SfxObjectShellRef m_pObjectShell ; SfxObjectShellRef m_pObjectShell ;
OUString m_sURL ; OUString m_sURL ;
OUString m_sRuntimeUID ; OUString m_sRuntimeUID ;
OUString m_aPreusedFilterName; OUString m_aPreusedFilterName ;
::cppu::OMultiTypeInterfaceContainerHelper m_aInterfaceContainer ; ::cppu::OMultiTypeInterfaceContainerHelper m_aInterfaceContainer ;
Reference< XInterface > m_xParent ; Reference< XInterface > m_xParent ;
Reference< frame::XController > m_xCurrent ; Reference< frame::XController > m_xCurrent ;
Reference< document::XDocumentProperties > m_xDocumentProperties; Reference< document::XDocumentProperties > m_xDocumentProperties ;
Reference< script::XStarBasicAccess > m_xStarBasicAccess ; Reference< script::XStarBasicAccess > m_xStarBasicAccess ;
Reference< container::XNameReplace > m_xEvents ; Reference< container::XNameReplace > m_xEvents ;
Sequence< beans::PropertyValue> m_seqArguments ; Sequence< beans::PropertyValue> m_seqArguments ;
Sequence< Reference< frame::XController > > m_seqControllers ; Sequence< Reference< frame::XController > > m_seqControllers ;
Reference< container::XIndexAccess > m_contViewData ; Reference< container::XIndexAccess > m_contViewData ;
sal_uInt16 m_nControllerLockCount ; sal_uInt16 m_nControllerLockCount ;
sal_Bool m_bClosed ; sal_Bool m_bClosed ;
sal_Bool m_bClosing ; sal_Bool m_bClosing ;
sal_Bool m_bSaving ; sal_Bool m_bSaving ;
sal_Bool m_bSuicide ; sal_Bool m_bSuicide ;
sal_Bool m_bInitialized ; sal_Bool m_bInitialized ;
sal_Bool m_bExternalTitle ; sal_Bool m_bExternalTitle ;
sal_Bool m_bModifiedSinceLastSave; sal_Bool m_bModifiedSinceLastSave ;
Reference< view::XPrintable> m_xPrintable ; Reference< view::XPrintable> m_xPrintable ;
Reference< script::provider::XScriptProvider > m_xScriptProvider; Reference< script::provider::XScriptProvider > m_xScriptProvider ;
Reference< ui::XUIConfigurationManager2 > m_xUIConfigurationManager; Reference< ui::XUIConfigurationManager2 > m_xUIConfigurationManager;
::rtl::Reference< ::sfx2::DocumentStorageModifyListener > m_pStorageModifyListen; ::rtl::Reference< ::sfx2::DocumentStorageModifyListener > m_pStorageModifyListen ;
OUString m_sModuleIdentifier; OUString m_sModuleIdentifier ;
Reference< frame::XTitle > m_xTitleHelper; Reference< frame::XTitle > m_xTitleHelper ;
Reference< frame::XUntitledNumbers > m_xNumberedControllers; Reference< frame::XUntitledNumbers > m_xNumberedControllers ;
Reference< rdf::XDocumentMetadataAccess> m_xDocumentMetadata; Reference< rdf::XDocumentMetadataAccess> m_xDocumentMetadata ;
::rtl::Reference< ::sfx2::DocumentUndoManager > m_pDocumentUndoManager; ::rtl::Reference< ::sfx2::DocumentUndoManager > m_pDocumentUndoManager ;
Sequence< document::CmisProperty> m_cmisProperties; Sequence< document::CmisProperty> m_cmisProperties ;
SfxGrabBagItem* m_pGrabBagItem ; SfxGrabBagItem* m_pGrabBagItem ;
IMPL_SfxBaseModel_DataContainer( ::osl::Mutex& rMutex, SfxObjectShell* pObjectShell ) IMPL_SfxBaseModel_DataContainer( ::osl::Mutex& rMutex, SfxObjectShell* pObjectShell )
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
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