summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-26 22:59:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-27 08:00:32 +0200
commit9c8fd7d1c5553e1e50dba7c7c32ef15fcdb0b49d (patch)
tree345951559eba7aca1ead5ea9ff37450792a6833e /sw
parenta6050c32f30796743f9ab9b2a5c793ced9b8f747 (diff)
Clean up sEmpty
Change-Id: If1b2bfe308caa2bce92e73d2c5c86ee273faed93
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/edit/edtox.cxx3
-rw-r--r--sw/source/core/unocore/unoevent.cxx2
-rw-r--r--sw/source/uibase/uiview/view2.cxx3
3 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/core/edit/edtox.cxx b/sw/source/core/edit/edtox.cxx
index 8d596e8df064..16385174285c 100644
--- a/sw/source/core/edit/edtox.cxx
+++ b/sw/source/core/edit/edtox.cxx
@@ -314,10 +314,9 @@ void SwEditShell::ApplyAutoMark()
sal_Int32 nSrchFlags = SearchFlags::LEV_RELAXED;
- OUString sEmpty;
SearchOptions aSearchOpt(
SearchAlgorithms_ABSOLUTE, nSrchFlags,
- sEmpty, sEmpty,
+ "", "",
SvtSysLocale().GetLanguageTag().getLocale(),
nLEV_Other, nLEV_Longer, nLEV_Shorter,
nTransliterationFlags );
diff --git a/sw/source/core/unocore/unoevent.cxx b/sw/source/core/unocore/unoevent.cxx
index aed1588a97d1..791cad3e7556 100644
--- a/sw/source/core/unocore/unoevent.cxx
+++ b/sw/source/core/unocore/unoevent.cxx
@@ -136,7 +136,7 @@ void SwHyperlinkEventDescriptor::copyMacrosIntoINetFormat(
const sal_uInt16 nEvent = mpSupportedMacroItems[i].mnEvent;
if (hasById(nEvent))
{
- SvxMacro aMacro(sEmpty, sEmpty);
+ SvxMacro aMacro("", "");
getByName(aMacro, nEvent);
aFormat.SetMacro(nEvent, aMacro);
}
diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx
index a85fbf96ac82..a050e583a94d 100644
--- a/sw/source/uibase/uiview/view2.cxx
+++ b/sw/source/uibase/uiview/view2.cxx
@@ -2073,8 +2073,7 @@ void SwView::ExecuteInsertDoc( SfxRequest& rRequest, const SfxPoolItem* pItem )
if ( !pItem )
{
- OUString sEmpty;
- InsertDoc( nSlot, sEmpty, sEmpty );
+ InsertDoc( nSlot, "", "" );
}
else
{