summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/UnoNameItemTable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/unodraw/UnoNameItemTable.cxx')
-rw-r--r--svx/source/unodraw/UnoNameItemTable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodraw/UnoNameItemTable.cxx b/svx/source/unodraw/UnoNameItemTable.cxx
index 56a96534f02c..ac13c30ea88b 100644
--- a/svx/source/unodraw/UnoNameItemTable.cxx
+++ b/svx/source/unodraw/UnoNameItemTable.cxx
@@ -180,7 +180,7 @@ void SAL_CALL SvxUnoNameItemTable::replaceByName( const OUString& aApiName, cons
if (mpModelPool)
{
- NameOrIndex aSample(mnWhich, aName);
+ SampleItem aSample(mnWhich, aName);
for (const SfxPoolItem* pNameOrIndex : mpModelPool->FindItemSurrogate(mnWhich, aSample))
if (isValid(static_cast<const NameOrIndex*>(pNameOrIndex)))
{