diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2014-08-21 22:48:22 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-08-22 16:22:12 +0100 |
commit | dd1c49d172e57e08f87ec69c4143f190b2a14a04 (patch) | |
tree | 46125654fc6c6a71dcae940890ec7a0144843ad4 /sw | |
parent | 720ee909292db389606511d6fac75ad03d72d695 (diff) |
Simplify autocorrect loading - removing redundant parameter.
Change-Id: Idc1ebba8d859ec79b6744228cfe3ef1f0992e41d
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/swacorr.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/sw3io/swacorr.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/swacorr.hxx b/sw/inc/swacorr.hxx index b22deecd8a97..5bb3c93474fc 100644 --- a/sw/inc/swacorr.hxx +++ b/sw/inc/swacorr.hxx @@ -32,7 +32,7 @@ protected: // Return replacement text (only for SWG-format, all others can be obtained from wordlist!). // rShort is stream-name - encrypted! virtual bool GetLongText( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&, - const OUString& rFileName, const OUString& rShort, OUString& rLong ) SAL_OVERRIDE; + const OUString& rShort, OUString& rLong ) SAL_OVERRIDE; // Text with attributes (only SWG-format!). // rShort is stream-name - encrypted! diff --git a/sw/source/core/sw3io/swacorr.cxx b/sw/source/core/sw3io/swacorr.cxx index 8bae7020bc3c..be4d6d51a353 100644 --- a/sw/source/core/sw3io/swacorr.cxx +++ b/sw/source/core/sw3io/swacorr.cxx @@ -34,13 +34,13 @@ TYPEINIT1( SwAutoCorrect, SvxAutoCorrect ); // rShort ist der Stream-Name - gecryptet! bool SwAutoCorrect::GetLongText( const uno::Reference < embed::XStorage >& rStg, - const OUString& rFileName, const OUString& rShort, OUString& rLong ) + const OUString& rShort, OUString& rLong ) { sal_uLong nRet = 0; if (rStg.is()) { // mba: relative URLs don't make sense here - SwXMLTextBlocks aBlk( rStg, rFileName ); + SwXMLTextBlocks aBlk( rStg, OUString() ); nRet = aBlk.GetText( rShort, rLong ); } else { |