summaryrefslogtreecommitdiff
path: root/editeng
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 /editeng
parent720ee909292db389606511d6fac75ad03d72d695 (diff)
Simplify autocorrect loading - removing redundant parameter.
Change-Id: Idc1ebba8d859ec79b6744228cfe3ef1f0992e41d
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/misc/SvXMLAutoCorrectImport.cxx2
-rw-r--r--editeng/source/misc/svxacorr.cxx11
2 files changed, 6 insertions, 7 deletions
diff --git a/editeng/source/misc/SvXMLAutoCorrectImport.cxx b/editeng/source/misc/SvXMLAutoCorrectImport.cxx
index fcc47f12f093..80e5d029535f 100644
--- a/editeng/source/misc/SvXMLAutoCorrectImport.cxx
+++ b/editeng/source/misc/SvXMLAutoCorrectImport.cxx
@@ -129,7 +129,7 @@ SvXMLWordContext::SvXMLWordContext(
if( !bOnlyTxt )
{
const OUString sLongSave( sRight );
- if( !rLocalRef.rAutoCorrect.GetLongText( rLocalRef.xStorage, OUString(), sWrong, sRight ) &&
+ if( !rLocalRef.rAutoCorrect.GetLongText( rLocalRef.xStorage, sWrong, sRight ) &&
!sLongSave.isEmpty() )
{
sRight = sLongSave;
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 5816b9473051..5fb94248aeff 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1620,18 +1620,17 @@ bool SvxAutoCorrect::MakeCombinedChanges( std::vector<SvxAutocorrWord>& aNewEntr
}
-
- // - return the replacement text (only for SWG-Format, all other
- // can be taken from the word list!)
+// - return the replacement text (only for SWG-Format, all other
+// can be taken from the word list!)
bool SvxAutoCorrect::GetLongText( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&,
- const OUString&, const OUString&, OUString& )
+ const OUString&, OUString& )
{
return false;
}
- // Text with attribution (only the SWG - SWG format!)
+// Text with attribution (only the SWG - SWG format!)
bool SvxAutoCorrect::PutText( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&,
- const OUString&, const OUString&, SfxObjectShell&, OUString& )
+ const OUString&, const OUString&, SfxObjectShell&, OUString& )
{
return false;
}