diff options
author | Kai Sommerfeld <kso@openoffice.org> | 2001-03-29 10:54:22 +0000 |
---|---|---|
committer | Kai Sommerfeld <kso@openoffice.org> | 2001-03-29 10:54:22 +0000 |
commit | 5678ba09c12643af954b5bd3dc5044d2a529fc4b (patch) | |
tree | 56edee24d8182987ed7802d6fed091cf26e0d0ca /ucb | |
parent | 2044e4ae217a474c082759cd6ba6823344f20426 (diff) |
#84998# - Fixed function createNew(...).
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/core/ucbcmds.cxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ucb/source/core/ucbcmds.cxx b/ucb/source/core/ucbcmds.cxx index 599a603d3c02..f47e7f37b282 100644 --- a/ucb/source/core/ucbcmds.cxx +++ b/ucb/source/core/ucbcmds.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ucbcmds.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: kso $ $Date: 2001-02-12 13:17:09 $ + * last change: $Author: kso $ $Date: 2001-03-29 11:54:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -425,11 +425,13 @@ static uno::Reference< XContent > createNew( // Copy / Move // Is source a link? Create link in target folder then. - if ( bSourceIsLink && - ( nAttribs & ContentInfoAttribute::KIND_LINK ) ) + if ( bSourceIsLink ) { - // Match! - bMatch = sal_True; + if ( nAttribs & ContentInfoAttribute::KIND_LINK ) + { + // Match! + bMatch = sal_True; + } } else { |