summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2014-08-21 22:48:22 +0100
committerMichael Meeks <michael.meeks@collabora.com>2014-08-22 16:22:12 +0100
commitdd1c49d172e57e08f87ec69c4143f190b2a14a04 (patch)
tree46125654fc6c6a71dcae940890ec7a0144843ad4 /sw
parent720ee909292db389606511d6fac75ad03d72d695 (diff)
Simplify autocorrect loading - removing redundant parameter.
Change-Id: Idc1ebba8d859ec79b6744228cfe3ef1f0992e41d
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/swacorr.hxx2
-rw-r--r--sw/source/core/sw3io/swacorr.cxx4
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 {