summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/dataaccess
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-02-18 12:17:18 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-02-18 12:17:18 +0100
commit4ffb84b090928a5b8d4b85dc349d1baf45fe38a0 (patch)
tree5a491111a8e7b1bb0fbbd1e5000437c4ba015903 /dbaccess/source/core/dataaccess
parent694813dbe6405046febb9499fdf0cdd4f4dbfbd0 (diff)
dba33f: #i108311#
Diffstat (limited to 'dbaccess/source/core/dataaccess')
-rw-r--r--dbaccess/source/core/dataaccess/documentdefinition.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/dbaccess/source/core/dataaccess/documentdefinition.cxx b/dbaccess/source/core/dataaccess/documentdefinition.cxx
index 50a04b755..f391f99da 100644
--- a/dbaccess/source/core/dataaccess/documentdefinition.cxx
+++ b/dbaccess/source/core/dataaccess/documentdefinition.cxx
@@ -1340,8 +1340,6 @@ sal_Bool ODocumentDefinition::save(sal_Bool _bApprove)
aRequest.Name = DBACORE_RESSTRING( RID_STR_REPORT );
aRequest.Name = ::dbtools::createUniqueName(xName,aRequest.Name);
}
- else if ( xName->hasByName(aRequest.Name) )
- aRequest.Name = ::dbtools::createUniqueName(xName,aRequest.Name);
aRequest.Content.set(m_xParentContainer,UNO_QUERY);
OInteractionRequest* pRequest = new OInteractionRequest(makeAny(aRequest));