coverity#982450 Explicit null dereferenced

Change-Id: I7097ce6ffc86038966a2f436300f49b51ff81977
This commit is contained in:
David Tardon
2014-04-19 19:25:39 +02:00
parent 45a11701ff
commit caa5c53e7d

View File

@@ -181,7 +181,7 @@ namespace dbtools
case PROPERTY_ID_ACTIVE_CONNECTION: { rtl_uString_newFromAscii(&pStr,getPROPERTY_ID_ACTIVE_CONNECTION() ); break; }
}
m_aPropertyMap[_nIndex] = pStr;
return pStr;
return pStr ? OUString(pStr) : OUString();
}
}