diff options
Diffstat (limited to 'sc/source/filter/ftools/fapihelper.cxx')
-rw-r--r-- | sc/source/filter/ftools/fapihelper.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/filter/ftools/fapihelper.cxx b/sc/source/filter/ftools/fapihelper.cxx index 0e3d73f5a239..616365c73761 100644 --- a/sc/source/filter/ftools/fapihelper.cxx +++ b/sc/source/filter/ftools/fapihelper.cxx @@ -205,12 +205,11 @@ bool ScfPropertySet::GetBoolProperty( const ::rtl::OUString& rPropName ) const return GetAnyProperty( aAny, rPropName ) && ScUnoHelpFunctions::GetBoolFromAny( aAny ); } -bool ScfPropertySet::GetStringProperty( String& rValue, const OUString& rPropName ) const +OUString ScfPropertySet::GetStringProperty( const OUString& rPropName ) const { OUString aOUString; - bool bRet = GetProperty( aOUString, rPropName ); - rValue = aOUString; - return bRet; + GetProperty( aOUString, rPropName ); + return aOUString; } bool ScfPropertySet::GetColorProperty( Color& rColor, const ::rtl::OUString& rPropName ) const |