diff options
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/plugin/unx/unxmgr.cxx | 2 | ||||
-rw-r--r-- | extensions/source/scanner/sanedlg.cxx | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/extensions/source/plugin/unx/unxmgr.cxx b/extensions/source/plugin/unx/unxmgr.cxx index 6da7fe50778b..2ee2b4964b7d 100644 --- a/extensions/source/plugin/unx/unxmgr.cxx +++ b/extensions/source/plugin/unx/unxmgr.cxx @@ -251,7 +251,7 @@ Sequence<PluginDescription> XPluginManager_Impl::impl_getPluginDescriptions() th static const char* pNPXPluginPath = getenv( "NPX_PLUGIN_PATH" ); // netscape!, quick, beam me back to the 90's when Motif roamed the earth - OStringBuffer aSearchBuffer(RTL_CONSTASCII_STRINGPARAM("/usr/lib/netscape/plugins")); + OStringBuffer aSearchBuffer("/usr/lib/netscape/plugins"); if( pHome ) aSearchBuffer.append(':').append(pHome).append("/.netscape/plugins"); if( pNPXPluginPath ) diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx index a11a656923f1..fbc031894f94 100644 --- a/extensions/source/scanner/sanedlg.cxx +++ b/extensions/source/scanner/sanedlg.cxx @@ -1275,8 +1275,7 @@ void SaneDlg::SaveState() sal_Bool bValue; if( mrSane.GetOptionValue( nOption, bValue ) ) { - OStringBuffer aString(RTL_CONSTASCII_STRINGPARAM( - "BOOL=")); + OStringBuffer aString("BOOL="); aString.append(static_cast<sal_Int32>(bValue)); aConfig.WriteKey(aOption, aString.makeStringAndClear()); } @@ -1287,7 +1286,7 @@ void SaneDlg::SaveState() OString aValue; if( mrSane.GetOptionValue( nOption, aValue ) ) { - OStringBuffer aString(RTL_CONSTASCII_STRINGPARAM("STRING=")); + OStringBuffer aString("STRING="); aString.append(aValue); aConfig.WriteKey( aOption, aString.makeStringAndClear() ); } @@ -1296,7 +1295,7 @@ void SaneDlg::SaveState() case SANE_TYPE_FIXED: case SANE_TYPE_INT: { - OStringBuffer aString(RTL_CONSTASCII_STRINGPARAM("NUMERIC=")); + OStringBuffer aString("NUMERIC="); double fValue; char buf[256]; int n; |