Kaydet (Commit) b5f607a4 authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: update unused code

Change-Id: I225cbb3a4a66a8f20bec91c4770ad78e72b663b1
üst 5ce9606a
......@@ -44,13 +44,11 @@ namespace sdr
Color aTriangleColor);
virtual ~OverlayTriangle();
// change second position
// get second position
const basegfx::B2DPoint& getSecondPosition() const { return maSecondPosition; }
void setSecondPosition(const basegfx::B2DPoint& rNew);
// change third position
// get third position
const basegfx::B2DPoint& getThirdPosition() const { return maThirdPosition; }
void setThirdPosition(const basegfx::B2DPoint& rNew);
};
} // end of namespace overlay
} // end of namespace sdr
......
......@@ -110,48 +110,6 @@ ScCalcOptionsDialog::ScCalcOptionsDialog(vcl::Window* pParent, const ScCalcConfi
ScCalcOptionsDialog::~ScCalcOptionsDialog() {}
#if HAVE_FEATURE_OPENCL
void ScCalcOptionsDialog::fillOpenCLList()
{
mpOpenclInfoList->SetUpdateMode(false);
mpOpenclInfoList->Clear();
SvTreeListEntry* pSoftwareEntry = mpOpenclInfoList->InsertEntry(maSoftware);
OUString aStoredDevice = maConfig.maOpenCLDevice;
SvTreeListEntry* pSelectedEntry = NULL;
sc::FormulaGroupInterpreter::fillOpenCLInfo(maPlatformInfo);
for(std::vector<OpenCLPlatformInfo>::iterator it = maPlatformInfo.begin(),
itEnd = maPlatformInfo.end(); it != itEnd; ++it)
{
for(std::vector<OpenCLDeviceInfo>::iterator
itr = it->maDevices.begin(), itrEnd = it->maDevices.end(); itr != itrEnd; ++itr)
{
OUString aDeviceId = it->maVendor + " " + itr->maName + " " + itr->maDriver;
SvTreeListEntry* pEntry = mpOpenclInfoList->InsertEntry(aDeviceId);
if(aDeviceId == aStoredDevice)
{
pSelectedEntry = pEntry;
}
pEntry->SetUserData(&(*itr));
}
}
mpOpenclInfoList->SetUpdateMode(true);
mpOpenclInfoList->GetModel()->GetView(0)->SelectAll(false, false);
if (pSelectedEntry)
mpOpenclInfoList->Select(pSelectedEntry);
else if (aStoredDevice == OPENCL_SOFTWARE_DEVICE_CONFIG_NAME)
mpOpenclInfoList->Select(pSoftwareEntry);
SelectedDeviceChanged();
}
#endif
void ScCalcOptionsDialog::OpenCLAutomaticSelectionChanged()
{
bool bValue = mpBtnAutomaticSelectionTrue->IsChecked();
......
......@@ -53,9 +53,6 @@ public:
private:
void OpenCLAutomaticSelectionChanged();
void SelectedDeviceChanged();
#if HAVE_FEATURE_OPENCL
void fillOpenCLList();
#endif
SvTreeListEntry *createItem(const OUString &rCaption, const OUString& sValue) const;
void setValueAt(size_t nPos, const OUString &rString);
......
......@@ -65,30 +65,6 @@ namespace sdr
{
}
void OverlayTriangle::setSecondPosition(const basegfx::B2DPoint& rNew)
{
if(rNew != maSecondPosition)
{
// remember new value
maSecondPosition = rNew;
// register change (after change)
objectChange();
}
}
void OverlayTriangle::setThirdPosition(const basegfx::B2DPoint& rNew)
{
if(rNew != maThirdPosition)
{
// remember new value
maThirdPosition = rNew;
// register change (after change)
objectChange();
}
}
} // end of namespace overlay
} // end of namespace sdr
......
BigInt::BigInt(unsigned int)
CalcUnoApiTest::CalcUnoApiTest(rtl::OUString const&)
FontCharMap::GetDefaultMap(bool)
OpenGLContext::init(_XDisplay*, unsigned long, unsigned int, unsigned int, int)
OpenGLContext::renderToFile()
......
......@@ -56,7 +56,6 @@ public:
void SetUniform1fv( const OString& rName, GLsizei nCount, GLfloat* aValues );
void SetUniform2fv( const OString& rName, GLsizei nCount, GLfloat* aValues );
void SetUniform1i( const OString& rName, GLint v1 );
void SetUniform1iv( const OString& rName, GLsizei nCount, GLint* aValues );
void SetColor( const OString& rName, const Color& rColor );
void SetColor( const OString& rName, SalColor nColor, sal_uInt8 nTransparency );
void SetColorf( const OString& rName, SalColor nColor, double fTransparency );
......
......@@ -154,12 +154,6 @@ void OpenGLProgram::SetUniform1i( const OString& rName, GLint v1 )
glUniform1i( nUniform, v1 );
}
void OpenGLProgram::SetUniform1iv( const OString& rName, GLsizei nCount, GLint* aValues )
{
GLuint nUniform = GetUniformLocation( rName );
glUniform1iv( nUniform, nCount, aValues );
}
void OpenGLProgram::SetColor( const OString& rName, SalColor nColor, sal_uInt8 nTransparency )
{
GLuint nUniform = GetUniformLocation( rName );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment