summaryrefslogtreecommitdiff
path: root/sw/source/core/sw3io/swacorr.cxx
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/source/core/sw3io/swacorr.cxx
parent720ee909292db389606511d6fac75ad03d72d695 (diff)
Simplify autocorrect loading - removing redundant parameter.
Change-Id: Idc1ebba8d859ec79b6744228cfe3ef1f0992e41d
Diffstat (limited to 'sw/source/core/sw3io/swacorr.cxx')
-rw-r--r--sw/source/core/sw3io/swacorr.cxx4
1 files changed, 2 insertions, 2 deletions
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 {