diff options
author | Joren De Cuyper <joren.libreoffice@telenet.be> | 2013-03-17 14:42:47 +0100 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-18 08:21:34 +0000 |
commit | e01daa86e757dab289bfa60576ce235b31eba720 (patch) | |
tree | de13f2ca4924576fc23db74a669503bc8ad56383 /sw/source/ui/app/docsh2.cxx | |
parent | b1fc129c6b973a65080abe5ea5145b012c05108d (diff) |
Comment cleanup and several indentation fixes
Change-Id: Ib3e51969b2d2624e69a2270c5446b7ac1095a2b5
Reviewed-on: https://gerrit.libreoffice.org/2789
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
Diffstat (limited to 'sw/source/ui/app/docsh2.cxx')
-rw-r--r-- | sw/source/ui/app/docsh2.cxx | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/sw/source/ui/app/docsh2.cxx b/sw/source/ui/app/docsh2.cxx index b10260b8be47..b454fb304553 100644 --- a/sw/source/ui/app/docsh2.cxx +++ b/sw/source/ui/app/docsh2.cxx @@ -123,10 +123,7 @@ using ::rtl::OUString; using namespace ::sfx2; extern bool FindPhyStyle( SwDoc& , const String& , SfxStyleFamily ); -/*-------------------------------------------------------------------- - Description: create DocInfo (virtual) - --------------------------------------------------------------------*/ - +// create DocInfo (virtual) SfxDocumentInfoDialog* SwDocShell::CreateDocumentInfoDialog( Window *pParent, const SfxItemSet &rSet) { @@ -229,10 +226,7 @@ static void lcl_processCompatibleSfxHint( const uno::Reference< script::vba::XVB } } -/*-------------------------------------------------------------------- - Description: Notification on DocInfo changes - --------------------------------------------------------------------*/ - +// Notification on DocInfo changes void SwDocShell::Notify( SfxBroadcaster&, const SfxHint& rHint ) { if( !pDoc ) @@ -310,10 +304,7 @@ void SwDocShell::Notify( SfxBroadcaster&, const SfxHint& rHint ) } } -/*-------------------------------------------------------------------- - Description: Notification Close Doc - --------------------------------------------------------------------*/ - +// Notification Close Doc sal_uInt16 SwDocShell::PrepareClose( sal_Bool bUI, sal_Bool bForBrowsing ) { sal_uInt16 nRet = SfxObjectShell::PrepareClose( bUI, bForBrowsing ); @@ -334,10 +325,7 @@ sal_uInt16 SwDocShell::PrepareClose( sal_Bool bUI, sal_Bool bForBrowsing ) return nRet; } -/*-------------------------------------------------------------------- - Description: Organizer - --------------------------------------------------------------------*/ - +// Organizer sal_Bool SwDocShell::Insert( SfxObjectShell &rSource, sal_uInt16 nSourceIdx1, // SourcePool: uppermost content level (templates/macros) sal_uInt16 nSourceIdx2, // Index in the content @@ -548,10 +536,7 @@ sal_Bool SwDocShell::Insert( SfxObjectShell &rSource, return bRet; } -/*-------------------------------------------------------------------- - Description: template Remove - --------------------------------------------------------------------*/ - +// template Remove sal_Bool SwDocShell::Remove(sal_uInt16 nIdx1, // see Insert sal_uInt16 nIdx2, sal_uInt16 nIdx3) @@ -799,7 +784,6 @@ void SwDocShell::Execute(SfxRequest& rReq) while( pFlt ) { // --> OD #i117339# -// if( pFlt && pFlt->IsAllowedAsTemplate() ) if( pFlt && pFlt->IsAllowedAsTemplate() && ( pFlt->GetUserData() == "CXML" || pFlt->GetUserData() == "CXMLV" ) ) @@ -1772,9 +1756,7 @@ sal_uLong SwDocShell::LoadStylesFromFile( const String& rURL, return nErr; } -/*-------------------------------------------------------------------- - Get a client for an embedded object if possible. - --------------------------------------------------------------------*/ +// Get a client for an embedded object if possible. SfxInPlaceClient* SwDocShell::GetIPClient( const ::svt::EmbeddedObjectRef& xObjRef ) { SfxInPlaceClient* pResult = NULL; |