summaryrefslogtreecommitdiff
path: root/svx/source/gallery2
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-08-30 23:08:29 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-09-12 14:18:50 +0200
commitc5909e251871e5a38992fade94a489a9546e11b7 (patch)
tree7ef9bd642fb4799fb2a8d6d3529144c95a468dde /svx/source/gallery2
parente76d07c6185512e47947dbe1b6a83fb944b8198f (diff)
Update many ListBox users to its sal_Int32 interface
Change-Id: I6469ac5e2d17406bee9bc434930e2471cb3bae9f
Diffstat (limited to 'svx/source/gallery2')
-rw-r--r--svx/source/gallery2/galbrws1.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx
index 9eaefc72f438..f96dd5834ea6 100644
--- a/svx/source/gallery2/galbrws1.cxx
+++ b/svx/source/gallery2/galbrws1.cxx
@@ -463,8 +463,8 @@ void GalleryBrowser1::Notify( SfxBroadcaster&, const SfxHint& rHint )
case( GalleryHintType::THEME_RENAMED ):
{
- const sal_uInt16 nCurSelectPos = mpThemes->GetSelectEntryPos();
- const sal_uInt16 nRenameEntryPos = mpThemes->GetEntryPos( rGalleryHint.GetThemeName() );
+ const sal_Int32 nCurSelectPos = mpThemes->GetSelectEntryPos();
+ const sal_Int32 nRenameEntryPos = mpThemes->GetEntryPos( rGalleryHint.GetThemeName() );
mpThemes->RemoveEntry( rGalleryHint.GetThemeName() );
ImplInsertThemeEntry( mpGallery->GetThemeInfo( rGalleryHint.GetStringData() ) );
@@ -485,8 +485,8 @@ void GalleryBrowser1::Notify( SfxBroadcaster&, const SfxHint& rHint )
case( GalleryHintType::CLOSE_THEME ):
{
- const sal_uInt16 nCurSelectPos = mpThemes->GetSelectEntryPos();
- const sal_uInt16 nCloseEntryPos = mpThemes->GetEntryPos( rGalleryHint.GetThemeName() );
+ const sal_Int32 nCurSelectPos = mpThemes->GetSelectEntryPos();
+ const sal_Int32 nCloseEntryPos = mpThemes->GetEntryPos( rGalleryHint.GetThemeName() );
if( nCurSelectPos == nCloseEntryPos )
{