diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-10 12:54:46 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-10 13:14:38 +0000 |
commit | e77c573811dd9d685f2e7e936edc62963739800f (patch) | |
tree | edb729f302cd9c725c4d5be868131412a02e432a /svtools/source/svrtf/rtfkeywd.cxx | |
parent | 1ecf9ed3fc33c984890848eacbecad5e009eb33d (diff) |
fdo#76776 crashes after paste a table from Writer
Change-Id: If859352a7d8d409e5c3c651e0ffea0b3687007db
Diffstat (limited to 'svtools/source/svrtf/rtfkeywd.cxx')
-rw-r--r-- | svtools/source/svrtf/rtfkeywd.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/svrtf/rtfkeywd.cxx b/svtools/source/svrtf/rtfkeywd.cxx index 18f7ad162fcc..ef032a547009 100644 --- a/svtools/source/svrtf/rtfkeywd.cxx +++ b/svtools/source/svrtf/rtfkeywd.cxx @@ -1000,6 +1000,7 @@ static RTF_TokenEntry aRTFTokenTab[] = { {{OOO_STRING_SVTOOLS_RTF_SHPFBLWTXT}, RTF_SHPFBLWTXT}, {{OOO_STRING_SVTOOLS_RTF_SHPFHDR}, RTF_SHPFHDR}, {{OOO_STRING_SVTOOLS_RTF_SHPGRP}, RTF_SHPGRP}, +{{OOO_STRING_SVTOOLS_RTF_SHPINST}, RTF_SHPINST}, {{OOO_STRING_SVTOOLS_RTF_SHPLEFT}, RTF_SHPLEFT}, {{OOO_STRING_SVTOOLS_RTF_SHPLID}, RTF_SHPLID}, {{OOO_STRING_SVTOOLS_RTF_SHPLOCKANCHOR}, RTF_SHPLOCKANCHOR}, @@ -1227,6 +1228,7 @@ int GetRTFToken( const OUString& rSearch ) sizeof( RTF_TokenEntry ), RTFKeyCompare ))) nRet = ((RTF_TokenEntry*)pFound)->nToken; + return nRet; } |