summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-14 20:35:20 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-14 21:28:05 +0100
commitd8bbe0ede2d5f07a92772dfa04ace97751128005 (patch)
tree8b14800071f981d569ab89981d82a7128d2fa8af /svx
parent4ebeb52a234d4e5c8de0de4b02bf3def5351d735 (diff)
EndDialog takes long nResult, not bool
Change-Id: Ic6283b7a71a5d1c539ae99155f448e34e877080a
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/fontworkgallery.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx
index 01b34f923724..2ec5104c06b7 100644
--- a/svx/source/tbxctrls/fontworkgallery.cxx
+++ b/svx/source/tbxctrls/fontworkgallery.cxx
@@ -247,7 +247,7 @@ void FontWorkGalleryDialog::insertSelectedFontwork()
IMPL_LINK_NOARG(FontWorkGalleryDialog, ClickOKHdl)
{
insertSelectedFontwork();
- EndDialog( true );
+ EndDialog( RET_OK );
return 0;
}
@@ -256,7 +256,7 @@ IMPL_LINK_NOARG(FontWorkGalleryDialog, ClickOKHdl)
IMPL_LINK_NOARG(FontWorkGalleryDialog, DoubleClickFavoriteHdl)
{
insertSelectedFontwork();
- EndDialog( true );
+ EndDialog( RET_OK );
return( 0L );
}