[Libreoffice-commits] .: sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Wed Sep 14 08:44:59 PDT 2011
sc/source/core/data/document.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 9015c60ff874a15606257ffaf7b8b55268b289f5
Author: Kohei Yoshida <kohei.yoshida at suse.com>
Date: Wed Sep 14 11:48:32 2011 -0400
Do the same when calling ScDocument::InsertTabs().
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index a41fdba..b9526d3 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -564,13 +564,16 @@ bool ScDocument::InsertTabs( SCTAB nPos, const std::vector<rtl::OUString>& rName
if ( pChartListenerCollection )
pChartListenerCollection->UpdateScheduledSeriesRanges();
- SetDirty();
bValid = true;
}
else
bValid = false;
}
}
+
+ if (bValid)
+ SetDirty();
+
return bValid;
}
More information about the Libreoffice-commits
mailing list