From e77c573811dd9d685f2e7e936edc62963739800f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 10 Dec 2014 12:54:46 +0000 Subject: fdo#76776 crashes after paste a table from Writer Change-Id: If859352a7d8d409e5c3c651e0ffea0b3687007db --- svtools/source/svrtf/rtfkeywd.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'svtools/source/svrtf/rtfkeywd.cxx') 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; } -- cgit