cid#1545264 COPY_INSTEAD_OF_MOVE
Change-Id: If46030df202c9c569835bae0713bc2fb681b623d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157366 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
c5d512203e
commit
a3bd64c4a1
1 changed files with 1 additions and 2 deletions
|
@ -520,8 +520,7 @@ void ScDPSaveDimension::WriteToSource( const uno::Reference<uno::XInterface>& xD
|
||||||
uno::Reference<sheet::XHierarchiesSupplier> xHierSupp( xDim, uno::UNO_QUERY );
|
uno::Reference<sheet::XHierarchiesSupplier> xHierSupp( xDim, uno::UNO_QUERY );
|
||||||
if ( xHierSupp.is() )
|
if ( xHierSupp.is() )
|
||||||
{
|
{
|
||||||
uno::Reference<container::XNameAccess> xHiersName = xHierSupp->getHierarchies();
|
xHiers = new ScNameToIndexAccess(xHierSupp->getHierarchies());
|
||||||
xHiers = new ScNameToIndexAccess( xHiersName );
|
|
||||||
nHierCount = xHiers->getCount();
|
nHierCount = xHiers->getCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue