diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:36:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:36:37 +0100 |
commit | 8b6ed2d28861de44a580d0c743d485df70c48913 (patch) | |
tree | e8ecab12d8deff2f4a64faa559fd79feefd8b76f /reportdesign/source/ui/dlg | |
parent | loplugin:stringconstant: elide explicit ctor usage (automatic rewrite) (diff) | |
download | core-8b6ed2d28861de44a580d0c743d485df70c48913.tar.gz core-8b6ed2d28861de44a580d0c743d485df70c48913.zip |
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I2f36442dde374b324f74f8c31a402b475069ca13
Diffstat (limited to 'reportdesign/source/ui/dlg')
-rw-r--r-- | reportdesign/source/ui/dlg/Condition.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/ui/dlg/GroupExchange.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/dlg/Condition.cxx b/reportdesign/source/ui/dlg/Condition.cxx index f5af71c34334..ae3885680764 100644 --- a/reportdesign/source/ui/dlg/Condition.cxx +++ b/reportdesign/source/ui/dlg/Condition.cxx @@ -63,7 +63,7 @@ ConditionField::ConditionField(Condition* pParent, Edit* pSubEdit, PushButton *p { m_pSubEdit->EnableRTL( false ); - m_pFormula->SetText(OUString("...")); + m_pFormula->SetText("..."); m_pFormula->SetClickHdl( LINK( this, ConditionField, OnFormula ) ); } diff --git a/reportdesign/source/ui/dlg/GroupExchange.cxx b/reportdesign/source/ui/dlg/GroupExchange.cxx index 8bfdc708c448..8ebf62f1f20c 100644 --- a/reportdesign/source/ui/dlg/GroupExchange.cxx +++ b/reportdesign/source/ui/dlg/GroupExchange.cxx @@ -31,7 +31,7 @@ namespace rptui static SotClipboardFormatId s_nReportFormat = static_cast<SotClipboardFormatId>(-1); if ( static_cast<SotClipboardFormatId>(-1) == s_nReportFormat ) { - s_nReportFormat = SotExchange::RegisterFormatName(OUString("application/x-openoffice;windows_formatname=\"reportdesign.GroupFormat\"" )); + s_nReportFormat = SotExchange::RegisterFormatName("application/x-openoffice;windows_formatname=\"reportdesign.GroupFormat\""); OSL_ENSURE(static_cast<SotClipboardFormatId>(-1) != s_nReportFormat, "Bad exchange id!"); } return s_nReportFormat; |