diff options
author | Kai Sommerfeld <kso@openoffice.org> | 2009-12-15 13:33:40 +0100 |
---|---|---|
committer | Kai Sommerfeld <kso@openoffice.org> | 2009-12-15 13:33:40 +0100 |
commit | 3669c4b01bdecf799ca739f64a9c65926f27eddc (patch) | |
tree | efbf372ee5f56c8b23930f1ae7304bc2fb21c1d3 /ucb | |
parent | 20b8f02301ea18fb53da7ae5d70f2b3981a835d9 (diff) |
whitespace cleanup.
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/file/bc.cxx | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx index ab279417b8..d8f3d4afb4 100644 --- a/ucb/source/ucp/file/bc.cxx +++ b/ucb/source/ucp/file/bc.cxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite @@ -529,9 +529,9 @@ BaseContent::getContentType() // Who am I ? Sequence< beans::Property > seq(1); seq[0] = beans::Property( rtl::OUString::createFromAscii("IsDocument"), - -1, - getCppuType( static_cast< sal_Bool* >(0) ), - 0 ); + -1, + getCppuType( static_cast< sal_Bool* >(0) ), + 0 ); Reference< sdbc::XRow > xRow = getPropertyValues( -1,seq ); sal_Bool IsDocument = xRow->getBoolean( 1 ); @@ -640,7 +640,7 @@ BaseContent::queryCreatableContentsInfo( Sequence< ContentInfo > seq(2); // file - seq[0].Type = m_pMyShell->FileContentType; + seq[0].Type = m_pMyShell->FileContentType; seq[0].Attributes = ContentInfoAttribute::INSERT_WITH_INPUTSTREAM | ContentInfoAttribute::KIND_DOCUMENT; @@ -654,7 +654,7 @@ BaseContent::queryCreatableContentsInfo( seq[0].Properties = props; // folder - seq[1].Type = m_pMyShell->FolderContentType; + seq[1].Type = m_pMyShell->FolderContentType; seq[1].Attributes = ContentInfoAttribute::KIND_FOLDER; seq[1].Properties = props; return seq; @@ -688,18 +688,18 @@ BaseContent::createNewContent( { Sequence< beans::Property > seq(1); seq[0] = beans::Property( rtl::OUString::createFromAscii("IsDocument"), - -1, - getCppuType( static_cast< sal_Bool* >(0) ), - 0 ); + -1, + getCppuType( static_cast< sal_Bool* >(0) ), + 0 ); Reference< sdbc::XRow > xRow = getPropertyValues( -1,seq ); IsDocument = xRow->getBoolean( 1 ); - + if ( xRow->wasNull() ) { IsDocument = false; -// OSL_ENSURE( false, -// "BaseContent::createNewContent - Property value was null!" ); -// return Reference< XContent >(); +// OSL_ENSURE( false, +// "BaseContent::createNewContent - Property value was null!" ); +// return Reference< XContent >(); } } catch ( sdbc::SQLException const & ) @@ -1076,13 +1076,13 @@ BaseContent::open( aCommandArgument.Properties, aCommandArgument.SortingInfo ); } -// else if( aCommandArgument.Mode == -// OpenMode::DOCUMENT_SHARE_DENY_NONE || -// aCommandArgument.Mode == -// OpenMode::DOCUMENT_SHARE_DENY_WRITE ) -// m_pMyShell->installError( nMyCommandIdentifier, -// TASKHANDLING_UNSUPPORTED_OPEN_MODE, -// aCommandArgument.Mode); +// else if( aCommandArgument.Mode == +// OpenMode::DOCUMENT_SHARE_DENY_NONE || +// aCommandArgument.Mode == +// OpenMode::DOCUMENT_SHARE_DENY_WRITE ) +// m_pMyShell->installError( nMyCommandIdentifier, +// TASKHANDLING_UNSUPPORTED_OPEN_MODE, +// aCommandArgument.Mode); else m_pMyShell->installError( nMyCommandIdentifier, TASKHANDLING_UNSUPPORTED_OPEN_MODE, |