summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-03-26 13:38:26 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-03-26 13:38:26 +0000
commitc81eaeb8c4ed8db64d7d86573bf9c26105150078 (patch)
tree7664b3a69a79d51bf2f1062d0ab6e84961587dcf
parent090752a8c1627453b426e351f31255331bd8f636 (diff)
INTEGRATION: CWS mingwport03 (1.3.32); FILE MERGED
2006/11/08 23:44:19 vg 1.3.32.2: RESYNC: (1.3-1.4); FILE MERGED 2006/09/07 15:12:09 vg 1.3.32.1: #i53572# MinGW port
-rw-r--r--soltools/ldump/hashtbl.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/soltools/ldump/hashtbl.cxx b/soltools/ldump/hashtbl.cxx
index 83730e0919b0..71348c7fa817 100644
--- a/soltools/ldump/hashtbl.cxx
+++ b/soltools/ldump/hashtbl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: hashtbl.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 11:34:24 $
+ * last change: $Author: vg $ $Date: 2007-03-26 14:38:26 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -365,7 +365,11 @@ void HashTable::SmartGrow()
unsigned long lOldSize = m_lSize; // alte Daten sichern
HashItem* pOldData = m_pData;
+#ifdef __MINGW32__
+ m_lSize = (unsigned long) (m_dGrowFactor * m_lSize); // neue Gre
+#else
m_lSize = unsigned long (m_dGrowFactor * m_lSize); // neue Gre
+#endif
m_pData = new HashItem[m_lSize]; // neue Daten holen
// kein Speicher: