summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-21 16:17:45 +0200
committerNoel Grandin <noel@peralex.com>2015-08-25 08:39:03 +0200
commita9ea1295a668feca4bfb9b2a53a92890177b5371 (patch)
treef71c38420643436176bd17e9e78a38ebde1f4b99 /starmath
parent51ea8aeca8c3dc081c3ffcca0dd75c4bad48d992 (diff)
make eChildAlignment private in SfxChildWindow
Change-Id: I68a4c3324736e111a2c88e3edb9df506c33042b7
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/ElementsDockingWindow.cxx2
-rw-r--r--starmath/source/view.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index 62a90930dd3d..3ca87b2a5a4e 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -769,7 +769,7 @@ SmElementsDockingWindowWrapper::SmElementsDockingWindowWrapper(
pDialog->SetPosSizePixel(Point(0, 0), Size(300, 0));
pDialog->Show();
- eChildAlignment = SfxChildAlignment::LEFT;
+ SetAlignment(SfxChildAlignment::LEFT);
pDialog->Initialize( pInfo );
}
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 9aaf0ae1ea18..3c21930fd898 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -892,7 +892,7 @@ SmCmdBoxWrapper::SmCmdBoxWrapper(vcl::Window *pParentWindow, sal_uInt16 nId,
pWindow.reset(VclPtr<SmCmdBoxWindow>::Create(pBindings, this, pParentWindow));
// make window docked to the bottom initially (after first start)
- eChildAlignment = SfxChildAlignment::BOTTOM;
+ SetAlignment(SfxChildAlignment::BOTTOM);
static_cast<SfxDockingWindow *>(pWindow.get())->Initialize(pInfo);
}