diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-06-19 15:13:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-19 15:18:30 +0100 |
commit | d3c1c8d7587239abcf5448ee143a61fe54b01422 (patch) | |
tree | 205d8ca482dbb480bf773da6235ee134b68831ce /svx | |
parent | 41efa1535827b3dfef66ed4ce6c20e85081fe060 (diff) |
expand scheme to share sizes for paragraph dialog preview widgets
Change-Id: Id1ded6828468ff956c83eb57f1da62fd80761b5d
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/paraprev.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/dialog/paraprev.cxx b/svx/source/dialog/paraprev.cxx index 255f42b6523e..8de4a379502c 100644 --- a/svx/source/dialog/paraprev.cxx +++ b/svx/source/dialog/paraprev.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sfx2/dialoghelper.hxx> #include <svx/paraprev.hxx> #include <vcl/builder.hxx> @@ -75,7 +76,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSvxParaPrevWindow(Window *p Size SvxParaPrevWindow::GetOptimalSize() const { - return LogicToPixel(Size(68 , 112), MAP_APPFONT); + return getParagraphPreviewOptimalSize(this); } // ----------------------------------------------------------------------- |