summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-13 10:25:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-13 11:18:38 +0000
commiteee4c914aee9794125077d4ae7c6dd171b8fb223 (patch)
treec78dee59af562be72323fb1afdd630cc8ed0fab8 /svl
parent1eeb20f3958666ec6ba6e0fcf52e92e5eb447a14 (diff)
Related: fdo#30770 fix rtf cut/paste crash
regression since 0c17ccc493d0c7a80f37600dae76a09a119bef78 Change-Id: I15396ad4d0906c7c3b27c318d73455ac494ae754
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/style.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index 406e5c2b3480..b83e7733cb8d 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -437,6 +437,7 @@ SfxStyleSheetBase* SfxStyleSheetIterator::operator[](sal_uInt16 nIdx)
if( IsTrivialSearch())
{
retval = pBasePool->mIndexedStyleSheets->GetStyleSheetByPosition(nIdx).get();
+ nAktPosition = nIdx;
}
else
{