[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: RE: Can't compile krita
From: "Goffioul Michael" <goffioul () imec ! be>
Date: 2004-07-08 14:24:25
Message-ID: 49056F0358EA754AB8420F7210B4CC070319A265 () e2k02 ! imec ! be
[Download RAW message or body]
[Attachment #2 (unknown)]
It seems to compile now, thanks (didn't test any functionality though).
Note: kis_plugin_registry.cc is missing, I couldn't finish compilation.
Michael.
> Those lines were actually written by Piotr Szymanski
> <djurban@pld-dc.org> as a
> patch to make it compile with gcc 3.4. I committed it on his
> behalf. I have
> gcc 3.3.3.
>
> I have just committed a change that will hopefully work with
> 3.3.1 onwards:
>
> const KisLayerSP KisImage::activeLayer() const
> {
> - return m_selection ? static_cast<KisLayerSP>(m_selection) :
> m_activeLayer;
> + return m_selection ?
> static_cast<KisLayerSP>(static_cast<KisFloatingSelection
> *>(m_selection)) :
> m_activeLayer;
> }
>
> KisLayerSP KisImage::activeLayer()
> {
> - return m_selection ? static_cast<KisLayerSP>(m_selection) :
> m_activeLayer;
> + return m_selection ?
> static_cast<KisLayerSP>(static_cast<KisFloatingSelection
> *>(m_selection)) :
> m_activeLayer;
> }
>
> Adrian
>
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic