diff options
Diffstat (limited to 'sc/source/ui/vba/vbasheetobject.cxx')
-rw-r--r-- | sc/source/ui/vba/vbasheetobject.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbasheetobject.cxx b/sc/source/ui/vba/vbasheetobject.cxx index 256d3659eb42..cf6adaf1b02b 100644 --- a/sc/source/ui/vba/vbasheetobject.cxx +++ b/sc/source/ui/vba/vbasheetobject.cxx @@ -33,7 +33,6 @@ #include "vbafont.hxx" #include "drwlayer.hxx" -using ::rtl::OUString; using namespace ::com::sun::star; using namespace ::ooo::vba; @@ -283,7 +282,7 @@ void SAL_CALL ScVbaSheetObjectBase::setPrintObject( sal_Bool /*bPrintObject*/ ) void ScVbaSheetObjectBase::setDefaultProperties( sal_Int32 nIndex ) throw (uno::RuntimeException) { - OUString aName = ::rtl::OUStringBuffer( implGetBaseName() ).append( sal_Unicode( ' ' ) ).append( nIndex + 1 ).makeStringAndClear(); + OUString aName = OUStringBuffer( implGetBaseName() ).append( sal_Unicode( ' ' ) ).append( nIndex + 1 ).makeStringAndClear(); setName( aName ); implSetDefaultProperties(); } |