Kaydet (Commit) 2560e6bc authored tarafından Caolán McNamara's avatar Caolán McNamara

rtl::OUStrings already have a global empty string

üst 39ff18d0
...@@ -76,8 +76,6 @@ using namespace ::com::sun::star; ...@@ -76,8 +76,6 @@ using namespace ::com::sun::star;
/************************************************************************/ /************************************************************************/
XubString aNameOrIndexEmptyString;
TYPEINIT1_AUTOFACTORY(NameOrIndex, SfxStringItem); TYPEINIT1_AUTOFACTORY(NameOrIndex, SfxStringItem);
/************************************************************************* /*************************************************************************
...@@ -109,7 +107,7 @@ long ScaleMetricValue( long nVal, long nMul, long nDiv ) ...@@ -109,7 +107,7 @@ long ScaleMetricValue( long nVal, long nMul, long nDiv )
*************************************************************************/ *************************************************************************/
NameOrIndex::NameOrIndex(sal_uInt16 _nWhich, sal_Int32 nIndex) : NameOrIndex::NameOrIndex(sal_uInt16 _nWhich, sal_Int32 nIndex) :
SfxStringItem(_nWhich, aNameOrIndexEmptyString), SfxStringItem(_nWhich, rtl::OUString()),
nPalIndex(nIndex) nPalIndex(nIndex)
{ {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment