diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-05-17 10:14:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-05-20 15:21:26 +0100 |
commit | 4f271aa5b2fdb014c9cc29c45be07c9e20dc4424 (patch) | |
tree | 9d340b3bb6876d8debc728bb1f884b2e75818518 /reportdesign/source/ui/misc | |
parent | 956c70875e56f055fafc344202858b44b8ab0b63 (diff) |
adjust for modified singleton
Diffstat (limited to 'reportdesign/source/ui/misc')
-rw-r--r-- | reportdesign/source/ui/misc/UITools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/misc/UITools.cxx b/reportdesign/source/ui/misc/UITools.cxx index a41ac764e..5ef2626a9 100644 --- a/reportdesign/source/ui/misc/UITools.cxx +++ b/reportdesign/source/ui/misc/UITools.cxx @@ -771,7 +771,7 @@ bool openAreaDialog( const uno::Reference<report::XShape >& _xShape,const uno::R // #i74099# by default, the dialog deletes the current color table if a different one is loaded // (see SwDrawShell::ExecDrawDlg) const SvxColorTableItem* pColorItem = static_cast<const SvxColorTableItem*>( pDescriptor->GetItem(SID_COLOR_TABLE) ); - if (pColorItem && pColorItem->GetColorTable() == XColorTable::GetStdColorTable()) + if (pColorItem && pColorItem->GetColorTable() == &XColorTable::GetStdColorTable()) pDialog->DontDeleteColorTable(); bSuccess = ( RET_OK == pDialog->Execute() ); if ( bSuccess ) |