summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-01 22:56:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-02 14:53:49 +0100
commit2560e6bc6df31e97de50f857b6fd2a30f3e68bae (patch)
treecbf4efaaa30b8e213516b38fb5e6ec1159cf55f4 /svx
parent39ff18d07bea2363cd6cbf1c960be103ec1376c1 (diff)
rtl::OUStrings already have a global empty string
Diffstat (limited to 'svx')
-rw-r--r--svx/source/xoutdev/xattr.cxx4
1 files changed, 1 insertions, 3 deletions
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)
{
}