summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-26 10:58:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-28 19:44:08 +0200
commitef513fd4b049b214a03fbe6e62a5ea43680a7a9b (patch)
tree82f2ce93bc8e5fde6dce8685b633c3d643c9f069 /cui
parent826f1bca40a01f0a249d5b6cbb7c39c11638a060 (diff)
remove unnecessary use of OString::getStr
Change-Id: I0490efedf459190521f4339854b3394d57765fdb Reviewed-on: https://gerrit.libreoffice.org/38058 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optinet2.cxx2
-rw-r--r--cui/source/options/optsave.cxx6
2 files changed, 2 insertions, 6 deletions
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index cea8b66cdbe3..0c2e0b7157a5 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -783,7 +783,7 @@ IMPL_STATIC_LINK_NOARG(SvxSecurityTabPage, MacroSecPBHdl, Button*, void)
}
catch (const Exception& e)
{
- OSL_FAIL(OUStringToOString(e.Message, osl_getThreadTextEncoding()).getStr());
+ SAL_WARN( "cui.options", e.Message);
(void)e;
}
}
diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx
index 24c56f47d403..a64a998a17a1 100644
--- a/cui/source/options/optsave.cxx
+++ b/cui/source/options/optsave.cxx
@@ -457,11 +457,7 @@ void SvxSaveTabPage::Reset( const SfxItemSet* )
catch(Exception& e)
{
(void) e;
- OSL_FAIL(
- OUStringToOString(
- "exception in FilterFactory access: " + e.Message,
- RTL_TEXTENCODING_UTF8).
- getStr());
+ SAL_WARN( "cui.options", "exception in FilterFactory access: " << e.Message );
}
pImpl->bInitialized = true;