diff options
Diffstat (limited to 'svx/source/gallery2/galobj.cxx')
-rw-r--r-- | svx/source/gallery2/galobj.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/gallery2/galobj.cxx b/svx/source/gallery2/galobj.cxx index 9bfa16ba489a..f0db928d3824 100644 --- a/svx/source/gallery2/galobj.cxx +++ b/svx/source/gallery2/galobj.cxx @@ -32,6 +32,7 @@ #include <sfx2/docfac.hxx> #include <comphelper/classids.hxx> +#include <comphelper/string.hxx> #include <unotools/pathoptions.hxx> #include <tools/rcid.h> @@ -196,7 +197,7 @@ const String SgaObject::GetTitle() const String aReturnValue( aTitle ); if ( !getenv( "GALLERY_SHOW_PRIVATE_TITLE" ) ) { - if ( aReturnValue.GetTokenCount( ':' ) == 3 ) + if ( comphelper::string::getTokenCount(aReturnValue, ':') == 3 ) { String aPrivateInd ( aReturnValue.GetToken( 0, ':' ) ); String aResourceName( aReturnValue.GetToken( 1, ':' ) ); |