From 2560e6bc6df31e97de50f857b6fd2a30f3e68bae Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 1 Apr 2012 22:56:40 +0100 Subject: rtl::OUStrings already have a global empty string --- svx/source/xoutdev/xattr.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'svx') diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx index 1067b96521f7..cf8070e09fc0 100644 --- a/svx/source/xoutdev/xattr.cxx +++ b/svx/source/xoutdev/xattr.cxx @@ -76,8 +76,6 @@ using namespace ::com::sun::star; /************************************************************************/ -XubString aNameOrIndexEmptyString; - TYPEINIT1_AUTOFACTORY(NameOrIndex, SfxStringItem); /************************************************************************* @@ -109,7 +107,7 @@ long ScaleMetricValue( long nVal, long nMul, long nDiv ) *************************************************************************/ NameOrIndex::NameOrIndex(sal_uInt16 _nWhich, sal_Int32 nIndex) : - SfxStringItem(_nWhich, aNameOrIndexEmptyString), + SfxStringItem(_nWhich, rtl::OUString()), nPalIndex(nIndex) { } -- cgit