summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2021-10-29 10:24:51 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2021-11-01 05:26:08 +0100
commit2e29906567cef053e608588830ddfb013cb53682 (patch)
treecae4aa3aaf9f318ceb6f0a80953d6174e494a394 /vcl/win
parent1be268f3ec7661be232b8f5dc18546d1410dfd52 (diff)
Prepare for removal of non-const operator[] from Sequence in vcl
Change-Id: I65f411affcf0340c054d09426483d57c530edb0f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124411 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/dtrans/DOTransferable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/dtrans/DOTransferable.cxx b/vcl/win/dtrans/DOTransferable.cxx
index 7b9f28203d7e..363601d7a0d7 100644
--- a/vcl/win/dtrans/DOTransferable.cxx
+++ b/vcl/win/dtrans/DOTransferable.cxx
@@ -367,7 +367,7 @@ void CDOTransferable::addSupportedFlavor( const DataFlavor& aFlavor )
OSL_ASSERT( isValidFlavor( aFlavor ) );
m_FlavorList.realloc( m_FlavorList.getLength( ) + 1 );
- m_FlavorList[m_FlavorList.getLength( ) - 1] = aFlavor;
+ m_FlavorList.getArray()[m_FlavorList.getLength( ) - 1] = aFlavor;
}
}