summaryrefslogtreecommitdiff
path: root/xmloff/source/text
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-08-14 18:39:26 +0000
committerKurt Zenker <kz@openoffice.org>2008-08-14 18:39:26 +0000
commite3f02751b0a81b76dff0a176babf2a195049645e (patch)
treea6a38c900289261afe596268d043fbc0d75db5e2 /xmloff/source/text
parent1fda532aa4a22d99be65f79c8163ebcca332122c (diff)
INTEGRATION: CWS tl58 (1.2.52); FILE MERGED
2008/08/06 10:17:43 od 1.2.52.1: #i92478# method <XMLTextListsHelper::GenerateNewListId()> - created list id now starts with "list" to conform to ID type
Diffstat (limited to 'xmloff/source/text')
-rw-r--r--xmloff/source/text/txtlists.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/xmloff/source/text/txtlists.cxx b/xmloff/source/text/txtlists.cxx
index 24b76507d029..722eff69687f 100644
--- a/xmloff/source/text/txtlists.cxx
+++ b/xmloff/source/text/txtlists.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: txtlists.cxx,v $
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
* This file is part of OpenOffice.org.
*
@@ -140,10 +140,15 @@ const ::rtl::OUString& XMLTextListsHelper::GetListStyleOfLastProcessedList() con
::rtl::OUString XMLTextListsHelper::GenerateNewListId() const
{
+ // --> OD 2008-08-06 #i92478#
+ ::rtl::OUString sTmpStr( ::rtl::OUString::createFromAscii( "list" ) );
+ // <--
sal_Int64 n = Time().GetTime();
n += Date().GetDate();
n += rand();
- ::rtl::OUString sTmpStr( ::rtl::OUString::valueOf( n ) );
+ // --> OD 2008-08-06 #i92478#
+ sTmpStr += ::rtl::OUString::valueOf( n );
+ // <--
long nHitCount = 0;
::rtl::OUString sNewListId( sTmpStr );