summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-01-11 11:07:23 +0200
committerTor Lillqvist <tml@iki.fi>2013-01-11 11:16:59 +0200
commite103887c8c158e7059a586ef5a5f7b234c547dfe (patch)
tree6cbcabd6d270e595578cc283afadd5b4023bd718 /sd
parent4d23222b15ac0034e265441c71405a48403721f8 (diff)
QUARTZ is equivalent to MACOSX
So just check MACOSX in the sources, and don't pass any -DQUARTZ to compilations. Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/prntopts.cxx6
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/prntopts.cxx b/sd/source/ui/dlg/prntopts.cxx
index 799a247d0590..78f5d4758dc5 100644
--- a/sd/source/ui/dlg/prntopts.cxx
+++ b/sd/source/ui/dlg/prntopts.cxx
@@ -86,7 +86,7 @@ SdPrintOptions::SdPrintOptions( Window* pParent, const SfxItemSet& rInAttrs ) :
aCbxHandout.SetClickHdl( aLink );
aCbxOutline.SetClickHdl( aLink );
-#ifndef QUARTZ
+#ifndef MACOSX
SetDrawMode();
#endif
@@ -281,12 +281,12 @@ void SdPrintOptions::SetDrawMode()
}
void SdPrintOptions::PageCreated (SfxAllItemSet
-#ifdef QUARTZ
+#ifdef MACOSX
aSet
#endif
)
{
-#ifdef QUARTZ
+#ifdef MACOSX
SFX_ITEMSET_ARG (&aSet,pFlagItem,SfxUInt32Item,SID_SDMODE_FLAG,sal_False);
if (pFlagItem)
{
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 8c718421debe..ea48eee52064 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -2079,7 +2079,7 @@ IMPL_LINK( SlideshowImpl, EventListenerHdl, VclSimpleEvent*, pEvent )
{
switch( rEvent.GetMediaCommand() )
{
-#if defined( QUARTZ )
+#if defined( MACOSX )
case MEDIA_COMMAND_MENU:
if( !mnContextMenuEvent )
{