summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
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 /chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
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 'chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx')
-rw-r--r--chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx18
1 files changed, 7 insertions, 11 deletions
diff --git a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
index 6c4a4814ae61..519dde5bd163 100644
--- a/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
+++ b/chart2/source/controller/dialogs/tp_3D_SceneIllumination.cxx
@@ -140,9 +140,8 @@ namespace
}
catch( const uno::Exception & ex )
{
- (void)(ex); // no warning in non-debug builds
- OSL_FAIL( OUStringToOString("Property Exception caught. Message: " +
- ex.Message, RTL_TEXTENCODING_ASCII_US ).getStr());
+ (void)ex; // no warning in non-debug builds
+ SAL_WARN( "chart2", "Property Exception caught. Message: " << ex.Message);
}
}
return aResult;
@@ -168,9 +167,8 @@ namespace
}
catch( const uno::Exception & ex )
{
- (void)(ex); // no warning in non-debug builds
- OSL_FAIL( OUStringToOString("Property Exception caught. Message: " +
- ex.Message, RTL_TEXTENCODING_ASCII_US ).getStr());
+ (void)ex; // no warning in non-debug builds
+ SAL_WARN( "chart2", "Property Exception caught. Message: " << ex.Message);
}
}
}
@@ -185,9 +183,8 @@ namespace
}
catch( const uno::Exception & ex )
{
- (void)(ex); // no warning in non-debug builds
- OSL_FAIL( OUStringToOString("Property Exception caught. Message: " +
- ex.Message, RTL_TEXTENCODING_ASCII_US ).getStr());
+ (void)ex; // no warning in non-debug builds
+ SAL_WARN( "chart2", "Property Exception caught. Message: " << ex.Message);
}
return Color( nResult );
}
@@ -204,8 +201,7 @@ namespace
catch( const uno::Exception & ex )
{
(void)(ex); // no warning in non-debug builds
- OSL_FAIL( OUStringToOString( "Property Exception caught. Message: " +
- ex.Message, RTL_TEXTENCODING_ASCII_US ).getStr());
+ SAL_WARN( "chart2", "Property Exception caught. Message: " << ex.Message);
}
}
}