Kaydet (Commit) 665bad85 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:constantfunction: tools

Change-Id: I3a29d90c60157dceb1da2225f4517ef3d193815e
üst 3f18d628
......@@ -181,7 +181,6 @@ protected:
void PostSetObjectTrans();
void PostSetOrientation();
void PostSetProjection();
void PostSetViewport();
virtual void DeviceRectangleChange();
};
......
......@@ -1046,7 +1046,7 @@ public:
OUString CutExtension(DecodeMechanism eMechanism = DECODE_TO_IURI,
rtl_TextEncoding eCharset = RTL_TEXTENCODING_UTF8);
bool IsCaseSensitive() const;
static bool IsCaseSensitive() { return true; }
private:
......
......@@ -336,7 +336,7 @@ void INetURLHistory::NormalizeUrl_Impl (INetURLObject &rUrl)
switch (rUrl.GetProtocol())
{
case INET_PROT_FILE:
if (!rUrl.IsCaseSensitive())
if (!INetURLObject::IsCaseSensitive())
{
OUString aPath (rUrl.GetURLPath(INetURLObject::NO_DECODE).toAsciiLowerCase());
rUrl.SetURLPath (aPath, INetURLObject::NOT_CANONIC);
......
......@@ -5325,9 +5325,4 @@ OUString INetURLObject::CutExtension(DecodeMechanism eMechanism,
? aTheExtension : OUString();
}
bool INetURLObject::IsCaseSensitive() const
{
return true;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -326,9 +326,6 @@ void B3dTransformationSet::CalcViewport()
maScale.setX((maSetBound.GetWidth() - 1L) / 2.0);
maScale.setY((maSetBound.GetHeight() - 1L) / -2.0);
maScale.setZ(ZBUFFER_DEPTH_RANGE / 2.0);
// React to change of viewport
PostSetViewport();
}
void B3dTransformationSet::SetRatio(double fNew)
......@@ -390,10 +387,6 @@ void B3dTransformationSet::SetViewportRectangle(Rectangle& rRect, Rectangle& rVi
}
}
void B3dTransformationSet::PostSetViewport()
{
}
// direct access to various transformations
const basegfx::B3DPoint B3dTransformationSet::WorldToEyeCoor(const basegfx::B3DPoint& rVec)
......
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