summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp/dbaobjectex.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-02 16:02:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-03 21:24:35 +0100
commitbccf34c19ae022b67565e212fa4ec0d5213947de (patch)
tree73c2d2e29ad8d15999cbfb2ff554efa1e502a35e /svx/source/fmcomp/dbaobjectex.cxx
parent285289275d1cf1769080a208b55be984cd269e1e (diff)
ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
Diffstat (limited to 'svx/source/fmcomp/dbaobjectex.cxx')
-rw-r--r--svx/source/fmcomp/dbaobjectex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/fmcomp/dbaobjectex.cxx b/svx/source/fmcomp/dbaobjectex.cxx
index 36e5586d9d3c..9a89732ff71b 100644
--- a/svx/source/fmcomp/dbaobjectex.cxx
+++ b/svx/source/fmcomp/dbaobjectex.cxx
@@ -71,12 +71,12 @@ namespace svx
static sal_uInt32 s_nFormFormat = (sal_uInt32)-1;
if ( _bExtractForm && (sal_uInt32)-1 == s_nFormFormat )
{
- s_nFormFormat = SotExchange::RegisterFormatName(String::CreateFromAscii("application/x-openoffice;windows_formatname=\"dbaccess.FormComponentDescriptorTransfer\"" ));
+ s_nFormFormat = SotExchange::RegisterFormatName(rtl::OUString("application/x-openoffice;windows_formatname=\"dbaccess.FormComponentDescriptorTransfer\"" ));
OSL_ENSURE((sal_uInt32)-1 != s_nFormFormat, "OComponentTransferable::getDescriptorFormatId: bad exchange id!");
}
else if ( !_bExtractForm && (sal_uInt32)-1 == s_nReportFormat)
{
- s_nReportFormat = SotExchange::RegisterFormatName(String::CreateFromAscii("application/x-openoffice;windows_formatname=\"dbaccess.ReportComponentDescriptorTransfer\""));
+ s_nReportFormat = SotExchange::RegisterFormatName(rtl::OUString("application/x-openoffice;windows_formatname=\"dbaccess.ReportComponentDescriptorTransfer\""));
OSL_ENSURE((sal_uInt32)-1 != s_nReportFormat, "OComponentTransferable::getDescriptorFormatId: bad exchange id!");
}
return _bExtractForm ? s_nFormFormat : s_nReportFormat;
>loplugin:redundantfcast look for unnecessary temporariesNoel Grandin 2018-01-18Fix typosAndrea Gelmini 2017-12-11loplugin:salcall fix functionsNoel Grandin 2017-10-23loplugin:includeform: stocStephan Bergmann 2017-10-04add << operator for css::uno::ExceptionNoel Grandin 2017-09-23loplugin:flatten in sdext..stocNoel Grandin 2017-06-17replace misc double checked locking patternsJochen Nitschke 2017-05-09cleanup osl/diagnose.h includesJochen Nitschke 2017-02-15Some simplifications, using UNO_QUERY_THROWStephan Bergmann 2017-01-26Remove dynamic exception specificationsStephan Bergmann 2017-01-19New loplugin:dynexcspec: Add @throws documentation, stocStephan Bergmann 2016-12-11OSL_TRACE -> SAL in sfx2..svxNoel Grandin 2016-12-02loplugin:unnecessaryoverride (dtors) in stocStephan Bergmann 2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann 2016-02-09Remove excess newlinesChris Sherlock 2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann 2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin 2015-11-04yyyyyNoel Grandin 2015-10-27don't allocate uno::Reference on the heapNoel Grandin 2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann 2015-09-07stoc: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe 2015-07-15cppcheck: noExplicitConstructorCaolán McNamara 2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann 2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann