summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbastyles.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbastyles.cxx')
-rw-r--r--sc/source/ui/vba/vbastyles.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbastyles.cxx b/sc/source/ui/vba/vbastyles.cxx
index fa49f5f47819..2706440c972c 100644
--- a/sc/source/ui/vba/vbastyles.cxx
+++ b/sc/source/ui/vba/vbastyles.cxx
@@ -23,7 +23,7 @@
using namespace ::ooo::vba;
using namespace ::com::sun::star;
-static rtl::OUString SDEFAULTCELLSTYLENAME( RTL_CONSTASCII_USTRINGPARAM("Default") );
+static rtl::OUString SDEFAULTCELLSTYLENAME("Default");
static css::uno::Any
lcl_createAPIStyleToVBAObject( const css::uno::Any& aObject, const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< frame::XModel >& xModel )
{
@@ -99,7 +99,7 @@ ScVbaStyles::Add( const ::rtl::OUString& _sName, const uno::Any& _aBasedOn ) thr
uno::Reference< excel::XStyle > aRet;
try
{
- rtl::OUString sParentCellStyleName( RTL_CONSTASCII_USTRINGPARAM("Default"));
+ rtl::OUString sParentCellStyleName("Default");
if ( _aBasedOn.hasValue() )
{
uno::Reference< excel::XRange > oRange;