[Libreoffice-commits] .: sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Sat Jan 15 09:21:34 PST 2011
sc/source/core/data/dpobject.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 6f7b1eeaade5e7adbf602cea497913b1369bbaf1
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Sat Jan 15 12:20:38 2011 -0500
This is the right way to go about this.
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx
index abb22d2..b509008 100644
--- a/sc/source/core/data/dpobject.cxx
+++ b/sc/source/core/data/dpobject.cxx
@@ -2646,10 +2646,8 @@ void ScDPCollection::FreeTable(ScDPObject* pDPObj)
if (maTables.size() == 1)
{
if (&maTables.back() == pDPObj)
- {
maTables.clear();
- return;
- }
+ return;
}
#endif
TablesType::iterator itr = maTables.begin(), itrEnd = maTables.end();
More information about the Libreoffice-commits
mailing list