Kaydet (Commit) 568044ae authored tarafından Fridrich Štrba's avatar Fridrich Štrba

Pointless nit-picking on coding style

Change-Id: I54bd60c11a83feceb39557a82c62e290438dff80
üst 23075c27
......@@ -1294,16 +1294,14 @@ void lcl_GetTableVars( sal_Int32& rGrandTotalCols, sal_Int32& rGrandTotalRows, s
ScDPOutput::GetDataDimensionNames( aSourceName, aGivenName, xDim );
try
{
uno::Any aValue = xDimProp->getPropertyValue(
rtl::OUString::createFromAscii(SC_UNO_DP_LAYOUTNAME) );
uno::Any aValue = xDimProp->getPropertyValue( SC_UNO_DP_LAYOUTNAME );
if( aValue.hasValue() )
{
OUString strLayoutName;
if( aValue >>= strLayoutName )
if ( strLayoutName.getLength() > 0 )
aGivenName = strLayoutName;
if( ( aValue >>= strLayoutName ) && !strLayoutName.isEmpty() )
aGivenName = strLayoutName;
}
}
catch(const uno::Exception&)
......
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