summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-05-17 10:02:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-05-20 09:47:54 +0100
commitff96f70fde003dbb54a8ec153a8cfe1f78bdfbd5 (patch)
tree4cb11275f8163a0025cdd5231c54296a55f93a6f /cui
parentadjust for modified singleton (diff)
downloadcore-ff96f70fde003dbb54a8ec153a8cfe1f78bdfbd5.tar.gz
core-ff96f70fde003dbb54a8ec153a8cfe1f78bdfbd5.zip
adjust for modified singleton
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/treeopt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index a025fcaf790d..48334fc0f2a6 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -1168,7 +1168,7 @@ IMPL_LINK( OfaTreeOptionsDialog, SelectHdl_Impl, Timer*, EMPTYARG )
if ( SfxViewFrame::Current() && SfxViewFrame::Current()->GetDispatcher() )
pPtr = (const OfaPtrItem*)SfxViewFrame::Current()->
GetDispatcher()->Execute( SID_GET_COLORTABLE, SFX_CALLMODE_SYNCHRON );
- pColorTab = pPtr ? (XColorTable*)pPtr->GetValue() : XColorTable::GetStdColorTable();
+ pColorTab = pPtr ? (XColorTable*)pPtr->GetValue() : &XColorTable::GetStdColorTable();
rColPage.SetColorTable( pColorTab );
rColPage.SetPageType( &nUnknownType );