diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-26 21:24:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-26 21:24:29 +0200 |
commit | 43c00bc48978a2c148d6f0622f40d3b40a93eb6c (patch) | |
tree | d0b308203578d3b99cd31aa9136978e50edb14b1 /svtools/source | |
parent | a7e273755095e4b97c05a63ab39aa09f8aa755a4 (diff) |
Clean up aEmptyStr
Change-Id: I5befe9deac917a28e80ed193b67ff29b5ba35149
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/control/toolbarmenuacc.cxx | 6 | ||||
-rw-r--r-- | svtools/source/control/valueacc.cxx | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/svtools/source/control/toolbarmenuacc.cxx b/svtools/source/control/toolbarmenuacc.cxx index 7e32cbd0848a..da71f3e3d122 100644 --- a/svtools/source/control/toolbarmenuacc.cxx +++ b/svtools/source/control/toolbarmenuacc.cxx @@ -280,9 +280,8 @@ Locale SAL_CALL ToolbarMenuAcc::getLocale() throw (IllegalAccessibleComponentSta { ThrowIfDisposed(); const SolarMutexGuard aSolarGuard; - const OUString aEmptyStr; Reference< XAccessible > xParent( getAccessibleParent() ); - Locale aRet( aEmptyStr, aEmptyStr, aEmptyStr ); + Locale aRet( "", "", "" ); if( xParent.is() ) { @@ -761,8 +760,7 @@ Reference< XAccessibleStateSet > SAL_CALL ToolbarMenuEntryAcc::getAccessibleStat Locale SAL_CALL ToolbarMenuEntryAcc::getLocale() throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception) { - const OUString aEmptyStr; - Locale aRet( aEmptyStr, aEmptyStr, aEmptyStr ); + Locale aRet( "", "", "" ); Reference< XAccessible > xParent( getAccessibleParent() ); if( xParent.is() ) diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx index 0421a5f9c212..0f8a0a13e2eb 100644 --- a/svtools/source/control/valueacc.cxx +++ b/svtools/source/control/valueacc.cxx @@ -366,9 +366,8 @@ lang::Locale SAL_CALL ValueSetAcc::getLocale() { ThrowIfDisposed(); const SolarMutexGuard aSolarGuard; - const OUString aEmptyStr; uno::Reference< accessibility::XAccessible > xParent( getAccessibleParent() ); - lang::Locale aRet( aEmptyStr, aEmptyStr, aEmptyStr ); + lang::Locale aRet( "", "", "" ); if( xParent.is() ) { @@ -1004,9 +1003,8 @@ lang::Locale SAL_CALL ValueItemAcc::getLocale() throw (accessibility::IllegalAccessibleComponentStateException, uno::RuntimeException, std::exception) { const SolarMutexGuard aSolarGuard; - const OUString aEmptyStr; uno::Reference< accessibility::XAccessible > xParent( getAccessibleParent() ); - lang::Locale aRet( aEmptyStr, aEmptyStr, aEmptyStr ); + lang::Locale aRet( "", "", "" ); if( xParent.is() ) { |