diff options
author | Andras Timar <andras.timar@collabora.com> | 2014-10-23 12:56:35 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-10-23 12:59:17 +0200 |
commit | d70884569c5ed09675c3b3f50117aa54636cc479 (patch) | |
tree | d564b1df5acd5a673fe74dce98aef176fa8042ca | |
parent | c03ae0dedf3bf901b386ba334aabe2205b1808f3 (diff) |
Resolves: fdo#62682 crash on second export of svg
because the first export has left "dangling" CalcFieldValueHdl Links in
Outliners that got created based on the Drawing Outliner while it had a
temporary CalcFieldValueHdl installed, and didn't get the old CalcFieldValueHdl
installed when the old Drawing Outliner one was re-installed.
(cherry picked from commit 5bdfa8c12472eb9ff6ca054c2ada7150b1869fff)
Change-Id: I064a154ece488c9a4c3467b753451df7e73ae883
-rw-r--r-- | filter/source/svg/svgexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx index 4265f358bcd7..e6cf93a6efab 100644 --- a/filter/source/svg/svgexport.cxx +++ b/filter/source/svg/svgexport.cxx @@ -619,7 +619,7 @@ sal_Bool SVGFilter::implExport( const Sequence< PropertyValue >& rDescriptor ) //the maOldFieldHdl for all that have ended up using //maNewFieldHdl std::vector<SdrOutliner*> aOutliners(mpSdrModel->GetActiveOutliners()); - for (auto aIter = aOutliners.begin(); aIter != aOutliners.end(); ++aIter) + for (std::vector<SdrOutliner*>::iterator aIter = aOutliners.begin(); aIter != aOutliners.end(); ++aIter) { SdrOutliner* pOutliner = *aIter; if (maNewFieldHdl == pOutliner->GetCalcFieldValueHdl()) |