summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/func/fusel.cxx2
-rw-r--r--svx/source/diagram/IDiagramHelper.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/func/fusel.cxx b/sd/source/ui/func/fusel.cxx
index bd82a7a97da0..a525f3bfce89 100644
--- a/sd/source/ui/func/fusel.cxx
+++ b/sd/source/ui/func/fusel.cxx
@@ -705,7 +705,7 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt)
pSingleObj = mpView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj();
}
- // Check for klick on svx::diagram::DiagramFrameHdl
+ // Check for click on svx::diagram::DiagramFrameHdl
// - if we hit a SdrHdl
// - if it was not moved
// - if single object is selected
diff --git a/svx/source/diagram/IDiagramHelper.cxx b/svx/source/diagram/IDiagramHelper.cxx
index 25acb3719a1c..b701a5930917 100644
--- a/svx/source/diagram/IDiagramHelper.cxx
+++ b/svx/source/diagram/IDiagramHelper.cxx
@@ -116,7 +116,7 @@ class OverlayDiagramPrimitive final : public drawinglayer::primitive2d::Discrete
private:
basegfx::B2DHomMatrix maTransformation; // object dimensions
double mfDiscreteDistance; // distance from object in pixels
- double mfDiscreteGap; // gap/widh of visualization in pixels
+ double mfDiscreteGap; // gap/width of visualization in pixels
Color maColor; // base color (made lighter/darker as needed, should be system selection color)
virtual void create2DDecomposition(
@@ -153,7 +153,7 @@ void OverlayDiagramPrimitive::create2DDecomposition(
// initially try to create lap
if(bCreateLap)
{
- // take a ressource text (for now existing one that fits)
+ // take a resource text (for now existing one that fits)
const OUString aName(SvxResId(RID_STR_DATANAV_EDIT_ELEMENT));
drawinglayer::primitive2d::TextLayouterDevice aTextLayouter;
basegfx::B2DPolyPolygonVector aTarget;