Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
3abfdd08
Kaydet (Commit)
3abfdd08
authored
Mar 03, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
it's surely a bad idea to not crash in dbgutil mode but crash in product mode
Change-Id: Ie72e23a5b3c49b08bcf25a9de2d7c4d4c4e7925d
üst
5c2d43d2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
57 deletions
+2
-57
Library_basegfx.mk
basegfx/Library_basegfx.mk
+0
-1
bpixel.hxx
basegfx/inc/basegfx/pixel/bpixel.hxx
+0
-3
bpixelraster.hxx
basegfx/inc/basegfx/raster/bpixelraster.hxx
+2
-14
bpixel.cxx
basegfx/source/pixel/bpixel.cxx
+0
-39
No files found.
basegfx/Library_basegfx.mk
Dosyayı görüntüle @
3abfdd08
...
...
@@ -45,7 +45,6 @@ $(eval $(call gb_Library_add_exception_objects,basegfx,\
basegfx/source/matrix/b2dhommatrixtools \
basegfx/source/matrix/b3dhommatrix \
basegfx/source/numeric/ftools \
basegfx/source/pixel/bpixel \
basegfx/source/point/b2dpoint \
basegfx/source/point/b2ipoint \
basegfx/source/point/b3dpoint \
...
...
basegfx/inc/basegfx/pixel/bpixel.hxx
Dosyayı görüntüle @
3abfdd08
...
...
@@ -125,9 +125,6 @@ namespace basegfx
{
return
(
rPixel
.
maPixelUnion
.
maCombinedRGBO
.
mnValue
!=
maPixelUnion
.
maCombinedRGBO
.
mnValue
);
}
// empty element
static
const
BPixel
&
getEmptyBPixel
();
};
//////////////////////////////////////////////////////////////////////////
...
...
basegfx/inc/basegfx/raster/bpixelraster.hxx
Dosyayı görüntüle @
3abfdd08
...
...
@@ -81,26 +81,14 @@ namespace basegfx
// data access read only
const
BPixel
&
getBPixel
(
sal_uInt32
nIndex
)
const
{
#ifdef DBG_UTIL
if
(
nIndex
>=
mnCount
)
{
OSL_FAIL
(
"getBPixel: Access out of range (!)"
);
return
BPixel
::
getEmptyBPixel
();
}
#endif
assert
(
nIndex
<
mnCount
);
//Access out of range
return
mpContent
[
nIndex
];
}
// data access read/write
BPixel
&
getBPixel
(
sal_uInt32
nIndex
)
{
#ifdef DBG_UTIL
if
(
nIndex
>=
mnCount
)
{
OSL_FAIL
(
"getBPixel: Access out of range (!)"
);
return
mpContent
[
0L
];
}
#endif
assert
(
nIndex
<
mnCount
);
//Access out of range
return
mpContent
[
nIndex
];
}
};
...
...
basegfx/source/pixel/bpixel.cxx
deleted
100644 → 0
Dosyayı görüntüle @
5c2d43d2
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <basegfx/pixel/bpixel.hxx>
#include <rtl/instance.hxx>
namespace
{
struct
EmptyBPixel
:
public
rtl
::
Static
<
basegfx
::
BPixel
,
EmptyBPixel
>
{};
}
//////////////////////////////////////////////////////////////////////////////
namespace
basegfx
{
const
BPixel
&
BPixel
::
getEmptyBPixel
()
{
return
EmptyBPixel
::
get
();
}
//////////////////////////////////////////////////////////////////////////
// external operators
}
// end of namespace basegfx
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment