From 0cee740c95496210d62206a21e8bc9adebf4fa4d Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 17 Jan 2017 16:13:54 +0100 Subject: replace #ifdef SOLARIS with #ifdef __sun Check for a macro that is defined by the compiler, we don't really need one defined by the build system. Change-Id: Iccb8e3198396881395c97a6b81690ebe64b7e9d2 --- sc/source/ui/view/viewfun5.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc') diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx index 9a3ae1b14f04..6f1cc0646ecd 100644 --- a/sc/source/ui/view/viewfun5.cxx +++ b/sc/source/ui/view/viewfun5.cxx @@ -246,8 +246,8 @@ bool ScViewFunc::PasteDataFormat( SotClipboardFormatId nFormatId, Graphic aGraphic; SotClipboardFormatId nGrFormat = SotClipboardFormatId::NONE; -// (wg. Selection Manager bei Trustet Solaris) -#ifndef SOLARIS +// (for Selection Manager in Trusted Solaris) +#ifndef __sun if( aDataHelper.GetGraphic( SotClipboardFormatId::SVXB, aGraphic ) ) nGrFormat = SotClipboardFormatId::SVXB; else if( aDataHelper.GetGraphic( SotClipboardFormatId::GDIMETAFILE, aGraphic ) ) -- cgit