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